jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajiv Nanduani <rajivkumarnandv...@gmail.com>
Subject Re: How to extract value
Date Wed, 23 Feb 2011 02:16:29 GMT
like

<option value="31">Sr.</option>

<option value="(\d+)">Sr.</option>



On Wed, Feb 23, 2011 at 7:33 AM, Rajiv Nanduani <
rajivkumarnandvani@gmail.com> wrote:

> use regular-expression extractor
>
>
> On Wed, Feb 23, 2011 at 1:34 AM, Anil <anilguptas@yahoo.com> wrote:
>
>>
>> I have something on my screen.
>>
>> <select name="suffix" id="Suffix" class="txtField">
>>    <option value="29"></option>
>>    <option value="30">Jr.</option>
>>    <option value="31">Sr.</option>
>>    <option value="32">I</option>
>>    <option value="33">II</option>
>>    <option value="34">III</option>
>> </select>
>>
>> All the values like 29,30,31...34 are dynamic. These could be different in
>> next load. So I can not hardcode any value for suffix. I have to extract
>> this from HTML. So if I want to set "Sr." in my script, then how to
>> extract
>> corresponding value 31 to send as post parameter.
>> --
>> View this message in context:
>> http://jmeter.512774.n5.nabble.com/How-to-extract-value-tp3396086p3396086.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>
>
> --
> RAJIV KUMAR
>
> <http://rajivkumarnandvani.wordpress.com/>
> <http://learnqtphelp.blogspot.com/>
>
>
>


-- 
RAJIV KUMAR

<http://rajivkumarnandvani.wordpress.com/>
<http://learnqtphelp.blogspot.com/>

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