Forum Discussion
SmartBear_Suppo
Alumni
12 years agoSuppose you have the scenario described in our Data-driven tests:
http://www.soapui.org/Data-Driven-Testi ... tests.html
In that case, the a simple SOAP request looks like this:
You can see the properties that are read from the DataSource TestStep in the format ${property-name}. This will be replaced with the actual value received from the data source at run-time.
You could use one of those properties in your URI as well, for example:
You can use properties like this virtually everywhere in SoapUI!
Does this help?
Renato Athaydes
SmartBear Software
http://www.soapui.org/Data-Driven-Testi ... tests.html
In that case, the a simple SOAP request looks like this:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webserviceX.NET/">
<soapenv:Header/>
<soapenv:Body>
<web:ConversionRate>
<web:FromCurrency>${DataSource#From}</web:FromCurrency>
<web:ToCurrency>${DataSource#To}</web:ToCurrency>
</web:ConversionRate>
</soapenv:Body>
</soapenv:Envelope>
You can see the properties that are read from the DataSource TestStep in the format ${property-name}. This will be replaced with the actual value received from the data source at run-time.
You could use one of those properties in your URI as well, for example:
http://localhost:8080/${DataSource#From}
You can use properties like this virtually everywhere in SoapUI!
Does this help?
Renato Athaydes
SmartBear Software