Skip to content

Commit 2f50921

Browse files
authored
Merge pull request LambdaTest#1271 from amanchopra1905/stage
added scenario 2
2 parents 7a3f8f2 + 057575b commit 2f50921

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

docs/hyperexecute-run-jmeter-tests.md

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ You can analyze the number of requests sent on that particular time.
130130
<img loading="lazy" src={require('../assets/images/hyperexecute/frameworks/performance_testing/logs.png').default} alt="HyperExecute" width="1920" height="868" className="doc_img"/>
131131

132132
## Handling Special Scenarios: Overriding and Default Values
133-
### Scenario 1: Overriding Values via the HyperExecute UI
134-
When executing performance tests using HyperExecute, you have the option to override default parameters directly in the UI. Let’s explore a sample scenario to understand how HyperExecute handles these overrides.
133+
### Scenario 1: Overriding Values via Projects portal
134+
When executing performance tests using HyperExecute, you have the option to override default parameters directly in the Projects portal. Let’s explore a sample scenario to understand how HyperExecute handles these overrides.
135135

136136
You configure the following parameters in the HyperExecute UI:
137137
- **Virtual Users :** (The total number of simulated users for the test): 500
@@ -158,4 +158,28 @@ Machine 1 = 84 users, Machine 2 = 83 users, Machine 3 = 83 users.
158158
- **Optimal Resource Utilization :** It ensures that no machine exceeds the maximum user threshold, maintaining a balanced and efficient test execution.
159159
- **Region-Specific Allocation :** Users are distributed proportionally based on the defined load percentages for each region.
160160

161-
This approach ensures smooth execution of performance tests and provides precise control over resource utilization, enabling you to simulate real-world scenarios effectively.
161+
This approach ensures smooth execution of performance tests and provides precise control over resource utilization, enabling you to simulate real-world scenarios effectively.
162+
163+
### Scenario 2: Default Parameters
164+
In this scenario, you proceed without overriding the default values in the HyperExecute Projects portal. The configuration parameters from your JMeter file and project setup are applied as-is.
165+
166+
#### Scenario Details:
167+
- **Total Users :** 250 (Specified in the JMeter .jmx file.)
168+
- **Regions :** 2
169+
- **Machines :** 3 (Each region is allocated three machines.)
170+
171+
#### Resulting Test Distribution:
172+
- **Load Distribution Across Regions :** The total of 250 virtual users is not divided across the regions because no overrides were applied. Instead, each region receives the full 250 users.
173+
174+
- **Machine Allocation :** Each region is allocated three machines. The total user load for the region is replicated across all three machines in the region:
175+
- **Region 1 :** 3 machines → 250 users per machine.
176+
- **Region 2 :** 3 machines → 250 users per machine.
177+
178+
- **User Allocation per Machine :** Each machine in both regions processes **250 users**, resulting in a total of 750 users (250 users × 3 machines) per region.
179+
180+
#### Key Takeaways:
181+
- **Default Behavior :** Without overrides, the user load from the .jmx file is replicated across all configured machines in each region.
182+
- **Resource Replication :** Instead of splitting the total users among machines, HyperExecute applies the same load to each machine in a region.
183+
- **Importance of Overrides :** To distribute users proportionally across machines and regions, use the UI to override parameters such as total users, maximum users per machine, or load percentages.
184+
185+
This behavior highlights how HyperExecute ensures flexibility in test execution while allowing for configuration control based on project requirements.

0 commit comments

Comments
 (0)