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
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
- Check whether the jcmd command exists.
which jcmd jcmd -h
Figure 1 Checking for the jcmd command
- 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
Parent topic: Installing a Tool Separately