Re: Average times are confusing me...

2012-02-10 Thread Philippe Mouawad
Hello, I have just made the same test with a JSP (doing a Thread.sleep(2000) = 2s) behind a Tomcat 6 with JMeter 2.6 I put 100 threads that loop 100 times in GUI mode (one JMETER): All results shown in Aggregate report are around 2s .

Re: constant throughput timer vs. throughput shaping timer

2012-02-10 Thread apc
I suggest you to add Transactions Per Second litener to your test plan and look at the graph with Constant Throughput Timer. Maybe this will explain something to you. Share your insights with us! - -- Andrey Pohilko JP@GC Maintainer -- View this message in context:

Response time diff for webservices in SOAP UI J Meter

2012-02-10 Thread Naresh Kumar
Hi , Can anyone please let me know as to why there is diff of response time when we run single request from SOAP UI and from J meter. If there any additional samplers we need to add to correct this. Test Plan structure : Thread group Web service(SOAP) Request HTTP Authorization Manager User

Re: Response time diff for webservices in SOAP UI J Meter

2012-02-10 Thread sebb
On 10 February 2012 15:42, Naresh Kumar naresh.ku...@igatepatni.com wrote: Hi , Can anyone please let me know as to why there is diff of response time when we run single request from SOAP UI and from J meter. If there any additional samplers we need to add to correct this. Test Plan

Re: constant throughput timer vs. throughput shaping timer

2012-02-10 Thread Birgit Pretscheck
The Transactions Per Second Graph shows 333 transactions/s on average for 18000 request/min (300 requests/s) in Constant Throughput Timer. So the problem still persists. Am 10.02.2012 um 16:17 schrieb apc: I suggest you to add Transactions Per Second litener to your test plan and look at

Re: constant throughput timer vs. throughput shaping timer

2012-02-10 Thread sebb
On 10 February 2012 15:50, Birgit Pretscheck b.pretsch...@online.de wrote: The Transactions Per Second Graph shows 333 transactions/s on average for 18000 request/min (300 requests/s) in Constant Throughput Timer. So the problem still persists. The TPS Graph does not sound like a standard

Re: constant throughput timer vs. throughput shaping timer

2012-02-10 Thread apc
Does Load Average value the same from test to test? - -- Andrey Pohilko JP@GC Maintainer -- View this message in context: http://jmeter.512774.n5.nabble.com/constant-throughput-timer-vs-throughput-shaping-timer-tp5472554p5473080.html Sent from the JMeter - User mailing list archive at

Re: Sharing arrays between threads.

2012-02-10 Thread sebb
On 10 February 2012 16:26, Bruce Ide flyingrhenqu...@gmail.com wrote: In the same thread you can use vars.putObject in a bsf or beanshell sampler to store an array in a variable. Or you can just iteratively create a jmeter array. I wrote an addon to allow sharing across threads, see

Re: Sharing arrays between threads.

2012-02-10 Thread Eric Olson
It's alright if two threads share a token, in fact it's probably preferable for that to be part of my test since I'd expect to see that from real users. I still don't see how I can write to a CSV, however. I was able to get it to write 1 CSV file per token, but I'm not really interested in

Re: Sharing arrays between threads.

2012-02-10 Thread Bruce Ide
Jmeter variables are essentially just key/value pairs stored in a big hash table. There's nothing magical about arrays in jmeter, they just get a _number extension on them. You can very easily write one of these with a BSF sampler You just need to keep in mind that they start at one. int i; for(i

Re: Sharing arrays between threads.

2012-02-10 Thread sebb
On 10 February 2012 17:09, Eric Olson galacto...@gmail.com wrote: It's alright if two threads share a token, in fact it's probably preferable for that to be part of my test since I'd expect to see that from real users. If you say so - seems odd to me. How can you tell the sessions apart? Would

RE: Average times are confusing me...

2012-02-10 Thread Robin D. Wilson
OK, I just took your exact same 'jsp', removed the RandomStringUtils stuff (I don't have that library handy), and I'm still getting the same weird results. I'll try to package up my test case today and make it available to everyone... -- Robin D. Wilson Sr. Director of Web Development KingsIsle

Sending Body with PUT

2012-02-10 Thread Eric Olson
Hi, I'm trying to use an HTTP sampler to send a PUT request, but I can't get it to accept my payload, nor can I get it to accept an empty body. In both cases I get the following error: Response code: Non HTTP response code: java.lang.NullPointerException Response message: Non HTTP response

Re: Sending Body with PUT

2012-02-10 Thread Philippe Mouawad
Hello, CAN you open jmeter.log and search for this exception full stack trace ? Maybe you should open à bug in Bugzilla attaching your most simple test plan showing thé issue + jmeter.log and if public the Website you're testing. Please remove any confidential data. Regards Philippe On Friday,

Re: Sending Body with PUT

2012-02-10 Thread Eric Olson
I managed to get it working - it seems that on PUT requests you are required to declare an encoding scheme, whereas on POST you are not, so when I set it to UTF8 it started working as expected. On Fri, Feb 10, 2012 at 2:59 PM, Philippe Mouawad philippe.moua...@gmail.com wrote: Hello, CAN you

JMeter broke on my machine?

2012-02-10 Thread David Luu
Hi, Was wondering if anybody might have ideas why JMeter broke on my machine. Was working fine last time I used it. I don't recall any major changes to Java on my machine. I only recently installed JDK and was playing with Beanshell (outside of JMeter) recently, don't think either should break