This project uses Apache JMeter to simulate HTTP performance tests against a sample API (https://jsonplaceholder.typicode.com). It's designed to demonstrate basic load testing, assertions, and report generation.
- β Basic HTTP GET request
- β Response Assertion (expects HTTP 200)
- β Constant Timer (500ms delay to simulate user think time)
- β HTML report generation
- β CLI run support for automation
- β GitHub-compatible structure for cross-platform usage
- Java 8+ (JDK 17 or later recommended)
- Apache JMeter
- Git (to clone and push changes)
bash git clone https://github.com/bmensh821/jmeter-http-test.git cd jmeter-http-test
Open basic_http_test.jmx in the JMeter GUI.
π§ͺ Run the Test in Headless Mode (CLI)
jmeter -n -t basic_http_test.jmx -l results.jtl -e -o html_report
π What These Flags Do
| Flag | Purpose |
|---|---|
-n |
Run in non-GUI (headless) mode |
-t |
Path to test plan .jmx file |
-l |
Log file for results .jtl |
-e -o |
Generate HTML report in html_report/ |
π View the Report
html_report/index.html
You'll see:
π’ Response Times π§΅ Thread Counts π₯ Errors and Failures π Request Throughput π Summary Stats
π Project Structure
jmeter-http-test/
β
βββ basic_http_test.jmx # JMeter test plan
βββ results.jtl # Raw test results (auto-generated)
βββ html_report/ # HTML report folder (auto-generated)
βββ README.md # Project documentation
π€ Contributing
This project is a personal performance testing sandbox. Contributions, pull requests, or suggestions are welcome!
π§βπ» Author
Benyapak Mensh
GitHub: @bmensh821