Hi Steve,

Thanks. I will definitely try this. I have a question here, as the left
boundary of "177" and "176" are same how JMeter post processor will
recognise "177". 

Thanks!


Steve Kapinos wrote:
> 
> This page should be a good start for you
> 
> http://www.regular-expressions.info/tutorial.html
> 
> If you are looking for 177 from
> 
> input type="checkbox" name="seleccionado" value="177"
> 
> Don't be complicated.. you know the checkbox name is unique, so use a
> simple expression
> 
> input type="checkbox" name="seleccionado" value="(\d+)"
> 
> Where \d says a digit, and + says previous class (the digit) repeat once
> or more.  The ( ) mean grab what's inbetween as the match.
> 
> -----Original Message-----
> From: RoutS [mailto:ther...@gmail.com] 
> Sent: Thursday, January 08, 2009 3:48 AM
> To: jmeter-user@jakarta.apache.org
> Subject: Please help on regular expressions
> 
> 
> 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
> -- 
> View this message in context:
> http://www.nabble.com/Please-help-on-regular-expressions-tp21347885p21347885.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
> 
> 
> 


-----
T & R
RoutS
-- 
View this message in context: 
http://www.nabble.com/Please-help-on-regular-expressions-tp21347885p21365542.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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

Reply via email to