Thanks Sebb it's working perfectly.

Can you please tell me weather I can use 2 counters for increment of
Document Id and login as different Virtual users if then How???

As I'll Create Load test script for 150 users.

-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 27, 2006 11:45 PM
To: JMeter Users List
Subject: Re: How to extract the parameter returned in Result Tree using
JMeter

On 27/04/06, sebb <[EMAIL PROTECTED]> wrote:
> On 27/04/06, Tapaswini Das <[EMAIL PROTECTED]> wrote:
> > Hi Sebb/Dave
> >
> >        We have investigated little more in our code with JMeter and
found
> > the code that is showing problems to us for JMeter to read. A code
snippet
> > written below was returned by JMeter in Result Tree.
> >
> >        This code shows the Java Script parameters and values. We want to
> > extract the "documentId" parameter from this code for the next action to
> > work, as the next action to this uses "documentId" as Query String. The
> > "documentId" is marked in Red Font having yellow background.
> >
> >        Can you suggest any alternatives to read the parameter
"documentId"
> > from this Code using JMeter?
> >
> >        We tried using Regular Expression [which extracts the HTML Code]
to
> > extract the value but it didn't work out.
>
> What did you try?
>
> Why did it not work? What happened?

Have you tried:

Regex:    \+ 'documentId=(\d+)' \+
Template: $1$
Match: 1

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