This project is on Performance testing with JMeter for the test.k6.io on contacts, news, flip_Game, Calculating π module. It's a evaluating way to simulate and analyze the performance of a public API test.k6.io
under various user load scenarios and monitoring working functionality and usability as expected.
- Download & Install JDK
- Download & Extract JMeter Binaries Zip
- Set environment variable(path) - Set JAVA_HOME
- Go to bin folder and open
jmeter.bat
- Download & Extract Project_files and Move it to
\apache-jmeter-5.5\bin
folder - Open the
test.k6-Performance_Testing.jmx
file on jemeter - Run the project
But in GUI mode it consumes more memory and makes system slower.
So we run JMeter from the command line. There also generate an HTML report file.
- Go to
\apache-jmeter-5.5\bin
and make a folder called "report". - Now run following commands:
jmeter -n -t project_files\test.k6-Performance_Testing.jmx -l report\test.k6-Performance_Testing.jtl -e -o report\TestResult.html
command structure:
jmeter -n -t [jmx file] -l [results file .jtl/.csv] -e -o [Path for html report folder]
11. Then a HTML report will be generated in this folder.
- Thread Properties
> Number of user: = 3000
> Time: = 10 minutes
= 10*60
= 600 SECOND
> Users per 1 SECOND = (3000/600)
= 5
> Users per 10 SECOND = 50
> Loop count = 1
- Report
- HTML Report Link
- Snapshots:
refresh this web page again. |
---|