Skip to content

Commit df603bc

Browse files
authored
Merge pull request LambdaTest#1268 from amanchopra1905/stage
added the special case 1
2 parents be5c926 + 9986895 commit df603bc

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

docs/hyperexecute-run-jmeter-tests.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,34 @@ You can analyze the number of requests sent on that particular time.
128128
- You can check the logs of your Jobs executed.
129129

130130
<img loading="lazy" src={require('../assets/images/hyperexecute/frameworks/performance_testing/logs.png').default} alt="HyperExecute" width="1920" height="868" className="doc_img"/>
131+
132+
## 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.
135+
136+
You configure the following parameters in the HyperExecute UI:
137+
- **Virtual Users :** (The total number of simulated users for the test): 500
138+
- **Ramp-Up Time :** 1 minute
139+
- **Total Duration :** 2 minutes
140+
- **Regions :** 2 (50% distribution each)
141+
- **Maximum Users per Machine :** 100
142+
143+
#### Resulting Test Distribution:
144+
- **Load Distribution Across Regions :**
145+
- The total 500 virtual users are divided equally between the two regions.
146+
- Each region is allocated 250 users (500 users ÷ 2 regions).
147+
148+
- **Machine Allocation :** Since a single machine can handle a maximum of 100 users, each region requires multiple machines to support its load:
149+
- **Region 1 :** 250 users → 3 machines (lets say it distributed as 84, 83, 83 users per machine).
150+
- **Region 2 :** 250 users → 3 machines (lets say it distributed as 84, 83, 83 users per machine).
151+
152+
- **User Allocation per Machine:** Users are evenly distributed among machines to ensure optimal utilization and balanced load:
153+
For example, in Region 1:
154+
Machine 1 = 84 users, Machine 2 = 83 users, Machine 3 = 83 users.
155+
156+
#### Key Takeaways:
157+
- **Flexible Overrides :** HyperExecute dynamically adjusts the load distribution and machine allocation based on your specified parameters.
158+
- **Optimal Resource Utilization :** It ensures that no machine exceeds the maximum user threshold, maintaining a balanced and efficient test execution.
159+
- **Region-Specific Allocation :** Users are distributed proportionally based on the defined load percentages for each region.
160+
161+
This approach ensures smooth execution of performance tests and provides precise control over resource utilization, enabling you to simulate real-world scenarios effectively.

0 commit comments

Comments
 (0)