jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: change parameter according to form's hidden parameter
Date Fri, 15 Aug 2008 21:49:07 GMT
Use the Regular Expression Extractor to save the variable value in a
JMeter variable and use the JMeter variable in the next sample.

On 15/08/2008, Chen, Song <chensong@az.joyo.com> wrote:
> hi,
>   i just record a script using badbay. It is about a precedure like form submit.
>
>   Problem is :
>
>    on first page i will input something, and then on second page a form is generated
based on the input, so there's one hidded attribute like this  <input type=hidden id="grpcount"
name="grpcount" value="3"/>
>
>    Here the value 3 is changed every time.
>
>    Then i need to submit this form.
>    In Badboy's script, it is recored as a parameter valued 3.
>
>    But as the first page's input is changed each loop, so it can not be 3 each time.
>
>    How can i change script to meet this requirement? Can this parameter be dynamic, just
reading from the previous page?
>
>
>  thanks!
>  Regards!
>
> Chen Song
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message