You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by subinp <su...@gmail.com> on 2011/03/20 12:46:38 UTC

Passing output from one HTTP sampler to another

Hi All, 

I am newbie to JMeter.

I have two HTTP samplers in one thread group. The output for my first HTTP
sampler is an XML. I want extract one field from the response and use it as
a parameter for the HTTP request of the second sampler. Has some body done
this before. Please help. 

Regards
Subin 

--
View this message in context: http://jmeter.512774.n5.nabble.com/Passing-output-from-one-HTTP-sampler-to-another-tp4132659p4132659.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


Re: Passing output from one HTTP sampler to another

Posted by sebb <se...@gmail.com>.
On 20 March 2011 11:46, subinp <su...@gmail.com> wrote:
> Hi All,
>
> I am newbie to JMeter.
>
> I have two HTTP samplers in one thread group. The output for my first HTTP
> sampler is an XML. I want extract one field from the response and use it as
> a parameter for the HTTP request of the second sampler. Has some body done
> this before. Please help.

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#XPath_Extractor

http://jakarta.apache.org/jmeter/usermanual/functions.html

http://wiki.apache.org/jakarta-jmeter/JMeterFAQ#How_do_I_make_parameters_dynamic.2C_reacting_to_the_unique_server_responses_of_each_test_run.3F

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


Re: Passing output from one HTTP sampler to another

Posted by sandeep bhosale <sa...@gmail.com>.
Try using the regular expression extractor.

Thanks
Sandeep

On Sun, Mar 20, 2011 at 11:46 AM, subinp <su...@gmail.com> wrote:

> Hi All,
>
> I am newbie to JMeter.
>
> I have two HTTP samplers in one thread group. The output for my first HTTP
> sampler is an XML. I want extract one field from the response and use it as
> a parameter for the HTTP request of the second sampler. Has some body done
> this before. Please help.
>
> Regards
> Subin
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Passing-output-from-one-HTTP-sampler-to-another-tp4132659p4132659.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
>
>