Replies: 1 comment
-
Hi @antback, no, it's not possible with the built-in assertion engine. I think that the easiest way to do that is to put the json into a variable or file, then execute a step with the executor 'exec' to check the value with jq or something else. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
I'm trying to test an API that returns and array with different objects like this:
You can see that the attributes of the first object are different from the second one.
Is there any way of asserting only if something is present? Making conditional asserts?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions