yaml fix
parent
b32a1f9d7f
commit
8413c702c5
|
@ -45,13 +45,13 @@ http:
|
|||
Content-Disposition: form-data; name="file"; filename="{{filename}}.jpg"
|
||||
Content-Type: text/html
|
||||
|
||||
{{randstr}}
|
||||
{{randstr}}
|
||||
--a54906fe12c504cb01ca836d062f82fa--
|
||||
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'contains(body_1, "Failed to upload file")'
|
||||
- 'status_code_2 == 200'
|
||||
- 'contains(body_2, "uploaded_filename\":\"{{filename}}.jpg")'
|
||||
- 'contains(body_1, "Failed to upload file")'
|
||||
- 'status_code_2 == 200'
|
||||
- 'contains(body_2, "uploaded_filename\":\"{{filename}}.jpg")'
|
||||
condition: and
|
|
@ -34,20 +34,20 @@ http:
|
|||
- type: dsl
|
||||
name: Blind
|
||||
dsl:
|
||||
- 'contains(body_1, "text/x-magento-init")'
|
||||
- 'status_code_2 == 200'
|
||||
- 'status_code_3 == 400'
|
||||
- 'contains(content_type_2, "application/json")'
|
||||
- 'contains(content_type_3, "application/json")'
|
||||
- 'len(body_2) == 2'
|
||||
- 'len(body_3) == 2'
|
||||
- 'contains(body_1, "text/x-magento-init")'
|
||||
- 'status_code_2 == 200'
|
||||
- 'status_code_3 == 400'
|
||||
- 'contains(content_type_2, "application/json")'
|
||||
- 'contains(content_type_3, "application/json")'
|
||||
- 'len(body_2) == 2'
|
||||
- 'len(body_3) == 2'
|
||||
condition: and
|
||||
|
||||
- type: dsl
|
||||
name: Time
|
||||
dsl:
|
||||
- 'contains(body_1, "text/x-magento-init")'
|
||||
- 'duration_4>=6'
|
||||
- 'contains(content_type_4, "application/json")'
|
||||
- 'len(body_4) == 2'
|
||||
condition: and
|
||||
- 'contains(body_1, "text/x-magento-init")'
|
||||
- 'duration_4>=6'
|
||||
- 'contains(content_type_4, "application/json")'
|
||||
- 'len(body_4) == 2'
|
||||
condition: and
|
Loading…
Reference in New Issue