Bug 54669 - Add flag forcing non-GUI JVM to exit after test
Summary: Add flag forcing non-GUI JVM to exit after test
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.9
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-11 18:56 UTC by Sebb
Modified: 2013-07-11 20:20 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2013-03-11 18:56:48 UTC
From JMeter dev mailing list:
http://mail-archives.apache.org/mod_mbox/jmeter-dev/201303.mbox/%3C20130311173319.5C162C129%40tyr.zones.apache.org%3E

GitHub user scotte opened a pull request:

    https://github.com/apache/jmeter/pull/3

    Add flag forcing non-GUI JVM to exit after test

    This is useful for cases when JMeter is run by an automated system
    (such as CI builds) and tests start threads that prevent the JVM
    from cleanly shutting down. The existing property to do a full JVM
    shutdown (jmeterengine.stopfail.system.exit) only executes when the
    test is explicitly asked to stop. We needed to unconditionally insure
    the JVM is terminated when the test was finished, even if the tests
    themselves did things which left the JVM in a state where JMeter could
    not cleanly exit in non-GUI mode.
    
    The new flag is "jmeterengine.force.system.exit" and defaults to
    "false".

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/scotte/jmeter trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jmeter/pull/3.patch
Comment 1 Sebb 2013-03-11 19:19:14 UTC
Applied to SVN:

URL: http://svn.apache.org/r1455289
Log:
Add flag forcing non-GUI JVM to exit after test
Bugzilla Id: 54669

Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/src/core/org/apache/jmeter/engine/StandardJMeterEngine.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 The ASF infrastructure team 2022-09-24 20:37:53 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3073