This project demonstrates performance and stress testing on the Restful Booker API using Apache JMeter. It includes simulation of real-world traffic: login, create a booking, and search for a booking, along with timed execution and report generation.
-
Designed a JMeter test plan (
booking.jmx
) that simulates:- User login
- Booking creation with random data
- Booking search using extracted booking ID
-
Applied a Gaussian Random Timer (Deviation: 2000ms, Constant Delay: 500ms) for realistic traffic simulation
-
Performed Load Testing in 3 steps:
- Step 1: 5 minutes
- Step 2: 10 minutes
- Step 3: 15 minutes
-
Performed Stress Testing by gradually increasing users until bottlenecks were observed
-
Collected test results in
.jtl
format and generated:- π HTML reports
- π Excel summary: booking-api-test-report.xlsx
- JMeter 5.5 or later
- Java 8 or higher
- Git (for cloning the repo)
# Step 1: Clone the repo
git clone https://github.com/your-username/RestfulBooker_Jmeter_Testing.git
cd RestfulBooker_Jmeter_Testing
# Step 2: Open booking.jmx in JMeter
# Step 3: Run the test (GUI or CLI mode)
# For GUI: Open booking.jmx in JMeter and press Start
# For CLI: jmeter -n -t booking.jmx -l booking.jtl
# Step 4: Generate HTML report
jmeter -g booking.jtl -o Reports/











Mohammad Arefin Hossain π LinkedIn βοΈ Email
This project highlights core strengths in:
- β Designing and executing realistic performance test scenarios
- π Analyzing test metrics (throughput, response time, error rate)
- π οΈ Identifying system bottlenecks under varying load conditions
- π§ͺ Applying best practices in software quality assurance and JMeter usage