/
Running test listener with JMeter

Running test listener with JMeter

In order to capture code coverage information from tests run with JMeter, you need to run it with our test listener as a Java agent.

The listener needs to be placed alongside the JMeter installation and added to the JVM_ARG parameter using the -javaagent parameter together with its required parameters.

export JVM_ARGS=${JVM_ARGS}" -javaagent:/path/to/sl-test-listener.jar -Dsl.tokenFile=/path/to/sltoken.txt -Dsl.buildSessionIdFile=buildSessionId.txt -Dsl.testStage="Integration Tests" -Dsl.includes=com.company.* -Djmeter.home=/path/to/jmeter_home" jmeter.sh ...

 

Related content

Using Java Agents - Installing the Coverage Listener as a JVM Java Agent
Using Java Agents - Installing the Coverage Listener as a JVM Java Agent
More like this
Using Java Agents - Scanning a build
Using Java Agents - Scanning a build
Read with this
Running test listener with SoapUI
Running test listener with SoapUI
More like this
SeaLights Node.js agent - Command Reference
SeaLights Node.js agent - Command Reference
Read with this
Jenkins Plugin for Maven Project job - Installing Test Listener as Java Agent
Jenkins Plugin for Maven Project job - Installing Test Listener as Java Agent
More like this
SeaLights Jenkins Plugin - Installing Test Listener as Java Agent
SeaLights Jenkins Plugin - Installing Test Listener as Java Agent
More like this