Forum Discussion
- AravindanROccasional Contributor
Found the solution:
${Requeststepname#RawRequest#$.test_request.name}
Related Content
Recent Discussions
- 18 days ago
Request:
{"test_request":{
"name":"test-name"
}}
Response:
{"test_response":{
"name":"test-name",
"status":"created"
}}
I want to assert the name value in response matches to the request.
In Json path expression, $.test_response.name should match to ${Requeststepname#RawRequest#..test_request.name}
I am not using the right syntax here.
Please help me withe right syntax in the expected results
Found the solution:
${Requeststepname#RawRequest#$.test_request.name}
Found the solution:
${Requeststepname#RawRequest#$.test_request.name}