What is Apache JMeter?
The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance.
It can used to simulate a heavy load on a server, group of servers, network or object to test its strength or to analyze overall performance under different load types.
In this tutorial, will discuss how to install JMeter in Ubuntu. For an example, I’ll use Ubuntu Desktop 18.04.
We need to install Java, before installing Apache JMeter.
How to Install Java in Ubuntu Desktop 18.04
The command below will display the version of java installed on the system
java --version
The command below will download java on the system in headless mode
sudo apt-get install openjdk-11-jre-headless
How to Install Apache JMeter in Ubuntu Desktop 18.04
After Java is installed, copy the link to the archive with the latest version of Apache JMeter from the official site http://jmeter.apache.org/download_jmeter.cgi and download it:
wget http://apache.volia.net//jmeter/binaries/apache-jmeter-5.2.1.tgz
Extract the archive:
tar -xf apache-jmeter-5.2.1.tgz
How to run Apache JMeter in Ubuntu?
The command below will run the test named – PerfTest.jmx in Apache Ubuntu
./apache-jmeter-5.2.1/bin/jmeter.sh -n -t ./PerfTest.jmx
The output of JMeter Test will look like as below.
We can see the summary of the test which include Total number of Requests processed, Total Execution Time, Throughput, Average time taken to process a request, Minimum time taken to process a request, maximum time taken to process a request and error percentage.

Can you tell me how can i copy my jmeter results from Ubuntu to my local desktop?
LikeLike
scp -i ./jmeter.pem -r ubuntu@10.0.0.17:~/perfTestResult.jtl/ /mnt/c/Users/abc/DesktopHere, file name is perfTestResult.jtl which is transferred from ubuntu using scp command to desktop
LikeLike