Load Testing for Test Store
This repository contains resources and instructions for performing load testing on the Test Store website using Apache JMeter.
- Load Testing
-
Download and Install JMeter:
- Download Apache JMeter from the official website.
- Extract the downloaded archive to a suitable location.
-
Open JMeter:
- Navigate to the
bindirectory within the JMeter folder. - Execute the
jmeterscript (jmeter.batfor Windows,jmeterfor Unix/Linux).
- Navigate to the
-
Open the .jmx File:
- In JMeter, go to
File>Open. - Navigate to the directory containing your
.jmxfile and open it.
- In JMeter, go to
- Navigate to the JMeter
binDirectory:cd /path/to/jmeter/bin - Run the Test:
./jmeter -n -t /path/to/your_test.jmx -l /path/to/results.jtl
Options:
n: Runs the test in non-GUI mode (headless).
t: Specifies the location of the JMX test script (<test_script.jmx>).
l: Sets the location to store the generated test results (<results_folder>).
Simulates realistic user behavior by introducing a configurable delay (default: 500ms) between test actions.
Enables the reusability of frequently used test components like login and logout procedures.
- HTTP Request Defaults: Streamlines configuration by setting default values for HTTP requests.
- User Defined Variables: Enhances test flexibility by allowing parameterization and reuse of variables across the test plan.
Generates a comprehensive report that provides valuable insights into the load test's performance and the stability of the tested system under load.
Following a successful load test execution, a detailed and user-friendly summary report is generated. This report offers crucial metrics to evaluate the load tolerance and performance characteristics of the system being tested.