3

I have the next test plan in JMeter:

on the screenshot you can see the settings for the 1st ThreadGroup, wich has 50% of common amout of request in test plan (in each Thread Group are 10 different subrequests placed). So, +1 request per second is added in average using these settings.

enter image description here

Then I ran this test and saw this picture (Error % column): enter image description here

I save errors in file and all these errors have the same text:

<sample t="30129" lt="0" ts="1356710138314" s="false" lb="WebService(SOAP) Request 1" rc="000" rm="**Connection reset**" tn="jp@gc - Stepping Thread Group1 3-247" dt="text" by="0"/> 

Server's cpu screenshot: enter image description here

and for database: enter image description here

After the errors have appeared my comp started work slowly and slowly (although the errors stopped to appear further)... And in the same time the server's cpu progressively dropped to 0.

Could you tell me, please,

What is the reason of this error?

Have I reached the server timeout? (Because Max is more than 30s in the table).


UPD. I have rerun test with next settings: 1000 users per 02:46:40 (+1 Thread Group per 10 second and 10 requests inside each new Thread in the Loop). I.e. I have reduced the time of test and total Thread Groups by 2 times, but save intensivity of Thead's adding.

The results are the same (including cpu usage on the server). I've received the error «Connection reset» after 990 thread started. There are screenshots: enter image description here enter image description here enter image description here

Any idea?

Nadezhda T
  • 262
  • 8
  • 24
  • 1
    Could you show [Active Threads over time](http://code.google.com/p/jmeter-plugins/wiki/ActiveThreadsOverTime) and [Response Latencies Over time](http://code.google.com/p/jmeter-plugins/wiki/LatenciesOverTime)? (you can just add those listeners and give them JTL that you have, no need to re-run load test) – Andrei Botalov Dec 28 '12 at 18:08
  • How much threads do you have as a total ? – UBIK LOAD PACK Dec 28 '12 at 20:11
  • @PMDUBIK-INGENIERIE I think it's shown in the right upper corner of the first screenshot – Andrei Botalov Dec 28 '12 at 20:24
  • Good point, had not seen it – UBIK LOAD PACK Dec 28 '12 at 20:36
  • 1
    Another question, are all the elements on the same machine (DB, Server ), can you tell moreabout it? – UBIK LOAD PACK Dec 28 '12 at 20:39
  • I think you should check response codes of those requests. Code 500 isn't considered an error according to [this bug](https://issues.apache.org/bugzilla/show_bug.cgi?id=54006) – Andrei Botalov Dec 28 '12 at 20:41
  • **@PMD UBIK-INGENIERIE** +1 Thread Group per 10 seconds. In each Thead Group - 10 times runs a Loop. DB is MySQL5.5, server is Glassfish 3.12 – Nadezhda T Jan 01 '13 at 18:40
  • **@Andrey Botalov**, I have added "Active Threads over time" and "Response Latencies Over time". How can these graphs help me? – Nadezhda T Jan 01 '13 at 18:45

1 Answers1

1

First, WebService(SOAP) Request is not the best way to test Webservices in JMeter, it will be deprecated in upcoming 2.9 version. HTTP Sampler is the one to choose as it performs much better.

Second, Connection Reset means your server has cut connection. It could be coming from the CPU which seems high but it's not sure.

If what you call "my comp" is the computer hosting JMeter started working slowly then your JMeter instance is overwhelmed by the number of threads (2003 or more?) you've configured. It can come from a lot of factors, read this:

UBIK LOAD PACK
  • 33,980
  • 5
  • 71
  • 116