jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rout-S <theR...@gmail.com>
Subject Re: Please help on regular expressions
Date Fri, 09 Jan 2009 03:23:07 GMT

Hi,

Yes, you are right. This was the identical message. I wanted to know how we
can capture a value from a response with regular expression where the left
boundary is not unique and there are multiple occurrences.

Thanks!


Ronan Klyne-2 wrote:
> 
> 
> There was an almost identical message to this list yesterday, which I
> gave a solution to:
> 
> http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-user/200901.mbox/ajax/%3c4964BE40.4000000@groupbc.com%3e
> 
> I would recommend following the link Steve Kapinos gave you, and
> adapting this solution.
> 
> 
> Ronan
> 
> 
> RoutS wrote:
>> Hello Folks,
>> 
>> In JMeter can you capture some data from response and pass it to request
>> followed by.
>> Please help me on this.
>> 
>> Lets say we got a response like below in reply 
>> 
>> <tr class="odd"> 
>> 
>> <td class="bordes2" style="width: 20px;"> 
>> 
>>   
>> 
>>                                    <input type="checkbox" 
>> name="seleccionado" value="176" 
>> onclick="updateSelectedQuantity(this,'simulaciones'); updateState();" 
>> id="Simulaciones_items"> 
>> 
>>                                     
>> 
>>                         </td> 
>> 
>> <td class="bordes2" style="width:160; align:center;">ItemName</td> 
>> 
>> <td class="bordes2" style="width:100; align:center;">Neo14</td> 
>> 
>> td class="bordes2" style="width: 20px;"> 
>> 
>>   
>> 
>>                                    <input type="checkbox" 
>> name="seleccionado" value="177" 
>> onclick="updateSelectedQuantity(this,'simulaciones'); updateState();" 
>> id="Simulaciones_items"> 
>> 
>>                                     
>> 
>>                         </td> 
>> 
>> <td class="bordes2" style="width:160; align:center;">OTHERITEM</td> 
>> 
>> <td class="bordes2" style="width:100; align:center;">Neo14</td>
>> 
>> Here I am interested in value 177 and would like to capture and parse it
>> to
>> the next request. Please help me on this. I think regular expression may
>> help here but don’t know the syntax for that. Jakarta help document did
>> not
>> help me much. 
>> 
>> 
>> Please tell me the regular expression for 
>> 
>> series of number like 1876
>> series of alphabets like file.txt 
>> and string like INR1234 i.e. mix if alphabet and numbers
>> 
>> Thanks!
>> Rout-S
>> 
>> 
>> 
>> -----
>> T & R
>> RoutS
> 
> 
> -- 
> Ronan Klyne
> Business Collaborator Developer
> Tel: +44 01189 028518
> ronan.klyne@groupbc.com
> www.groupbc.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 


-----
T & R
RoutS
-- 
View this message in context: http://www.nabble.com/Please-help-on-regular-expressions-tp21347885p21365578.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


Mime
View raw message