Sorry, we don't support your browser.  Install a modern browser

Support jsonpath queries for more granular response checks#1464

C

APIs commonly return a response in json format. Testing the response body as plain text using keyword assertions is not very reliable. It would be better if you could add support for using e.g. jsonpath expressions to query the parsed response string as actual json, so that the presence or value of certain field(s) can be tested. This allows for more granular and reliable checks.

8 months ago
S

They added JSONPath with API checks, but it can’t do queries like whatever_array[?@.foo=="bar"], which unfortunately limits its usefulness.

3 months ago

Same issue, we need to support. Need to have support for JSONPath filters like $.components[?(@.name==’foo’)]. as currently we see “no attribute” for those expressions

3 months ago
Changed the status to
Planned
3 months ago
Changed the status to
Idea
3 months ago