Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 21061

Property transfer - transfer only part of the response

$
0
0

Hi,

I am new to SoapUI webservices testing and I have problem with property transfer.

I am using http://www.webservicex.net/country.asmx?WSDL

 

I have created test case with 3 steps:

1. step is request GetCountryByCountryCode

2. step is property transfer

3. step is request: GetCurrencyByCountry

 

I want to use response of request 1 as input in request 2 (GetCurrencyByCountry) but the problem is that the response of the Req1 is the table like this:

 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetCountryByCountryCodeResponse xmlns="http://www.webserviceX.NET">
<GetCountryByCountryCodeResult><![CDATA[<NewDataSet>
<Table>
<countrycode>uk</countrycode>
<name>United Kingdom</name>
</Table>
<Table>
<countrycode>uk</countrycode>
<name>United Kingdom</name>
</Table>
</NewDataSet>]]></GetCountryByCountryCodeResult>
</GetCountryByCountryCodeResponse>
</soap:Body>
</soap:Envelope>

 

And I need to use/transfer only node <name>United Kingdom</name> to the second request input.

 

How can I define this in Property transfer source/target XPath?

 

Thank you.


Viewing all articles
Browse latest Browse all 21061

Trending Articles