Re: Modulus in If Controller

2007-07-10 Thread sebb
The If controller uses Javascript (Rhino). There's some documentation here: http://developer.mozilla.org/en/docs/JavaScript_Language_Resources It looks like the operator is %, so I would try: (${COUNT} % 10) == 0 S. On 10/07/07, Hugh Hunter <[EMAIL PROTECTED]> wrote: Been struggling at this

Modulus in If Controller

2007-07-10 Thread Hugh Hunter
Been struggling at this for a while. I want to use an If Controller to only call a sampler every 10 iterations through the test plan. So I have a counter storing as ${COUNT} and I've tried: ${COUNT} % 10 == 0 in the If Controller as well as ${COUNT} MOD 10 == 0 Any ideas? --Hugh -- Hugh Hu

Re: Jmeter Plugin

2007-07-10 Thread Alf Høgemark
I hope you have considered the existing jdbc sampler, before deciding you have to write your own code to sample the database ? Regards Alf tiffany wrote: Hi, I am asked to write a Jmeter Plugin to retrieve data from database. Any documentation/user manual or guidelines for this?? Actually, w

Jmeter Plugin

2007-07-10 Thread tiffany
Hi, I am asked to write a Jmeter Plugin to retrieve data from database. Any documentation/user manual or guidelines for this?? Actually, what is Jmeter Plugin?? A sampler? Thanks, Tiffany -- View this message in context: http://www.nabble.com/Jmeter-Plugin-tf4057770.html#a11527141 Sent from

Re: Variable substitution in POSTed files

2007-07-10 Thread sebb
On 10/07/07, Ivan Rancati <[EMAIL PROTECTED]> wrote: sebb-2 wrote: > > On 10/07/07, Ivan Rancati <[EMAIL PROTECTED]> wrote: > > Not within JMeter. > > Though could use the BeanShell pre-processor to fixup the file if you > are prepared to write the necessary Java code. > > Thanks for the sugge

Re: Variable substitution in POSTed files

2007-07-10 Thread Ivan Rancati
sebb-2 wrote: > > On 10/07/07, Ivan Rancati <[EMAIL PROTECTED]> wrote: > > Not within JMeter. > > Though could use the BeanShell pre-processor to fixup the file if you > are prepared to write the necessary Java code. > > Thanks for the suggestion. It works well, with one small problem, whic

Re: scripts are not executed when running from a .bat file.

2007-07-10 Thread smithas
it worked.. Thanks smitha sebb-2 wrote: > > [This is an MSDOS issue, not a JMeter issue] > > DOS batch files behave differently from programs when invoked from a > DOS batch file. Control returns from programs (and DOS built-ins) but > does not return from a nested batch file. > > You have t

Re: Variable substitution in POSTed files

2007-07-10 Thread sebb
On 10/07/07, Ivan Rancati <[EMAIL PROTECTED]> wrote: I am using nightly build r554518 (2.2 seems to always POST as multipart, which the application server I am using rejects) to send a POST request where I am also sending a file ("Send a File With the Request") Is there a way to use variable su

Variable substitution in POSTed files

2007-07-10 Thread Ivan Rancati
I am using nightly build r554518 (2.2 seems to always POST as multipart, which the application server I am using rejects) to send a POST request where I am also sending a file ("Send a File With the Request") Is there a way to use variable substitution in the file? I guess not, but perhaps I am m

RE: Unable to get Http basic auth to work

2007-07-10 Thread VijayKumar.Nandam
Hi, I think u need to use the "csv data config" for giving the data inputs. Save the file in the directory you save the *.jmx file. Thanks, Vijay Nandam  -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 4:56 PM To: JMeter Users List Subject: Re:

RE: JTL file differnt from original

2007-07-10 Thread William Gosse
Ouch, maybe. I did not know that even though I usually rename the file after a run but this could have happened. Thanks -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 10, 2007 7:55 AM To: JMeter Users List Subject: Re: JTL file differnt from original JTL f

Re: JTL file differnt from original

2007-07-10 Thread sebb
JTL files are cumulative - could the extra entries be from previous runs? Check the time stamps. JMeter does not do automatic retries (except perhaps at a very low level; these would merely be seen as a longer sample time, not as separate samples). On 10/07/07, William Gosse <[EMAIL PROTECTED]>

JTL file differnt from original

2007-07-10 Thread William Gosse
Hi, Does anyone know why my saved jtl file is different from my original results displayed by my aggregate listener? The jtl file seems to have more samples then what was in my original listener. Is it tracking retries as well? Thanks, Bill Gosse  Senior Software Engineer 8 Commerce Drive | B

Re: How to run the JMeter client locally on ZOS?

2007-07-10 Thread sebb
On 09/07/07, Lucas Partridge <[EMAIL PROTECTED]> wrote: Thanks very much, Alf - you saved my day because that worked!:) I downloaded the jakarta-jmeter-r554518 nightly build, set the content encoding for the POST requests (and the GET requests for good measure - probably not necessary though!) t

Re: Unable to get Http basic auth to work

2007-07-10 Thread sebb
On 09/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I am unable to get past HTTP basic authentication using HTTP authenticator. My test plan entails logging into a website using http://test.foo.com:8080/FOO/login.jsp and supplying a username and password. I have setup a simple HTTP a

Re: Options of Recording scripts in Jmeter

2007-07-10 Thread sebb
On 10/07/07, Yuvarajl <[EMAIL PROTECTED]> wrote: Hi sebb, can you please elaborate the following? where can i find proxy.pause property? As I already wrote: jmeter.properties This could be due to grouping. Try increasing the pause that JMeter uses in jmeter.properties: proxy.pause=1000

Re: Options of Recording scripts in Jmeter

2007-07-10 Thread Yuvarajl
Hi sebb, can you please elaborate the following? where can i find proxy.pause property? This could be due to grouping. Try increasing the pause that JMeter uses in jmeter.properties: proxy.pause=1000 Thanks. -- View this message in context: http://www.nabble.com/Options-of-Recording-scri