Previous Topic: JMeter

Next Topic: Test Case Contents

Execute JMeter Test Cases Interactively

To execute JMeter test cases interactively

  1. Run the following Ant task.

    ant jmeter.core.init

    This replaces @VAR@ sequences with real paths while copying test files from jcs-sdk-home/connectors/*/test/ to <jcs-sdk-home>/build/tests/, with any supporting XML files required for each test.

  2. Run the following command to start the JMeter application:

    jcs-sdk-home/thirdparty/jakarta-jmeter-*/bin/jmeter.bat

  3. In JMeter, select File, Open, and open a test case from the following directory:

    jcs-sdk-home/build/testcases

    Note:

    JMeter tests can be executed as a batch process with a bundled Ant task which produces summary web page results in jcs-sdk-home/build/jmeter/index.html, for example:

    cd jcs-sdk-home

    ant jmeter.core

    A common sequence is to do such a bulk test run, and then investigate any failing test cases individually using the GUI, usually running against a JCS that is running inside your IDE's debugger so you trace exactly what the code is doing.

    Note:

    For more information, see jcs-sdk-home/build.xml. For more information about JMeter testing, see jcs-sdk-home/README.txt.