In dev test, for automating web services, consider I have 2 test cases. When I run the first service I get a response with one response value (example: transactionReferenceNumber="12345"). I need to pass this value as an input parameter for my request od my test case 2. Can you please help me with this?
What is the process if response in Json format?
If you are calling both webservices in a single test case(.tst file), then you can use filters Filters - DevTest Solutions - 10.2 - CA Technologies Documentation
if they are different test cases (.tst files), then refer this https://communities.ca.com/message/241721185?commentID=241721185#comment-241721185
you can use JSON Path filter to extract the value (example: transactionReferenceNumber="12345") from JSON response and use that property in next steps.
JSON Path Filter - DevTest Solutions - 10.2 - CA Technologies Documentation
I m new to this CA dev test. I want to store some response values somewhere and use that values in another test case. Can you explain me in detail?I know to extract the value. But dont know how to use in next cases. Can you please explain me?
I am able to filter the values and store it in some variable. But in another request how to pass that? Can you explain me this please? Please see attached screen shot for reference