From issues-return-13751-archive-asf-public=cust-asf.ponee.io@jmeter.apache.org Mon Dec 3 10:51:16 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8A935180645 for ; Mon, 3 Dec 2018 10:51:15 +0100 (CET) Received: (qmail 70254 invoked by uid 500); 3 Dec 2018 09:51:14 -0000 Mailing-List: contact issues-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@jmeter.apache.org Delivered-To: mailing list issues@jmeter.apache.org Received: (qmail 70243 invoked by uid 99); 3 Dec 2018 09:51:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Dec 2018 09:51:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2CC51C5B4B for ; Mon, 3 Dec 2018 09:51:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -9.501 X-Spam-Level: X-Spam-Status: No, score=-9.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id dGC9FK4XHEyK for ; Mon, 3 Dec 2018 09:51:12 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id CA9F960CFF for ; Mon, 3 Dec 2018 09:51:11 +0000 (UTC) Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id 56573E0163 for ; Mon, 3 Dec 2018 09:51:11 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id 8CFBE604BF; Mon, 3 Dec 2018 09:51:10 +0000 (UTC) From: bugzilla@apache.org To: issues@jmeter.apache.org Subject: [Bug 62974] New: Uncaught IllegalStateException at setupTest-phase makes JMeter hanging and never stopping Date: Mon, 03 Dec 2018 09:51:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: JMeter X-Bugzilla-Component: Main X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: muravov@yahoo.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: issues@jmeter.apache.org X-Bugzilla-Target-Milestone: JMETER_5.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://bz.apache.org/bugzilla/show_bug.cgi?id=3D62974 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 Assignee: issues@jmeter.apache.org Reporter: muravov@yahoo.com Target Milestone: JMETER_5.1 Created attachment 36289 --> https://bz.apache.org/bugzilla/attachment.cgi?id=3D36289&action=3Dedit 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 database. 4. Such a BackendListener uses a JMeter plugin "JMeter-InfluxDB-Writer 1.2"= (s. https://github.com/NovaTecConsulting/JMeter-InfluxDB-Writer/releases) 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 IllegalStateExceptio= n is thrown 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 t= hen 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 machi= nes 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] [INFO] [INFO] --- jmeter-maven-plugin:2.8.1:jmeter (jmeter-tests) @ server-load-te= st --- [INFO] [INFO] ------------------------------------------------------- [INFO] P E R F O R M A N C E T E S T S [INFO] ------------------------------------------------------- [INFO] [INFO] [INFO] Executing test: download-dicoms-all-at-once.jmx [INFO] Starting process with:[java, -Xms512M, -Xmx2048M, -Dorg.apache.commons.logging.Log=3Dorg.apache.commons.logging.impl.Log4JLog= ger, -agentlib:jdwp=3Dtransport=3Ddt_socket,server=3Dy,suspend=3Dn,address=3D901= 0, -jar, ApacheJMeter-5.0.jar, -d, C:\Development\sandbox\ForumServerLoadTest\target\jmeter, -e, -j, C:\Development\sandbox\ForumServerLoadTest\target\jmeter\logs\download-dico= ms-all-at-once.jmx.log, -l, C:\Development\sandbox\ForumServerLoadTest\target\jmeter\results\20181203-d= ownload-dicoms-all-at-once.csv, -n, -o, C:\Development\sandbox\ForumServerLoadTest\target\jmeter\reports\download-d= icoms-all-at-once_20181203_100209, -t, C:\Development\sandbox\ForumServerLoadTest\target\jmeter\testFiles\download= -dicoms-all-at-once.jmx, -L, INFO] [INFO] Listening for transport dt_socket at address: 9010 [INFO] SLF4J: Class path contains multiple SLF4J bindings. [INFO] SLF4J: Found binding in [jar:file:/C:/Development/sandbox/ForumServerLoadTest/target/jmeter/lib/log= 4j-slf4j-impl-2.11.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] [INFO] SLF4J: Found binding in [jar:file:/C:/Development/sandbox/ForumServerLoadTest/target/jmeter/lib/slf= 4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] [INFO] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. [INFO] SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] [INFO] Creating summariser [INFO] Created the tree successfully using C:\Development\sandbox\ForumServerLoadTest\target\jmeter\testFiles\download= -dicoms-all-at-once.jmx [INFO] Starting the test @ Mon Dec 03 10:02:12 CET 2018 (1543827732262) [INFO] Waiting for possible Shutdown/StopTestNow/Heapdump message on port 4= 445 [INFO] Uncaught Exception java.lang.IllegalStateException: Failed calling setupTest. See log file for details. --=20 You are receiving this mail because: You are the assignee for the bug.=