patch-1
mastercho 2024-03-16 19:42:53 +02:00
parent b32a1f9d7f
commit 8413c702c5
2 changed files with 16 additions and 16 deletions

View File

@ -51,7 +51,7 @@ http:
matchers: matchers:
- type: dsl - type: dsl
dsl: dsl:
- 'contains(body_1, "Failed to upload file")' - 'contains(body_1, "Failed to upload file")'
- 'status_code_2 == 200' - 'status_code_2 == 200'
- 'contains(body_2, "uploaded_filename\":\"{{filename}}.jpg")' - 'contains(body_2, "uploaded_filename\":\"{{filename}}.jpg")'
condition: and condition: and

View File

@ -34,20 +34,20 @@ http:
- type: dsl - type: dsl
name: Blind name: Blind
dsl: dsl:
- 'contains(body_1, "text/x-magento-init")' - 'contains(body_1, "text/x-magento-init")'
- 'status_code_2 == 200' - 'status_code_2 == 200'
- 'status_code_3 == 400' - 'status_code_3 == 400'
- 'contains(content_type_2, "application/json")' - 'contains(content_type_2, "application/json")'
- 'contains(content_type_3, "application/json")' - 'contains(content_type_3, "application/json")'
- 'len(body_2) == 2' - 'len(body_2) == 2'
- 'len(body_3) == 2' - 'len(body_3) == 2'
condition: and condition: and
- type: dsl - type: dsl
name: Time name: Time
dsl: dsl:
- 'contains(body_1, "text/x-magento-init")' - 'contains(body_1, "text/x-magento-init")'
- 'duration_4>=6' - 'duration_4>=6'
- 'contains(content_type_4, "application/json")' - 'contains(content_type_4, "application/json")'
- 'len(body_4) == 2' - 'len(body_4) == 2'
condition: and condition: and