Hi All,

I have encountered an issue when I use SOAP XML-RPC sampler where I read
the soap request from a file. I am using the 'CSV data set config' to read
data from from a csv file and I want to map those values in soap request.
When I give the soap request inside the text box given in the sampler, this
mapping works perfectly, but when  the same request is stored as a file and
the file is given, then it does not replace the variables with the data in
csv. It just sends the request as it is in the file (as follows)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:typ="http//sample.com/reservation/guest/types">
   <soapenv:Header/>
   <soapenv:Body>
      <typ:addGuest>
         <typ:name>${name}</typ:name>
         <typ:address>${address}</typ:address>
         <typ:age>${age}</typ:age>
      </typ:addGuest>
   </soapenv:Body>
</soapenv:Envelope>

Have anyone come across this issue before. It would be great if some one
can suggest me a solution.
Jmeter Version : 2.5.1
Java Version : 1.6.27


Thanks in advance,
Nirodha

-- 
*Nirodha Gallage*
Software Engineer, QA.
WSO2 Inc.: http://wso2.com/
Email: [email protected]   Mobile: +94716429078

Reply via email to