REST Request/Rsponse - JSON Path Match with Body
I have a question about the JSON Body and the JSON Path in the Query Match
I would like to match the parameters in the Body with the JSON Path option in the Dispatch Style.
But i think i've made something wrong in the Query side and in the Expected Value side.
Can someone help me to find the good syntax for my Dispatch Style ? I didn't find anything about that on the Community Questions.
Check out the documentation we have on Query Match dispatch strategies here if you haven't already. There's an example that can help you format what you need.
But in the example you provided it looks like you're expected values is the cause for your Query Match not working. The expected result for $['test2']['0'] should be "Test2, Test<someasciicharacter>2" without the quotes.
Are you trying to create a rule that checks for each condition?
Thanks for your reply.
Yes i want to create a rule for each condition.
I’ve tried this rule : $[‘test’][0,1,2]['test2']['0'][test3_test3_test3] but it’s dosen’t work.