ANT / JMeter - long running test - stops writing the summariser results

KitKarson

I have a WebService & I hit that WebService once for every 2 seconds with 1 user using jmeter for 5 days continuously. I invoke JMeter using ANT. I set 4GB heap size for jmeter using ANT while invoking jmeter. I do not have any ANT_OPTS set for ANT. (I am not sure of the default heap size ANT will take)

When i start the jmeter test, it works fine. I get the jmeter summariser output in the console for 30 every 30 seconds which is great.

Problem is - After 3 or 4 days, It stops writing the summariser results in the console (first 3 days it works really fine. no issues). ANT build does not complete yet. It is still running. Looks like jmeter stops working/hanging. But I do not think it uses the 4GB as i see more free memory available. I do not see any exception in the log anywhere. The API is still running good if i try to access it. Is it an issue with ANT / jmeter? Should i allocate more space for ANT for this long running ANT target?

Tried 2 times. First time it ran for 3 days w/o any issues. Second time almost 4 days w/o any issues. But It does not run for 5 days continuously.

Note:

It is nothing to do with the WebService server. The jmeter machine has 16GB RAM. I do not run anything else except this test (ANT & jmeter).

I use SOAP/XML RPC sampler in JMeter

UBIK LOAD PACK

Did you set on HTTP Request:

  • Connect Timeout

  • Response Timeout

Use HTTP Request Defaults to set those so that they are applied to all requests:

It is possible that your underlying server is experiencing issues or that the network is experiencing issues.

If you do not set one of these, then in this case JMeter will wait infinitely (by default) for response that never comes, giving you the impression it is hanging which is not the case.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

JMeter not running in ANT

JMeter is not showing any results when running a test plan

JMeter test not running

Long running script stops sending output to file

JMeter execute ant test local failed

Running Selenium ant build - ClassNotFound (simple test)

Plotting JMeter test results dynamically in HTML chart

Listeners to visualise results of load test in JMeter

What is the best way to report the test results in JMeter?

Spigot Server "stops responding " when running long MySQL thread

Android Test running failed : No Test results

Writing Test Results to Excel using Selenium

Running test script recorder error in JMeter

Saving unit test results after running tests

Is there a Logback summariser?

Reading and writing to a long-running std::process::Child

Writing every item to file in a long running Python script?

Get Xspec test results with inline CSS within Ant

integrate ant junit generated test-results in gradle html report

Writing to a file in a folder while running a JAR on Docker Container results in FileNotFoundException

Running a clustering function on subsets of dataframe and writing the results for each subset in the dataframe

How to run Junit test cases using ANT in a running desktop application?

Running Android JUnit tests with Ant: ClassNotFoundException: org.junit.Test

Trouble Running simple JUnit Test through Ant on eclipse

Save results with response data in JMeter without rerunning the test

Test Results file name Format in Date and Timestamp in Jmeter

What are the columns in the output of running a jmeter test from the command line?

jmeter webdriver sampler is not running when the test is run thru jenkins

Null Pointer exception while running Jmeter test in Java