Check the response body exactly matches some value
1link# TODO
Check the property at the specified path matches an exact value:
1link - name: get users
2link request:
3link path: /users
4link method: get
5link response:
6link json_data:
7link - path: $.[0].firstName
8link value: john
Check for a regex match at the specified path:
1link - name: get users
2link request:
3link path: /users
4link method: get
5link response:
6link json_data:
7link - path: $.[0].zipcode
8link value: !!js/regex /^\d{5}$/
See also: Example: Validation of JSON Data