AnsweredAssumed Answered

How to use the Ensure Result Equals Json Assertion?

Question asked by SaikiranGarapati on Mar 14, 2019
Latest reply on Apr 4, 2019 by Koustubh.Warty

How to use the Ensure Result Equals Json Assertion?

 

I have tried using this in my design but i found some difficulties.

   1. Is it mandatory to use Load expected JSON? Actually i tried using from property option and gave the JSON path value and result of particular key value on the Expected value section. It is working but when i close the test cases reopen the test case , From property option getting removed and from content is appearing.

2. IF i chose from content option, how the DevTest will know what is the expected response if i do not give any response as i have used property earlier?

 

Please help me to know what was happened and how to resolve this?

 

Thanks in Advance.

 

Saikiran Garapati

Outcomes