jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: How can I assign multiple values to a variable
Date Thu, 29 Sep 2011 17:10:10 GMT
hi

Just use different names in the XPath extractor (for e.g. by adding a
counter or the __counter function) make the name variablev - should work ,
not tested

regards
deepak


On Thu, Sep 29, 2011 at 4:18 AM, freesky <hwl@windowslive.com> wrote:

> The test plan is :
>
> Test Plan
>  |_createA
>       |_XPath Extractor
>  |_createB
>       |_XPath Extractor
>  |_createA
>       |_XPath Extractor
>
> The response of create is like next :
>
> <request><create id="5" /></request>
>
> There is only one 'id' in each response and I use the 'XPath Extractor' to
> extract the value.  If the test plan has 3 'createA' requests, then I need
> to assign these 3 value of id to a variable 'a', so that I can use 'a_1',
> 'a_2' etc to read the value latter.  So how can I assign multiple values to
> a variable?  Thanks in advance!
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/How-can-I-assign-multiple-values-to-a-variable-tp4852668p4852668.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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message