RE: initialize Variables

2006-03-07 Thread Yiping Yang
That's cool. Thank you, Bennett. -Original Message- From: Bennett McElwee [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 3:38 PM To: JMeter Users List Subject: RE: initialize Variables On 07/03/06, Yiping Yang <[EMAIL PROTECTED]> wrote: > I'm wondering where I can look up these

RE: initialize Variables

2006-03-07 Thread Bennett McElwee
On 07/03/06, Yiping Yang <[EMAIL PROTECTED]> wrote: > I'm wondering where I can look up these kind of > information by myself? Sometimes, JMeter user > manual just gives very brief instructions. For API stuff like the use of the vars collection, you should look at the JMeter API specification: htt

RE: How to clear the cookie from the HTTP Cookie Manager after each iteration of a Loop Controller?

2006-03-07 Thread Shih-Chen Chiang
Sebb, Thank you for pointing it out. The problem occurred because I put the Cookie Manager inside of a Loop Controller and expected it to clear the cookie after each iteration of the Loop Controller. The Cookie Manager would not work this way. But for the Thread Group looping, it will clear the

Re: initialize Variables

2006-03-07 Thread sebb
I'm afraid the answer is to read the code. S. On 07/03/06, Yiping Yang <[EMAIL PROTECTED]> wrote: > Hi sebb, > Vars.remove(); > That's what I struggle for days to try to find out. I really appreciate your > help. Thank you so much. > I'm wondering where I can look up these kind of information by m

RE: initialize Variables

2006-03-07 Thread Yiping Yang
Hi sebb, Vars.remove(); That's what I struggle for days to try to find out. I really appreciate your help. Thank you so much. I'm wondering where I can look up these kind of information by myself? Sometimes, Jmeter user manual just gives very brief instructions. Thanks, yiping -Original Me

Re: How to clear the cookie from the HTTP Cookie Manager after each iteration of a Loop Controller?

2006-03-07 Thread sebb
Works OK for me, using the following simple test: ThreadGroup - 2 loops - Cookie Manager Clear Each Iteration - HTTP Sampler 1 - HTTP Sampler 2 Both Samplers accessing the same URL. HTTP Sampler 2 sends the cookie returned by HTTP Sampler 1, but HTTP Sampler 1 only sends a cookie on the second i

Re: initialize Variables

2006-03-07 Thread sebb
It's important to use different "reference names" to each variable set, otherwise there will be problems with nested For Loops. If you are using vars.put(name, value) to create the variables, you can use vars.remove(name) to remove a variable. In the case of the ForEach Controller, it stops proce

RE: initialize Variables

2006-03-07 Thread Yiping Yang
Hi sebb, It's version 2.1.1. Actually, I use BeanShell to assign value to Var_1, Var_2, Var_3.; Then I want to use For each sampler, I can easily get all variables in Var by specify this in for each sampler: "Input variable prefix: Var" In my script, there is another loop out of the for each

Re: initialize Variables

2006-03-07 Thread sebb
On 07/03/06, Yiping Yang <[EMAIL PROTECTED]> wrote: > As we know in Regular Expression, if the match number is set to a negative > number, then all the possible matches in the sampler data are processed. The > variables are set as: > > > > Var_1="23" > > Var_2 ="cd" > > Var_3="db" > > .. > > >

initialize Variables

2006-03-07 Thread Yiping Yang
As we know in Regular Expression, if the match number is set to a negative number, then all the possible matches in the sampler data are processed. The variables are set as: Var_1="23" Var_2 ="cd" Var_3="db" .. After I got these variables, I need to use BeanShell Sample to manipulate

Re: creating log file separately for each thread

2006-03-07 Thread sebb
No. Why would you want to do this? S On 07/03/06, anuj lal <[EMAIL PROTECTED]> wrote: > is it possible to create separate log file - different jmeter.log file - for > each thread ? > > Anuj > > - To unsubscribe, e-mail: [EMAIL P

Re: Aggregate report in Non-Gui Mode

2006-03-07 Thread sebb
On 07/03/06, Bhanu Krishna Cherukuri <[EMAIL PROTECTED]> wrote: > I am running Jmeter in Non-Gui mode. > > jmeter -n -t my_test.jmx -l results.jtl . > > I want to display the aggregate report without loading the results file( > results.jtl) in Listener.One way to get it done is use ANT,but ant nee

creating log file separately for each thread

2006-03-07 Thread anuj lal
is it possible to create separate log file - different jmeter.log file - for each thread ? Anuj

Aggregate report in Non-Gui Mode

2006-03-07 Thread Bhanu Krishna Cherukuri
I am running Jmeter in Non-Gui mode. jmeter -n -t my_test.jmx -l results.jtl . I want to display the aggregate report without loading the results file( results.jtl) in Listener.One way to get it done is use ANT,but ant need to installed in the machine to see the report . Please tell what is The