Forum Discussion

vxramad's avatar
vxramad
Contributor
14 years ago

Parameterizing SOAP request



I am trying to do a load test on webservices. But my problem is that i am not able to parameterize the SOAP request .

Here is the sample text (In the TEXT TAB of request)  that was recorded in the webservice request and there are no data selectors available in the SOAP TAB.



Please help on how to extract the data from the webservice request text and parameterize the same (Like the orderid or authorization)



<?xml version="1.0" encoding="utf-8"?><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><ORDER xmlns="http://Services"><request  UserID="test" Password="password"

Authorization="ABC" Reason="Because" OverrideWarnings="true">

<ORDERID>1107300</ORDERID><DateTime>0001-01-01T00:00:00</DateTime><Visibility>false</Visibility>

<Primary>false</Primary><ExpectedReturnDate>0001-01-01</ExpectedReturnDate>

<Quantity>0</Quantity><IsLost>false</IsLost></Dosimeter></request></ORDER></soap:Body></soap:Envelope>