You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by The_S <st...@de.soliver.com> on 2009/10/14 11:06:38 UTC
Parsing a Sampler Result
Hi,
i have a WebService Sampler. How could I parse the result and set it as
parameter for an other sampler?
Example:
Sampler one returns
<value>432</value>
I like to get the 432 (regular expression?) and set it as parameter for
sampler two:
<ws>
<request>&{resultFromSamplerOne}</request>
</ws>
thanks in advance!
--
View this message in context: http://www.nabble.com/Parsing-a-Sampler-Result-tp25887669p25887669.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: Parsing a Sampler Result
Posted by The_S <st...@de.soliver.com>.
It works, thank you!
--
View this message in context: http://www.nabble.com/Parsing-a-Sampler-Result-tp25887669p25889894.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: Parsing a Sampler Result
Posted by sebb <se...@gmail.com>.
On 14/10/2009, The_S <st...@de.soliver.com> wrote:
>
> Hi,
>
> i have a WebService Sampler. How could I parse the result and set it as
> parameter for an other sampler?
>
> Example:
>
> Sampler one returns
>
> <value>432</value>
>
> I like to get the 432 (regular expression?) and set it as parameter for
> sampler two:
>
> <ws>
> <request>&{resultFromSamplerOne}</request>
> </ws>
>
> thanks in advance!
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor
Regular Expression: <value>(\d+)</value>
Template: $1$
> --
> View this message in context: http://www.nabble.com/Parsing-a-Sampler-Result-tp25887669p25887669.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