84874

Error “Connection reset” in JMeter (SOAP XML web-service)

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.

<img src="https://i.stack.imgur.com/0JiU1.png" alt="enter image description here">

Then I ran this test and saw this picture (<strong>Error %</strong> column): <img src="https://i.stack.imgur.com/cNVWu.png" alt="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: <img src="https://i.stack.imgur.com/I8ap2.png" alt="enter image description here">

and for database: <img src="https://i.stack.imgur.com/ViULn.png" alt="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,

<strong>What is the reason of this error?</strong>

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

<hr>

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: <img src="https://i.stack.imgur.com/UrXMG.png" alt="enter image description here"> <img src="https://i.stack.imgur.com/gcpqV.png" alt="enter image description here"> <img src="https://i.stack.imgur.com/AiOE0.png" alt="enter image description here">

Any idea?

Answer1:

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:

Recommend

  • Excel macros Help. Creating a new column based of arrays.
  • JasperFillManager.fillReport and mongo?
  • How to narrow down the current aggregation context to a specific scope within set of documents retur
  • gbz80 - IF statements
  • sp_refreshView replaces view implementation when sp_rename has occured
  • select top N dynamically with N from the same select statement
  • Stop JMeter test execution only after n assertion errors
  • Base64 decoding failed for Google Speech API
  • MVVM, ObservableCollection, async, etc
  • Netezza aggregation issue (pivot)
  • How to write Hibernate HQL query which remove all “grand children” elements?
  • How to call JSON webservice from background in iPhone
  • Using a WebService with Akka Actors and the play framework
  • Android - What should I use to get data from remote db?
  • Legend control with two data frames of different x-scales and different geoms in ggplot2
  • Add filename and length parameter to WCF stream when Transfermode = Stream
  • android with msaccess
  • Show direction of linestring on map - auto zoom on map
  • What is the best way to join ordered arrays?
  • Can I use shared objects with Go?
  • Displaying image retrieved from database to image control
  • G1 Collector not doing full GC
  • Click button with javascript
  • wsContext.getMessageContext().get(MessageContext.SERVLET_REQUEST) returns null on Jetty?
  • Testing custom SOAP Headers in ASMX
  • Distribute Range of Numbers between each threads
  • replacing while loop with list comprehension
  • Find VMID for running instance
  • Adding Parent and Child Nodes in TreeView from Sql Server 2008
  • How to load more than one div at a time
  • Undefined references when compiling gSOAP client
  • Retrieving value from sql ExecuteScalar()
  • How to redirect a user to a different server and include HTTP basic authentication credentials?
  • Symfony2: How to get request parameter
  • log4net write single file for each call to log.info
  • Getting error when using KSoap library to consume .NET web services
  • Observable and ngFor in Angular 2
  • How to Embed XSL into XML
  • UserPrincipal.Current returns apppool on IIS
  • Conditional In-Line CSS for IE and Others?