Thanks Manju for the suggestion. 
One more query: if I have the value of the variable that is extracted
using regular expression, how can I store it? I want to use this value
after 2-3 pages again. Any leads?

 
Regards,
Sachin 

 
 
 
-----Original Message-----
From: Manjunath N.S. [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 23, 2005 1:06 PM
To: JMeter Users List
Subject: Re: query on capturing response using regex extractor

Hi Sachin,

>From the First Response extract the ID information into
variable, using PostProcess/Regular Expression Extractor into
Variable. and Later use this Variable in the next TestCase.


Regular Expression Extractor

VariableName: NewId
RegularExpression: <NewId>(.*)</NewIdt>
Template:$1$

In the Second Request use NewID Variable in your second HTTP Request.


thanks
Manju

On 5/23/05, Sachin Ashok Wagh <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> 
> 
> I' am using regular expression extractor to capture response. Let me
> explain the scenario in brief. I' am creating a new employee and
> activating it. Now I want to use an option of 'proxy into an employee'
> of the application. To click on the appropriate proxy button I need to
> capture the response from the previous page. This response contains
> multiple lines. How can I capture this response using a regular
> expression extractor? Following is the response I want to use:
> 
> 
> 
> <td class="sm-text-dark" >Activated</td><!-- Renewal Checkbox Column
> --><td valign="middle"><img src="/images/blank.gif" border="0"
> height="1" width="1" alt=""></td><!-- Proxy Button Column --><td
> class="xxsm-text" align="center"><a
> href="javascript:subFormToProxy('9900')"  ><img
> src='/images/button_proxy.gif'  alt='proxy' border='0'></a></td><td
> width="5"><img src="/images/blank.gif" width="5" alt=""
> border="0"></td>tr>
> 
> 
> 
> Help required urgently. Thanks in advance.
> 
> 
> 
> Regards,
> 
> Sachin
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to