You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by black gaff <jo...@gmail.com> on 2010/10/15 22:18:11 UTC
Re: can I use a test result as an input in another test?
Peter wrote:
>
> my question is can I pass the value I got for requestId to another test?
> so here is the scenario
>
> test1 - call webserver -> get the value of 'requestId'
> test2 - use the value of requestId i got in test1 and make a different
> webservice call
>
>
If Test1 and Test2 are in the same THREADGROUP, this is easy.
You store the scraped requestId as a variable and then reference it in
test2. You can use the post-processor "regular expression extractor" to
scrape the value from test1 and store it as "requestId". In test2, simply
reference it as ${requestId}
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor
--
View this message in context: http://jmeter.512774.n5.nabble.com/can-I-use-a-test-result-as-an-input-in-another-test-tp3214281p3214416.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