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