You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Mike Bonar <mi...@shaw.ca> on 2007/04/22 18:09:54 UTC
Dynamic URL's
One of the toughest problems I have had to face as a web tester is when the
application generates dynamic URL's for each individual user. For example,
after the user logs into the application, the links on the page are unique
to that user. Scripting requires that you parse the page for the URL's and
pass them to the next command to send to the server.
Is there a way to achieve this with jMeter?
Michael Bonar
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Dynamic URL's
Posted by Jens Voß <je...@voss-ahrensburg.de>.
Mike Bonar wrote:
>One of the toughest problems I have had to face as a web tester is when the
>application generates dynamic URL's for each individual user. For example,
>after the user logs into the application, the links on the page are unique
>to that user. Scripting requires that you parse the page for the URL's and
>pass them to the next command to send to the server.
>
>Is there a way to achieve this with jMeter?
>
>Michael Bonar
>
>
Hello Michael,
Would adding an XPath extractor to the first sampler (extracting the
value of the a/@href or
form/@action attribute) and using the variable as the address for the
second one be a solution?
Regards,
Jens
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org