From 057575b451a1adeb1e35fb66fda3c53c255864e7 Mon Sep 17 00:00:00 2001 From: amanchopra1905 Date: Wed, 22 Jan 2025 18:21:31 +0530 Subject: [PATCH] added scenario 2 --- docs/hyperexecute-run-jmeter-tests.md | 30 ++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/docs/hyperexecute-run-jmeter-tests.md b/docs/hyperexecute-run-jmeter-tests.md index 49fea3ee8..f95a2ae31 100644 --- a/docs/hyperexecute-run-jmeter-tests.md +++ b/docs/hyperexecute-run-jmeter-tests.md @@ -130,8 +130,8 @@ You can analyze the number of requests sent on that particular time. HyperExecute ## Handling Special Scenarios: Overriding and Default Values -### Scenario 1: Overriding Values via the HyperExecute UI -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. +### Scenario 1: Overriding Values via Projects portal +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. You configure the following parameters in the HyperExecute UI: - **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. - **Optimal Resource Utilization :** It ensures that no machine exceeds the maximum user threshold, maintaining a balanced and efficient test execution. - **Region-Specific Allocation :** Users are distributed proportionally based on the defined load percentages for each region. -This approach ensures smooth execution of performance tests and provides precise control over resource utilization, enabling you to simulate real-world scenarios effectively. \ No newline at end of file +This approach ensures smooth execution of performance tests and provides precise control over resource utilization, enabling you to simulate real-world scenarios effectively. + +### Scenario 2: Default Parameters +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. + +#### Scenario Details: +- **Total Users :** 250 (Specified in the JMeter .jmx file.) +- **Regions :** 2 +- **Machines :** 3 (Each region is allocated three machines.) + +#### Resulting Test Distribution: +- **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. + +- **Machine Allocation :** Each region is allocated three machines. The total user load for the region is replicated across all three machines in the region: + - **Region 1 :** 3 machines → 250 users per machine. + - **Region 2 :** 3 machines → 250 users per machine. + +- **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. + +#### Key Takeaways: +- **Default Behavior :** Without overrides, the user load from the .jmx file is replicated across all configured machines in each region. +- **Resource Replication :** Instead of splitting the total users among machines, HyperExecute applies the same load to each machine in a region. +- **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. + +This behavior highlights how HyperExecute ensures flexibility in test execution while allowing for configuration control based on project requirements. \ No newline at end of file