Thank you Sebb. It worked! That was exactly what I needed. It was a great
help, appreciate it.


Joe



On Tue, Apr 1, 2008 at 8:40 AM, sebb <[EMAIL PROTECTED]> wrote:

> Or in this case StringFromFile might be simpler, just put
>
> <data>${__StringFromFile(filename)}</data>
>
> In either case, each line is a data item.
>
> On 01/04/2008, Steve Kapinos <[EMAIL PROTECTED]> wrote:
> > Use a variable in the soap data part of the element surrounded by your
> >  other relevant information.  Load that variable up from the file.. Say
> >  using CSV data set elements.
> >
> >
> >  -----Original Message-----
> >  From: Joe Smithian [mailto:[EMAIL PROTECTED]
> >  Sent: Tuesday, April 01, 2008 4:58 AM
> >  To: JMeter Users List
> >  Subject: Re: How to load data from a file to SOAP Requests in JMeter
> >
> >  Yes, I can load the whole SOAP request from a file but what I want is
> to
> >  load only one 'Element'  of the SOAP request, which is my 'data'  to be
> >  included in the SOAP Request, from a file. I can't load the whole SOAP
> >  request from file because of the dependency among various SOAP request
> >  and response messages in my test plan. In the following example, I want
> >  to load only ${myData} from a file:
> >  <soapenv>
> >   <body>
> >   <data>${myData} </data>
> >  </body>
> >  </soapenv>
> >
> >  I hope that makes it clear what I want.
> >
> >  Joe
> >
> >
> >  On Sat, Mar 29, 2008 at 7:04 AM, sebb <[EMAIL PROTECTED]> wrote:
> >
> >  > Both SOAP samplers already allow data to be read from files.
> >  >
> >  > Why can't you use that?
> >  >
> >  > On 26/03/2008, Joe Smithian <[EMAIL PROTECTED]> wrote:
> >  > > Hi all,
> >  > >
> >  > >  I have a JMeter test plan for SOAP operations, my data is
> >  > > hard-coded in
> >  > the
> >  > >  SOAP request in the Sampler. This works fine, but I need a way to
> >  > > load
> >  > data
> >  > >  from files and put them in the SOAP Sampler request. Any idea how
> >  > > we
> >  > can do
> >  > >  it?
> >  > >
> >  > >  I'd appreciate your help.
> >  > >
> >  > >
> >  > >  Joe
> >  > >
> >  >
> >  > ---------------------------------------------------------------------
> >  > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  > For additional commands, e-mail: [EMAIL PROTECTED]
> >  >
> >  >
> >
> >
> >  ---------------------------------------------------------------------
> >  To unsubscribe, e-mail: [EMAIL PROTECTED]
> >  For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to