Use some node of an Rest API Json response as input of another Rest API Test
Hi guys,
I have a REST API (document) that give me back all the document ID present in the system, then I have another REST API (very similar to the previous, document\document_ID) that give me all the information regarding a specific document.
Via SOAP UI I'm trying to call the first REST API, save the value of the node document_id somewhere and give this as input of a different test case for the other REST API document/Document_ID.
So far I couldn't get it, can someone help me?
Is there any way to do it via UI or do I need create a functionality? If so how?
I'm really junior of SOAP UI.
Thanks so much
Carlo
One option is adding a property transfer test step with XPath or JSONPath language depending on the response you are working with.
https://www.soapui.org/docs/functional-testing/properties/transferring-properties.html