Forum Discussion
CARQUESTTechnol
14 years agoContributor
You can delete your property transfer step and use property expansion.
Since you didn't show your reponse to request 1 I will have to make one up.
Place this property expansion directly in your GetWeather request:
${GetCitiesByCountry#response#//ns1:Item[1]/n1:City[1]/text()}
Change this Xpath to the response that gets the cityname: //ns1:Item[1]/n1:City[1]/text()
Here is more details on property expansion:
http://www.soapui.org/Scripting-Propert ... nsion.html
Since you didn't show your reponse to request 1 I will have to make one up.
Place this property expansion directly in your GetWeather request:
${GetCitiesByCountry#response#//ns1:Item[1]/n1:City[1]/text()}
Change this Xpath to the response that gets the cityname: //ns1:Item[1]/n1:City[1]/text()
Here is more details on property expansion:
http://www.soapui.org/Scripting-Propert ... nsion.html
Related Content
- 5 years ago
- 2 years ago