Hi Philippe,

Thanks for the response. I need to read the request from a file since the
request is dynamically selected. Have to figure out some other way to map
those values in the request.

Regards,
Nirodha


On Thu, Jan 26, 2012 at 3:53 PM, Philippe Mouawad <
[email protected]> wrote:

> Hello,
> Variable replacement is not supported in JMeter when content is loaded from
> a file.
> If you use the TextArea then it will work
>
> It is an enhancement that may be implemented one day.
>
> Regards
> Philippe
>
> On Thu, Jan 26, 2012 at 11:18 AM, Nirodha Pramod <[email protected]> wrote:
>
> > 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
> >
>
>
>
> --
> Cordialement.
> Philippe Mouawad.
>



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

Reply via email to