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 JMe

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 y

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

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 messa

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

Re: Sharing arrays between threads.

2012-02-10 Thread sebb
On 10 February 2012 17:09, Eric Olson 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 a real user login

Re: constant throughput timer vs. throughput shaping timer

2012-02-10 Thread Birgit Pretscheck
yes, when using throughput shaping timer I always have nearly 3 times the load than taking constant throughput timer. I did take 2 measurements each 30 minutes with throughput shaping timer, both measurements where the same 1st measurement load at beginning 0,03 1min 0,06 5min 0,02 15min load

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

Re: Sharing arrays between threads.

2012-02-10 Thread sebb
On 10 February 2012 16:26, Bruce Ide 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 > https://github.com/FlyingRhe

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 Nabble

Re: Sharing arrays between threads.

2012-02-10 Thread Bruce Ide
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 https://github.com/FlyingRhenquest/JmeterThreadGlobal. It's a pretty simple addon an

Re: constant throughput timer vs. throughput shaping timer

2012-02-10 Thread sebb
On 10 February 2012 15:50, Birgit Pretscheck 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 JMeter Listener. If the

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 t

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

2012-02-10 Thread sebb
On 10 February 2012 15:42, Naresh Kumar 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 structure : > > Thread grou

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 def

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: http://jmeter.512774.n5.na

Re: constant throughput timer vs. throughput shaping timer

2012-02-10 Thread Deepak Goel
Hey Namaskara~Nalama~Guten Tag~Bonjour Looks like, the throughput goes up to 333 as your hardware might be overloaded. You might need a bigger server. Everything should work ok then. :) Deepak -- Keigu Deepak +91-9765089593 deic...@gmail.com http://www.simtree.net Skype: thumsupdeicool Goo

constant throughput timer vs. throughput shaping timer

2012-02-10 Thread Birgit Pretscheck
Hello, I want to measure the utilization of my resources for different request rates. For example my measurements will be: 1st measurement: 100 requests/s over 30 min 2nd measurement: 200 requests/s over 30 min and so on Until now I used constant throughput timer with the option all active thr

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 . sampler_label,aggregate_report_count,average,aggrega

generate multiple and multi-threads HTTP request to proxy

2012-02-10 Thread kamarudin samsudin
Hi All, I need a tool that can generate multiple and multi-threads HTTP request to proxy. The objective is generate "N hits/second". All url list are stored in a csv file. It above 1000 urls, so need to reuse it to achieve the "Nhits/sec". The contents something like this:- http://url_01.com, pa

Re: Sharing arrays between threads.

2012-02-10 Thread Flavio Cysne
Eric, Write a customized function to JMeter and manipulate a map of values inside it. Store it in JMeter properties scope. Regards. Flavio Cysne 2012/2/10 Eric Olson > Thanks for the swift reply, Deepak. > > I had a similar thought about the CSV thing, but I'm still running into the > issue of