You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initially I thought you were after something like #227 but I see that you want the field to be present but have a a different value. I assume you don't know the new value, just that it is different from hello.
Probably the best way to do this is with a negative assertion in a regex:
response_json_paths:
$.name: /^(?!hello)/
That will need some tweaking if you're expecting the new data to be a substring that might include hello.
Is is currently possible to ensure that a field in the response is not equal to a value?
I know I can do
to check for equality, but is there a way I can ensure the opposite (
$.name
is not equal, or different from,hello
?)The text was updated successfully, but these errors were encountered: