Skip to content

This Project Demonstrates Performance And Stress Testing Of The Restful Booker API Using Apache JMeter. It Simulates User Login, Booking Creation, And Search Operations With Realistic Timing, And Provides HTML And Excel Reports To Analyze API Performance Under Load.

Notifications You must be signed in to change notification settings

arefinthecybersec/RestfulBooker_Jmeter_Testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§ͺ Restful Booker - JMeter Performance & Stress Testing

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.


βœ… What Has Been Done

  • 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:


πŸ”§ Prerequisites

  • JMeter 5.5 or later
  • Java 8 or higher
  • Git (for cloning the repo)

πŸš€ How to Run the Test

# 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/

πŸ“· Screenshots

πŸ“ˆ Load Test (Excel Report):

load_test

πŸ“ˆ Load Test (HTML Report):

Step1: 5_Min

4

Step2: 10_Min

2

Step3: 15_Min

3

πŸ“‰ Stress Test (Excel Report):

stress test

πŸ“‰ Stress Test (HTML Report):

Iteration 2

bKvdM

Iteration 3

bKvdM

Iteration 3.1

bKv6r

Iteration 3.2

image

Iteration 3.2.1

image

Iteration 3.2.2

image

πŸ‘€ Author

Mohammad Arefin Hossain πŸ”— LinkedIn βœ‰οΈ Email


⭐ Final Notes

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

About

This Project Demonstrates Performance And Stress Testing Of The Restful Booker API Using Apache JMeter. It Simulates User Login, Booking Creation, And Search Operations With Realistic Timing, And Provides HTML And Excel Reports To Analyze API Performance Under Load.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published