jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 62974] New: Uncaught IllegalStateException at setupTest-phase makes JMeter hanging and never stopping
Date Mon, 03 Dec 2018 09:51:09 GMT

            Bug ID: 62974
           Summary: Uncaught IllegalStateException at setupTest-phase
                    makes JMeter hanging and never stopping
           Product: JMeter
           Version: 5.0
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
  Target Milestone: JMETER_5.1

Created attachment 36289
Logfile with IllegalStateException at the setupTest-phase

A. Setup:
1. JMeter-testplan checks a REST-API of a server-side software
2. HTTP-Request blocks are used to send REST-calls
3. Every ThreadGroup has a BackendListener to write into a time-series
4. Such a BackendListener uses a JMeter plugin "JMeter-InfluxDB-Writer 1.2" (s.

B. Test execution:
1. JMeter is started with Maven (meter-maven-plugin:2.8.1).
2. If the InfluxDB is not reachable for JMeter then an IllegalStateException is
3. After that a row of Timeout-errors come
4. JMeter hangs and never stops (as experiment I have waited for 2 hours).

C. My proposal:
1. If something wrong happens in the startup phase with the Sampler-block then
break the test with an error message.
2. If something wrong happens with a supporting "secondary" element like a
Backend-Listener then cathc the exception, report a warning, *deactivate*
Backend-Listener automatically and go on *without* the Backend-Listener.

Reason for (2) is that developers use sometimes JMeter on their local machines
without having set up (or having access to) all "add-ons" like a time-series
database etc. They just want to verify quickly their changes in code and get
simple feedback from JMeter in form of response times without any further
statistic collection

The console output is given below (s. also logs in the attachment):

[INFO] <<< jmeter-maven-plugin:2.8.1:jmeter (jmeter-tests) < :configure @
server-load-test <<<
[INFO] --- jmeter-maven-plugin:2.8.1:jmeter (jmeter-tests) @ server-load-test
[INFO] -------------------------------------------------------
[INFO]  P E R F O R M A N C E    T E S T S
[INFO] -------------------------------------------------------
[INFO] Executing test: download-dicoms-all-at-once.jmx
[INFO] Starting process with:[java, -Xms512M, -Xmx2048M,
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9010, -jar,
ApacheJMeter-5.0.jar, -d,
C:\Development\sandbox\ForumServerLoadTest\target\jmeter, -e, -j,
-n, -o,
[INFO] Listening for transport dt_socket at address: 9010
[INFO] SLF4J: Class path contains multiple SLF4J bindings.
[INFO] SLF4J: Found binding in
[INFO] SLF4J: Found binding in
[INFO] SLF4J: See for an
[INFO] SLF4J: Actual binding is of type
[INFO] Creating summariser <summary>
[INFO] Created the tree successfully using
[INFO] Starting the test @ Mon Dec 03 10:02:12 CET 2018 (1543827732262)
[INFO] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4445
[INFO] Uncaught Exception java.lang.IllegalStateException: Failed calling
setupTest. See log file for details.

You are receiving this mail because:
You are the assignee for the bug.
View raw message