commit
a26efeaccd
|
@ -34,25 +34,18 @@ http:
|
||||||
|
|
||||||
matchers-condition: and
|
matchers-condition: and
|
||||||
matchers:
|
matchers:
|
||||||
- type: word
|
- type: dsl
|
||||||
words:
|
dsl:
|
||||||
- '"users":'
|
- 'contains(header, "application/json")'
|
||||||
- '"total":'
|
- 'contains_any(body, "\"users\":","\"usuario\":")'
|
||||||
- '"header":'
|
- 'contains_all(body, "\"total\":", "\"header\":")'
|
||||||
|
- 'status_code == 200 || status_code == 404'
|
||||||
condition: and
|
condition: and
|
||||||
|
|
||||||
- type: word
|
|
||||||
part: header
|
|
||||||
words:
|
|
||||||
- 'application/json'
|
|
||||||
|
|
||||||
- type: word
|
- type: word
|
||||||
part: body
|
part: body
|
||||||
negative: true
|
|
||||||
words:
|
words:
|
||||||
- "Showing 0 of 0 matching users"
|
- 'total":0'
|
||||||
|
negative: true
|
||||||
|
|
||||||
- type: status
|
|
||||||
status:
|
|
||||||
- 200
|
|
||||||
# digest: 490a0046304402200dac4b173635c33be17a18d63dcf3e04950e7031a22183f31a3287b2f333969502200fbfe5713faae01eb5d1c45b85c879c16ee54ccc6aa8fe722551a0d8f343f00d:922c64590222798bb761d5b6d8e72950
|
# digest: 490a0046304402200dac4b173635c33be17a18d63dcf3e04950e7031a22183f31a3287b2f333969502200fbfe5713faae01eb5d1c45b85c879c16ee54ccc6aa8fe722551a0d8f343f00d:922c64590222798bb761d5b6d8e72950
|
Loading…
Reference in New Issue