Skip to content

bmensh821/jmeter-http-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ JMeter Performance Testing Project

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.


πŸ“¦ What's Included

  • βœ… 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

🧰 Requirements

  • Java 8+ (JDK 17 or later recommended)
  • Apache JMeter
  • Git (to clone and push changes)

πŸ›  Setup Instructions

1. Clone this Repository

bash git clone https://github.com/bmensh821/jmeter-http-test.git cd jmeter-http-test

2. Open the Test Plan

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

About

Performance testing with JMeter: API requests, CLI execution, and HTML reports.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors