You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sebb <se...@gmail.com> on 2008/08/15 22:31:23 UTC

Re: Can I use the output from a request as input to another?

On 29/07/2008, JimGVM <gr...@yahoo.com> wrote:
>
>  Hi all,
>
>  I am new to Jmeter and was wondering if I could use the output from a SOAP
>  request as an input variable in another request.  The input field for the
>  request is dependent on the output.  I cannot just read random variable date
>  from a file.
>

Yes - use the Regular Expression Extractor (add it as a child of the
Soap sampler) to extract the variable information and store it in a
variable, e.g. MYVAR

Then use the variable in the next request, i.e. use ${MYVAR} instead
of the fixed text.

> --
>  View this message in context: http://www.nabble.com/Can-I-use-the-output-from-a-request-as-input-to-another--tp18715036p18715036.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org