Re: While controller condition always evaluating as true

2011-10-03 Thread sebb
On 3 October 2011 13:38, vineeth wrote: > It works Now > > The problem was that I had a javascript expression in the comment field of > the while controller which had a syntax error in it. If a test plan does not behave as you expect, it's always worth checking the logi file.

Re: While controller condition always evaluating as true

2011-10-03 Thread vineeth
It works Now The problem was that I had a javascript expression in the comment field of the while controller which had a syntax error in it. When I checked the log file there was an error on that expression. When that is removed it worked. Cheers Vineeth -- View this message in context

Re: While controller condition always evaluating as true

2011-10-03 Thread sebb
On 3 October 2011 12:37, vineeth wrote: > > Thanks Sebb > > > ${__javaScript("1"!="1")} > I tried this on my colleagues system it works. But when I try the same in my > system it fails (While controller executing infinitely). > > Does this have anyt

Re: While controller condition always evaluating as true

2011-10-03 Thread vineeth
Thanks Sebb ${__javaScript("1"!="1")} I tried this on my colleagues system it works. But when I try the same in my system it fails (While controller executing infinitely). Does this have anything to do with my JDK or JRE versions. Can any one throw some light into

Re: While controller condition always evaluating as true

2011-10-03 Thread sebb
On 3 October 2011 09:49, vineeth wrote: > In my TestPlan I have a while controller having few HTTP REQUEST Saplers as > it's child. > > This While loop is being executed Infinitely for different conditions like > > ${__javaScript("1"!="1")} Does not

While controller condition always evaluating as true

2011-10-03 Thread vineeth
In my TestPlan I have a while controller having few HTTP REQUEST Saplers as it's child. This While loop is being executed Infinitely for different conditions like ${__javaScript("1"!="1")} ${__javaScript("1"=="1")} ${__BeanShell(!"1".equal

Re: Nested While controller Loops question

2011-09-20 Thread Bruce Wobbe
good idea On Tue, Sep 20, 2011 at 1:51 PM, Deepak Shetty wrote: > hi > sure - but its talso the most efficient way for Jmeter. we usually have an > additional step in ANT to do all these tasks - before kicking off jmeter > > regards > deepak > > On Tue, Sep 20, 2011 at 1:46 PM, Bruce Wobbe wrot

Re: Nested While controller Loops question

2011-09-20 Thread Deepak Shetty
hi sure - but its talso the most efficient way for Jmeter. we usually have an additional step in ANT to do all these tasks - before kicking off jmeter regards deepak On Tue, Sep 20, 2011 at 1:46 PM, Bruce Wobbe wrote: > Thanks Deepak, > I went with the aggregator approach of step 3 ,it adds som

Re: Nested While controller Loops question

2011-09-20 Thread Bruce Wobbe
Thanks Deepak, I went with the aggregator approach of step 3 ,it adds some overhead to my tests but works pretty simly Bruce On Mon, Sep 19, 2011 at 9:22 PM, Deepak Shetty wrote: > The problem is if you have Recycle as true , you never get EOF, if you have > recycle as false then the inner CSV

Re: Nested While controller Loops question

2011-09-19 Thread Deepak Shetty
The problem is if you have Recycle as true , you never get EOF, if you have recycle as false then the inner CSV doesnt "reset" itself (which is what you expect for this loop to work) as far as I remember you could a) add a dummy row at the end of the CSV that you set a flag on and used that in the

Nested While controller Loops question

2011-09-19 Thread Bruce Wobbe
I have a nested while loo controller p in jmeter. It's 3 levels deep. Each level has it's own config csv So it looks something like this While( File1 !- EOF) While (file2 != EOF) While(file3 != EOF) HTPRequest The most inner loop will run with data from the first entry

Re: While Controller | Reverse Logic?

2011-09-14 Thread Oliver Lloyd
hread (although this is actually pretty obvious in the end) a condition of ${__javaScript("${FOO_VAR}"=="false")} gives me what I need. - http://www.http503.com/ -- View this message in context: http://jmeter.512774.n5.nabble.com/While-Controller-Reverse-Logic-tp4802300p4802708.

Re: While Controller | Reverse Logic?

2011-09-14 Thread sebb
On 14 September 2011 11:42, Oliver Lloyd wrote: > Is it possible to reverse the logic in the while controller? > > So, I have this: > > ThreadGroup > ---Sampler         | This returns "foo" > --Regexp       | My regexp is "bar" (thus = false)

While Controller | Reverse Logic?

2011-09-14 Thread Oliver Lloyd
Is it possible to reverse the logic in the while controller? So, I have this: ThreadGroup ---Sampler | This returns "foo" --Regexp | My regexp is "bar" (thus = false) ---While | "${__javaScript("${FOO_VAR}")}" -

Re: While controller / CSV Data Set tricky if condition depends on

2011-01-19 Thread Adrian Speteanu
On Tue, Jan 18, 2011 at 7:03 PM, sebb wrote: > On 18 January 2011 16:18, Adrian Speteanu wrote: > > Hello everybody, > > > > Need help / suggestions about test idea. Bellow you have the test plan ( > the > > while controller is setup just like in the CSV exam

Re: While controller / CSV Data Set tricky if condition depends on

2011-01-18 Thread sebb
On 18 January 2011 16:18, Adrian Speteanu wrote: > Hello everybody, > > Need help / suggestions about test idea. Bellow you have the test plan ( the > while controller is setup just like in the CSV example that comes with > jmeter): > > thread group [ loop = forever ]

While controller / CSV Data Set tricky if condition depends on

2011-01-18 Thread Adrian Speteanu
Hello everybody, Need help / suggestions about test idea. Bellow you have the test plan ( the while controller is setup just like in the CSV example that comes with jmeter): thread group [ loop = forever ] + While controller [ While condition : ${__jexl("${somethingFr

Re: assertion after while controller with embedded http sampler?

2009-12-21 Thread Dirk Olmes
returned that has a refresh header, causing the >> >> browser to reload. >> >> >> >> I'm using a while controller that has a child http sampler to poll >> >> the refresh URL. I'm using a regex expression extractor to >> >

Re: using counter with while controller

2009-12-17 Thread sebb
On 17/12/2009, Deepak Shetty wrote: > hi > (one of) Your original question was why your debug sampler seemed to > interfere with your test. The answer is because your post processor is > attached as the child of the while controller, which means it would apply to > every sam

Re: using counter with while controller

2009-12-17 Thread Deepak Shetty
hi (one of) Your original question was why your debug sampler seemed to interfere with your test. The answer is because your post processor is attached as the child of the while controller, which means it would apply to every sampler which is a child of the while controller (in your case Child 1

Re: using counter with while controller

2009-12-17 Thread rosiere
Hello, I didn't use counter. This is my last test sequence: -- http request sampler reading the list of pages |--> child: regex extractor to extract the total of pages, into a variable numPageMaxi -- while controller: ${__javaScript( ${i} < ${numPageMaxi} )} |--> child 1

Re: using counter with while controller

2009-12-16 Thread Deepak Shetty
AM, rosiere wrote: > > Hello, > > I'm also facing problems with while controller, especially with its loop > counter and an embedded foreach controller. > > I would like to go through a list of paginated result (like google's search > result), and use a regex t

Re: using counter with while controller

2009-12-16 Thread rosiere
he second page. So could anyone explain such intereference between controllers even though they did not seem to share any variable? rosiere wrote: > > Hello, > > I'm also facing problems with while controller, especially with its loop > counter and an embedded foreach con

Re: using counter with while controller

2009-12-16 Thread rosiere
Hello, I'm also facing problems with while controller, especially with its loop counter and an embedded foreach controller. I would like to go through a list of paginated result (like google's search result), and use a regex to parse every page. So I first parsed the list page and

Re: assertion after while controller with embedded http sampler?

2009-12-11 Thread sebb
>> reload. > >> > >> I'm using a while controller that has a child http sampler to poll the > >> refresh URL. I'm using a regex expression extractor to retrieve the > >> updated refresh URL from the previous sample. > >> >

Re: assertion after while controller with embedded http sampler?

2009-12-11 Thread Dirk Olmes
>> I'm setting up load test scenario for a web app that does HTTP meta >> refresh. The user enters search criteria into a form and upon submit a >> page is returned that has a refresh header, causing the browser to >> reload. >> >> I'm using a whi

Re: assertion after while controller with embedded http sampler?

2009-12-10 Thread sebb
On 10/12/2009, Dirk Olmes wrote: > Hi, > > I'm setting up load test scenario for a web app that does HTTP meta > refresh. The user enters search criteria into a form and upon submit a > page is returned that has a refresh header, causing the browser to reload. > > I&

assertion after while controller with embedded http sampler?

2009-12-10 Thread Dirk Olmes
Hi, I'm setting up load test scenario for a web app that does HTTP meta refresh. The user enters search criteria into a form and upon submit a page is returned that has a refresh header, causing the browser to reload. I'm using a while controller that has a child http sampler t

Re: While Controller as Sampler?

2009-10-15 Thread sebb
On 15/10/2009, The_S wrote: > > Hi, > > I would like to use a while controller as a sampler. It is important to see > the while controller and its runtime in the listeners. > > How is this possible? No. > Thank you! > > -- > View this message in contex

While Controller as Sampler?

2009-10-15 Thread The_S
Hi, I would like to use a while controller as a sampler. It is important to see the while controller and its runtime in the listeners. How is this possible? Thank you! -- View this message in context: http://www.nabble.com/While-Controller-as-Sampler--tp25905735p25905735.html Sent from the

Re: While Controller Problem

2008-09-26 Thread sebb
On 26/09/2008, Michael McDonnell <[EMAIL PROTECTED]> wrote: > Okay, I should really read the documentation first. I figured it out, I was > supposed to use this: > ${__javaScript(${WORKITEMSEQID} == -1)} > > To make it work. Or you can set the default value to FALSE and just use ${WORKITEMSEQI

RE: While Controller Problem

2008-09-25 Thread Michael McDonnell
Okay, I should really read the documentation first. I figured it out, I was supposed to use this: ${__javaScript(${WORKITEMSEQID} == -1)} To make it work. Sorry to cry wolf.

RE: Trouble with while controller

2008-09-25 Thread laredotornado
mmy url), and you can see the values in the "Request Data > panel as parameters". > > The While Controller is like any other While control structure, for > example: > var = true > i = 0; > While (var){ > var = false; > i = i + 1 > } > &g

RE: Trouble with while controller

2008-09-25 Thread Federico Ferrara
point to a dummy url), and you can see the values in the "Request Data panel as parameters". The While Controller is like any other While control structure, for example: var = true i = 0; While (var){ var = false; i = i + 1 } This loop only once, and the value of &qu

RE: Trouble with while controller

2008-09-25 Thread laredotornado
Hi Federico, My previous message must have been sent while you sent this one. Regarding your comment > the second node of the cycle is executed even if the while variable is in > false So am I setting this up correctly? Should both HTTP requests be direct children of the while controll

Re: Trouble with while controller

2008-09-25 Thread laredotornado
We're almost there, bear with me. I added a debug sampler as a child of my while controller and also added a View Results tree as a child of my while controller http://screencast.com/t/Q0RpYj22Om0 The documentation says of the debug variables, "The values can be seen in the View Re

RE: Trouble with while controller

2008-09-25 Thread Federico Ferrara
Septiembre de 2008 12:51 p.m. Para: jmeter-user@jakarta.apache.org Asunto: Re: Trouble with while controller I did as you suggested and program execution is still moving to the next child in the while controller instead of exiting the while controller. Is there a way to check the value of my

Re: Trouble with while controller

2008-09-25 Thread sebb
On 25/09/2008, laredotornado <[EMAIL PROTECTED]> wrote: > > I did as you suggested and program execution is still moving to the next > child in the while controller instead of exiting the while controller. Is > there a way to check the value of my variable after each child

Re: Trouble with while controller

2008-09-25 Thread laredotornado
I did as you suggested and program execution is still moving to the next child in the while controller instead of exiting the while controller. Is there a way to check the value of my variable after each child request within the while controller? Thanks, - Dave sebb-2-2 wrote: > > On

Re: Trouble with while controller

2008-09-25 Thread sebb
Try looking for something that only exists if the user does exist - i.e. rather than looking for failure, look for success. > Thanks, - Dave > > > > sebb-2-2 wrote: > > > > On 25/09/2008, laredotornado <[EMAIL PROTECTED]> wrote: > >> > >>

Re: Trouble with while controller

2008-09-25 Thread laredotornado
;> >> I'm using JMeter 2.3.2 on WinXP. I want to setup a while controller >> that >> exits if the first child request within it is able to match a regular >> expression. So here's my while controller in the test plan >> >> http://screencast.

Trouble with while controller

2008-09-25 Thread laredotornado
Hi, I'm using JMeter 2.3.2 on WinXP. I want to setup a while controller that exits if the first child request within it is able to match a regular expression. So here's my while controller in the test plan http://screencast.com/t/WrN7lD1K and here's the regular expression e

Re: Trouble with while controller

2008-09-25 Thread sebb
On 25/09/2008, laredotornado <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using JMeter 2.3.2 on WinXP. I want to setup a while controller that > exits if the first child request within it is able to match a regular > expression. So here's my while con

RE: Infinite While Controller

2008-08-01 Thread Ryan Miling
the correct time. (and not before intended, being a pre-processor) > -Original Message- > From: Jose Castro [mailto:[EMAIL PROTECTED] > Sent: Friday, August 01, 2008 10:25 AM > To: JMeter Users List > Subject: Re: Infinite While Controller > > Thanks a lot for this a

Re: Infinite While Controller

2008-08-01 Thread Jose Castro
9 PM, Ryan Miling <[EMAIL PROTECTED]> wrote: >> I am attempting to use a while controller with the following condition: >> >> >> >> ${__javaScript("${x${numX}}"!="-1",dummy)} >> >> >> >> The condition includes a referenc

Re: Infinite While Controller

2008-07-31 Thread Andrey Beznogov
${__BeanShell(vars.get("Var${N}")}. Here is that functions description again http://jakarta.apache.org/jmeter/usermanual/functions.html#__V Regards, Andrey On Thu, Jul 31, 2008 at 10:59 PM, Ryan Miling <[EMAIL PROTECTED]> wrote: > I am attempting to use a while controller with the

Infinite While Controller

2008-07-31 Thread Ryan Miling
I am attempting to use a while controller with the following condition: ${__javaScript("${x${numX}}"!="-1",dummy)} The condition includes a reference to the variable numX, which is a positive integer (e.g. 1,2,3,etc.), as well as the variable x${numX} that is also a p

Re: while controller condition correct syntax

2008-07-07 Thread sebb
On 07/07/2008, Marco Strullato <[EMAIL PROTECTED]> wrote: > Hi all, > I have to insert a condition into a while controller: I did some tests > but I can not understand the right syntax. The result of processing the field must be "false" in order to exit the controll

while controller condition correct syntax

2008-07-07 Thread Marco Strullato
Hi all, I have to insert a condition into a while controller: I did some tests but I can not understand the right syntax. Could you help me? I want to test this condition: HOA or LOA or UI or GN I tried with ${__javaScript(("${HOA}" != "NONE"),dummy)} || ${__javaScrip

Re: IF controller, while controller always evaluates to false

2008-01-07 Thread touyang
MAIL PROTECTED]> wrote: >> >> I've found some threads stating the same problem back in 2004, I reckon >> it >> should be fixed by now. >> >> JMeter 2.3 is what I use, Windows XP, Java version 6 update 3. >> >> I can NOT make the IF controller and

Re: IF controller, while controller always evaluates to false

2008-01-04 Thread sebb
d by now. > > JMeter 2.3 is what I use, Windows XP, Java version 6 update 3. > > I can NOT make the IF controller and while controller evaluate to true, even > when I just put the bare word true in there. I tried: > > true > 'true' > "true" > &

IF controller, while controller always evaluates to false

2008-01-04 Thread touyang
I've found some threads stating the same problem back in 2004, I reckon it should be fixed by now. JMeter 2.3 is what I use, Windows XP, Java version 6 update 3. I can NOT make the IF controller and while controller evaluate to true, even when I just put the bare word true in there. I

Re: While Controller Problem

2007-11-09 Thread FenixStrife
> i.e. if the RE uses the variable MATCH, then use ${MATCH} as the while > condition. > > > On 05/11/2007, FenixStrife <[EMAIL PROTECTED]> wrote: >> >> Hi everybody! >> I have a little problem using a while controller in JMeter. >> In a few words: I

Re: While Controller Problem

2007-11-06 Thread Florent Guiliani
FenixStrife a écrit : Please I need help! This is driving me crazy! If you have any example I would be very pleased Do you think there is enough "!" ? Florent, - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: While Controller Problem

2007-11-05 Thread sebb
<[EMAIL PROTECTED]> wrote: > > Hi everybody! > I have a little problem using a while controller in JMeter. > In a few words: I would like to prove that a web page shows some text (a > value of a list of values), but this information is shown in some pages, so > I don't now the

While Controller Problem

2007-11-05 Thread FenixStrife
Hi everybody! I have a little problem using a while controller in JMeter. In a few words: I would like to prove that a web page shows some text (a value of a list of values), but this information is shown in some pages, so I don't now the page this text will be shown. In order to do tha

Re: While-Controller question

2007-05-09 Thread sebb
LE} and have the P-P set VARIABLE=FALSE when you are done. > > > > On 28/02/07, Bernhard Wellhöfer <[EMAIL PROTECTED]> > wrote: >> Hello, >> >> I have one question regarding while controllers: >> >> What I need is a while controller which has one HTTP req

Re: While-Controller question

2007-05-09 Thread CharekC
ello, >> >> I have one question regarding while controllers: >> >> What I need is a while controller which has one HTTP request sampler as >> only child. E.g. a post processor to the HTTP request checks whether the >> response body contains a specific text. If y

AW: While-Controller question

2007-02-28 Thread Bernhard Wellhöfer
Thx! > -Ursprüngliche Nachricht- > Von: sebb [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 28. Februar 2007 12:06 > An: JMeter Users List > Betreff: Re: While-Controller question > > http://jakarta.apache.org/jmeter/usermanual/component_referenc > e.html#Whil

Re: While-Controller question

2007-02-28 Thread sebb
On 28/02/07, Nino Wael <[EMAIL PROTECTED]> wrote: Yes, this seems to be a bit weakly described... Bugs/patches welcome. I have also read the documentation, and it seems as you can use some javascript to manipulate variables with in jmeter. Your while controller should check a var

RE: While-Controller question

2007-02-28 Thread Nino Wael
Yes, this seems to be a bit weakly described... I have also read the documentation, and it seems as you can use some javascript to manipulate variables with in jmeter. Your while controller should check a variabled, and then the post processor should set the variable to true or false depending

Re: While-Controller question

2007-02-28 Thread sebb
wrote: Hello, I have one question regarding while controllers: What I need is a while controller which has one HTTP request sampler as only child. E.g. a post processor to the HTTP request checks whether the response body contains a specific text. If yes the while controller should stop and if n

While-Controller question

2007-02-28 Thread Bernhard Wellhöfer
Hello, I have one question regarding while controllers: What I need is a while controller which has one HTTP request sampler as only child. E.g. a post processor to the HTTP request checks whether the response body contains a specific text. If yes the while controller should stop and if not

WHILE controller

2006-06-19 Thread Amit Kulkarni
Hi, WHILE controller is not initialized for each loop count dynamically any idea . Amit Kulkarni -- To be what we are, and to become what we are capable of becoming, is the only end of life.

RE: increment in While Controller

2006-02-24 Thread Aliaksandr Yermakovich
Hi, I updated the code of While controller. See http://issues.apache.org/bugzilla/show_bug.cgi?id=38778 for more details. Best regards, Alex Y. -Original Message- From: Ganti, Venkata [mailto:[EMAIL PROTECTED] Sent: Friday, February 24, 2006 2:44 AM To: JMeter Users List Cc: [EMAIL

RE: increment in While Controller

2006-02-24 Thread Aliaksandr Yermakovich
Hi, I've put a new enhancement #38778. Best regards, Alex Y. -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Friday, February 17, 2006 6:38 PM To: JMeter Users List Subject: Re: increment in While Controller Thanks. If you want to provide this as an enhanc

RE: increment in While Controller

2006-02-23 Thread Ganti, Venkata
: Friday, February 17, 2006 7:52 AM To: JMeter Users List Subject: Re: increment in While Controller On 2/17/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]> wrote: It doesn't work, because Counter gets updated each Thread iteration, not each While loop. You need to add the C

Re: increment in While Controller

2006-02-17 Thread sebb
ovich <[EMAIL PROTECTED]> wrote: > I've found a solution. I downloaded source and updated While Controller code. > Now it's got one more text filed, which's called Reference Name, just like in > several other controls. I just set name of the variable, then it gets &

RE: increment in While Controller

2006-02-17 Thread Lincoln, Adym
re project is going in the wrong direction. ... -Original Message- From: Aliaksandr Yermakovich [mailto:[EMAIL PROTECTED] Sent: Friday, February 17, 2006 10:48 AM To: JMeter Users List Subject: RE: increment in While Controller I've found a solution. I downloaded source an

Re: increment in While Controller

2006-02-17 Thread Richard Gaywood
On 2/17/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]> wrote: It doesn't work, because Counter gets updated each Thread iteration, noteach While loop.You need to add the Counter as a child of the While Controller. See attached samp

RE: increment in While Controller

2006-02-17 Thread Aliaksandr Yermakovich
I've found a solution. I downloaded source and updated While Controller code. Now it's got one more text filed, which's called Reference Name, just like in several other controls. I just set name of the variable, then it gets increased each loop, and I can use :) I didn't

RE: increment in While Controller

2006-02-17 Thread Aliaksandr Yermakovich
o: JMeter Users List Subject: Re: increment in While Controller So how do you know when to stop? S. On 17/02/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]> wrote: > > I cannot use Loop controller, because I don't know how many steps will be. > > Best regards, > Alex Y.

RE: increment in While Controller

2006-02-17 Thread Lincoln, Adym
Something I've done is I have a While Controller, then inside the While Controller I have a CSV Data File. I then have a stub/plug value in the last record of the CSV Data File. The stub/plug value is read into a variable that I test for within the While Controller. Here's the snip

Re: increment in While Controller

2006-02-17 Thread sebb
MAIL PROTECTED] > Sent: Thursday, February 16, 2006 6:45 PM > To: JMeter Users List > Subject: Re: increment in While Controller > > On 16/02/06, Richard Gaywood <[EMAIL PROTECTED]> wrote: > > On 2/16/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]> > wrote: > > >

RE: increment in While Controller

2006-02-17 Thread Aliaksandr Yermakovich
It doesn't work, because Counter gets updated each Thread iteration, not each While loop. Best regards, Alex Y. -Original Message- From: Richard Gaywood [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 6:03 PM To: JMeter Users List Subject: Re: increment in While Contr

RE: increment in While Controller

2006-02-17 Thread Aliaksandr Yermakovich
I cannot use Loop controller, because I don't know how many steps will be. Best regards, Alex Y. -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 6:45 PM To: JMeter Users List Subject: Re: increment in While Controller On 16/02/06, Ri

Re: increment in While Controller

2006-02-16 Thread sebb
On 16/02/06, Richard Gaywood <[EMAIL PROTECTED]> wrote: > On 2/16/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]> wrote: > > > > Could somebody tell me, how too create and use a variable and increase it > > each > > loop in While Controller? Like: > >

Re: increment in While Controller

2006-02-16 Thread Richard Gaywood
On 2/16/06, Aliaksandr Yermakovich <[EMAIL PROTECTED]> wrote: > > Could somebody tell me, how too create and use a variable and increase it > each > loop in While Controller? Like: > > while ( foo=="true") > i++; > ); Look at the Counter pre-processor. Try adding it to a While loop.

increment in While Controller

2006-02-16 Thread Aliaksandr Yermakovich
Hi All, Could somebody tell me, how too create and use a variable and increase it each loop in While Controller? Like: while ( foo=="true") i++; ); I've got a number of pages, (like question_1.aspx, question_2.aspx and so on) which have a number at the end. Number get

Dynamically sending an SQL request in a "while controller"

2005-11-29 Thread tchris22
primary key for deletion. I know this from the delete action registered with the HttpProxyServer. How can I, at runtime, in the deletion loop, request from the database, the primary key of the user${N}. Group Of Threads Http Default Request while controller (100 loops) <== creation of us

Re: Problems getting loop to end using CSV Data Set Config and while controller.

2005-11-24 Thread sebb
m by adding another column to the data > sheet, and inserting an "X" into that column for the rows I want to be > executed (ie all except first and last.) I've modified CSV Data Set to read > in this column also (variable name "Run") and I've inserted an If

RE: Problems getting loop to end using CSV Data Set Config and while controller.

2005-11-24 Thread Bryn Evans
I should have said that the CSV Data Set Config element is outside the If controller (but inside the While controller.) -Original Message- From: Bryn Evans [mailto:[EMAIL PROTECTED] Sent: 24 November 2005 16:08 To: JMeter Users List Subject: RE: Problems getting loop to end using CSV

RE: Problems getting loop to end using CSV Data Set Config and while controller.

2005-11-24 Thread Bryn Evans
ked around the problem by adding another column to the data sheet, and inserting an "X" into that column for the rows I want to be executed (ie all except first and last.) I've modified CSV Data Set to read in this column also (variable name "Run") and I've inserted an I

Re: Problems getting loop to end using CSV Data Set Config and while controller.

2005-11-23 Thread sebb
JMeter Users List > Subject: Re: Problems getting loop to end using CSV Data Set Config and > while controller. > > > On 23/11/05, Bryn Evans <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I'm using CSV Data Set Config Element to read in data f

RE: Problems getting loop to end using CSV Data Set Config and while controller.

2005-11-23 Thread Bryn Evans
, Bryn -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: 23 November 2005 16:38 To: JMeter Users List Subject: Re: Problems getting loop to end using CSV Data Set Config and while controller. On 23/11/05, Bryn Evans <[EMAIL PROTECTED]> wrote: > Hi all, > > I'

Re: Problems getting loop to end using CSV Data Set Config and while controller.

2005-11-23 Thread sebb
he data, send a request, verify > response, and continue to do so until there is no more data in the file. I > thought that a sensible way of doing this would be to add a dummy line to the > end of the file (ie value of first field is "END") and added a While > controll

Problems getting loop to end using CSV Data Set Config and while controller.

2005-11-23 Thread Bryn Evans
more data in the file. I thought that a sensible way of doing this would be to add a dummy line to the end of the file (ie value of first field is "END") and added a While controller that stops the loop when the value of the variable representing the first column of the data file is

Re: Problems with While Controller

2005-10-21 Thread sebb
tible; MSIE > 6.0; Windows NT 5.0; FunWebProducts) > User-Agent > > elementType="org.apache.jmeter.protocol.http.control.Header"> >image/gif, image/x-xbitmap, > image/jpeg, image/pjpeg, application/x-shockwave-flash, > applic

Problems with While Controller

2005-10-18 Thread ravi kumar
true org.apache.jmeter.control.gui.WhileControllerGui org.apache.jmeter.control.WhileController While Controller true ${__javaScript(${C}<=10,t

Re: using counter with while controller

2005-08-24 Thread sebb
See http://jakarta.apache.org/jmeter/usermanual/component_reference.html#While_Controller The While Controller condition needs to return the string "FALSE" or "false" in order to exit the loop. ${counter}<3 will never be "false" it will be perhaps "0&l

using counter with while controller

2005-08-24 Thread Anton Andreev
Hello everybody, I'm trying to set up a counter to be used with while controller and i'm having dificulty (my while loop does not stop). What i did, just before while controller i have "user variables" where i set {counter} to 0. In while controller my condition is ${c

While Controller exits, listener doesn't record

2005-08-16 Thread Christian Baumgartner
Hello, following issue: while controller (contidion: ${__javaScript(${OSG_CNT}<1)} ) + http request + if controller ++ http request1 ++ COUNTER increasing OSG_CNT (starting value=0) + ifcontroller2 ++ http request2 tree view listener the loop goes approx 4 times, before the counter become

Re: While Controller

2005-07-08 Thread sebb
On 7/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to use a while controller, but it seems to execute infinitely This is documented at: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#While_Controller > regardless of the cond

While Controller

2005-07-08 Thread kebl
Hello, I am trying to use a while controller, but it seems to execute infinitely regardless of the condition I specify. I have a user variable called testStatus to which I assign a default value of "foo". I extract a value from an HTTP response within the While Controller and want t

Re: While Controller help!

2005-06-06 Thread Andy Kappen
Adding a Response Assertion and using a while condition of LAST worked great. On the other hand, I have tried both the ${__javaScript("${encodedState}"!="ENCODED")} and the ${__BeanShell(!"${encodedState}".equals("ENCODED")) forms suggested, and the While

Re: While Controller help!

2005-06-01 Thread sebb
On 6/1/05, Andy Kappen <[EMAIL PROTECTED]> wrote: > I have been trying to use the "While Controller" in JMeter 2.0.3 with > no luck. This could be due > to two things: user error (since I'm not sure my Condition is in the > correct form), or the While > Contr

While Controller help!

2005-06-01 Thread Andy Kappen
I have been trying to use the "While Controller" in JMeter 2.0.3 with no luck. This could be due to two things: user error (since I'm not sure my Condition is in the correct form), or the While Controller is a little too alpha not work as advertised. Inside the While Controller

While Controller with condition

2005-02-03 Thread Mallku Caballero
Hello, I have had some problems with the While controller using a condition in JMeter 2.0.2. It appears that the condition is evaluated only once at the beginning of the loop and then cached. Hence, either you never enter the loop or you never leave it. I have played around with the source

R �f. : Re: reading file in a While Controller

2005-02-01 Thread jerome . dupont
${requeteUtilisateur}: ${ligneCourante}: ,,)} http request ( ${ligneCourante} ) Assert Results The file pointed by ${requeteUtilisateur} contains url1 url2 Date: Wed, 26 Jan 2005 00:39:03 + From: Sebb <[EMAIL PROTECTED]> Subject: Rïf. : Re: reading file in a While Control

Re: Réf. : Re: reading file in a While Controller

2005-01-25 Thread sebb
run once for each line in the file. In fact, you don't need the While Controller for this - StringFromFile will stop the thread if it runs out of files to process. In this case the count is 1, so it will stop processing at the end of the file. Try it and see. S. On Fri, 21 Jan 2005 14:38:56

  1   2   >