jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: regular expression from multiple lines
Date Wed, 06 Apr 2005 17:26:29 GMT
On Apr 6, 2005 6:34 AM, Ghananeel Gondhali <rajg22@yahoo.com> wrote:
> Hi,
> 
> I got something like this in my response
> <select name="pline" onchange="change_screen()">
>                <option value="9999" >Select Line..</option>
>                <option value="01" >d</option>
>                <option value="02" selected>e</option>
>                <option value="03"  >f</option>
>                <option value="04"  >d</option>
>                <option value="05"  >Suns</option>
>                <option value="06"  >Ski</option>
>                <option value="07"  >Mois</option>
>              </select>
> 
> I want a regex to randomly pickup any option value between the select tags. I cant search
for just digits as just below this select tag is another select tag that has similar numeric
values.

Try using the Regex Extractor to pick out the single select tag into a
variable, and then use the Regex Function to pick a random option from
that.

S

---------------------------------------------------------------------
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