jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stover, Michael" <>
Subject RE: Parsing for variable
Date Wed, 20 Feb 2002 14:41:21 GMT
Yes, you can do this.  

Firstly, read

Hopefully, that page will explain what you need to do.  If you have further
questions, let me know.  I will say that, in the latest build, it works
quite well.  However, it is very exacting, and I usually have to do some
work to figure out how to make it work.  The errors are generally mine


> -----Original Message-----
> From:
> []
> Sent: Wednesday, February 20, 2002 8:12 AM
> To:
> Subject: Parsing for variable
>      Hello all.  The latest nightly build seems to work very 
> well, fixing
> several issues that had been preventing me from using it.  
> Now I can use it
> to record scripts, and play them back.  But I have a question.
>      In the application I'm wanting to test (JSP based), at 
> one point in
> the process an ID number is created, and added to the data going from
> client to server.  It then is part of the further requests.  
> The problem
> is, every time I play the script back, a new ID is generated 
> (as should
> be), but the recorded script uses the old value in subsequent 
> requests.  So
> the question is: how do I scrape that value and replace it in 
> the later
> requests?
>      Is there some mechanism for something like variable 
> substitution?  In
> the product we currently use, after recording the script, you 
> can go in and
> edit it to scrape a value returned by the web server and place it in a
> variable.  Then anywhere else in the script you want to use 
> that variable,
> you delete what is there (the old value) and put the variable 
> name there.
> This way, each run of the script uses the ID created for that run.
>      Anyone?
> --
> To unsubscribe, e-mail:   
> <>
> For additional commands, e-mail: 
> <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message