Forum Discussion

AravindanR's avatar
AravindanR
Occasional Contributor
8 years ago

In JsonPath assertion, how to refer the value in Json request in the expected result?

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 re...
  • AravindanR's avatar
    8 years ago

    Found the solution:

    ${Requeststepname#RawRequest#$.test_request.name}