commit
348e91ec2f
|
@ -19,16 +19,19 @@ info:
|
|||
metadata:
|
||||
max-request: 2
|
||||
|
||||
variables:
|
||||
rand1: '{{rand_int(11111111, 99999999)}}'
|
||||
|
||||
http:
|
||||
- raw:
|
||||
- |
|
||||
PUT /fileserver/test.txt HTTP/1.1
|
||||
PUT /fileserver/{{randstr}}.txt HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
|
||||
{{randstr}}
|
||||
{{rand1}}
|
||||
|
||||
- |
|
||||
GET /fileserver/test.txt HTTP/1.1
|
||||
GET /fileserver/{{randstr}}.txt HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
|
||||
req-condition: true
|
||||
|
@ -37,7 +40,5 @@ http:
|
|||
dsl:
|
||||
- "status_code_1==204"
|
||||
- "status_code_2==200"
|
||||
- "contains((body_2), '{{randstr}}')"
|
||||
- "contains((body_2), '{{rand1}}')"
|
||||
condition: and
|
||||
|
||||
# Enhanced by mp on 2022/04/22
|
||||
|
|
Loading…
Reference in New Issue