jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Jmeter Property Transfer
Date Thu, 24 Jun 2010 17:18:16 GMT
I dont believe the XPATH extractor supports namespaces so your query
probably doesnt work.
If you wish to choose a value at random you might be better off with regex
post processor

On Thu, Jun 24, 2010 at 4:53 AM, Riaz Ahmed <engr.riaz.83@hotmail.com>wrote:

>
>
>
>
>
>
>
>
>
>
>
> Hi Deepak,
>
>
>                  I am executing a soap request and want to pick a value
>  randomly from its response and want to use that value in another soap
> request in jmeter (SOAP/XML-RPC Request). For doing that what i did: I
> used XPath Extractor and in that i mentioned  "Reference Name as
> GetTestProductList" and XPath query as
>
> "//ns1:ManageProductListsResponse/ns1:productListDirectory/ns1:list[${=1+(int)(Math.random()*100)}]/@name".
>  I defined GetTestProductList in User Defined Variable inorder to store
> the value retrieved from the soap response to use that in another
> request. But I am unable to see the value to be stored in the
> GetTestProductList. And for that reason all the remaining request are
> failing. Because "GetTestProductList" is used in the remaining request
> and it doesn't have any value.
>
> Regards
> R.A.
> _________________________________________________________________
> Hotmail: Powerful Free email with security by Microsoft.
> https://signup.live.com/signup.aspx?id=60969
>

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