Rate This Document
Findability
Accuracy
Completeness
Readability

Installing the Java Performance Testing Tool

The Java Performance Testing tool works with JMeter to perform stress tests on target applications, collect performance data from target processes, and generate stress test reports. It can be independently installed on worker nodes. It can be used during the testing stage.

Before executing the pipeline, install the Java Performance Testing tool and Apache JMeter on the worker nodes, and ensure that the jcmd command is available on the machine where the target Java application runs.

Installing the Java Performance Testing Tool on Worker Nodes

  1. Obtain the devkit_tester.tar.gz software package from Obtaining Software Packages.
  2. Install the Java Performance Testing tool.
    mkdir -p "${HOME}"/.local
    tar --no-same-owner -zxf devkit_tester.tar.gz -C "${HOME}"/.local/

Installing Apache JMeter

For details about how to install Apache JMeter, see https://jmeter.apache.org/.

Checking Whether the Machine Running the Java Application to Be Collected Has the Jcmd Command Available

  1. Check whether the jcmd command exists.
    which jcmd
    jcmd -h
    Figure 1 Checking for the jcmd command
  2. If the jcmd command does not exist, install it.

    Use yum to install the JDK that contains devel.

    yum install java-11-openjdk-devel.aarch64
    Figure 2 Installing the JDK that contains the jcmd command