Forum Discussion
SmartBear_Suppo
Alumni
12 years agoFor chaining items, in Pro we have point and click functionality that will define XPATH for you: http://www.soapui.org/Working-with-soap ... er-request
If you are working with JSON, then XPATH may be out of question and you may need to use:
1. JsonSlurper in Groovy to parse JSON - http://www.robert-nemet.com/2012/08/jso ... oapui.html
2. Use Groovy to set parsed JSON to a property: http://www.soapui.org/Scripting-Propert ... properties
3. Use Property Expansion to get the property value in your next request: http://www.soapui.org/Scripting-Propert ... nsion.html
Thanks,
Michael Giller
SmartBear Software
If you are working with JSON, then XPATH may be out of question and you may need to use:
1. JsonSlurper in Groovy to parse JSON - http://www.robert-nemet.com/2012/08/jso ... oapui.html
2. Use Groovy to set parsed JSON to a property: http://www.soapui.org/Scripting-Propert ... properties
3. Use Property Expansion to get the property value in your next request: http://www.soapui.org/Scripting-Propert ... nsion.html
Thanks,
Michael Giller
SmartBear Software