Adding status matcher

patch-1
sandeep 2021-04-14 01:37:04 +05:30
parent 25023affbe
commit 3eea755de1
3 changed files with 11 additions and 0 deletions

View File

@ -27,6 +27,7 @@ requests:
] ]
} }
} }
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: status - type: status

View File

@ -22,8 +22,13 @@ requests:
"$func": "var_dump" "$func": "var_dump"
} }
} }
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: status
status:
- 200
- type: regex - type: regex
part: body part: body
regex: regex:

View File

@ -22,8 +22,13 @@ requests:
"$func": "var_dump" "$func": "var_dump"
} }
} }
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: status
status:
- 200
- type: regex - type: regex
part: body part: body
regex: regex: