Skip to content

Commit 081f4c6

Browse files
Addressing manual PR review comments
1 parent 7c9deea commit 081f4c6

8 files changed

+15
-15
lines changed

articles/load-testing/concept-load-testing-concepts.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,21 @@ A virtual user runs a particular test case against your server application and r
2424

2525
Apache JMeter also refers to virtual users as *threads*. In the JMeter test script, a *thread group* element lets you specify the pool of virtual users. Learn about [thread groups](https://jmeter.apache.org/usermanual/test_plan.html#thread_group) in the Apache JMeter documentation.
2626

27-
Locust refers to virtual users as *users*. You can specify the users needed for your test in the web interface, as a command line argument, through an environment variable or through a configuration file. Learn about [configuration options](https://docs.locust.io/en/stable/configuration.html) in the Locust documentation.
27+
Locust refers to virtual users as *users*. You can specify the users needed for your test in the web interface, as a command line argument, through an environment variable, or through a configuration file. For more information, see [configuration options](https://docs.locust.io/en/stable/configuration.html) in the Locust documentation.
2828

2929
The total number of virtual users for your load test depends on the number of virtual users in the test script and the number of [test engine instances](#test-engine).
3030

3131
For JMeter based load tests, the formula is: Total virtual users = (virtual users in the JMX file) * (number of test engine instances).
3232

33-
You can achieve the target number of virtual users by [configuring the number of test engine instances](./how-to-high-scale-load.md#test-engine-instances-and-virtual-users-for-JMeter-based-tests), the number of virtual users in the test script, or a combination of both.
33+
You can achieve the target number of virtual users by [configuring the number of test engine instances](./how-to-high-scale-load.md#test-engine-instances-and-virtual-users-for-jMeter-based-tests), the number of virtual users in the test script, or a combination of both.
3434

35-
For Locust based load tests, the total number of virtual users is the number of users specified through any of the configuration options. You can then [configure the number of test engine instances](./how-to-high-scale-load.md#test-engine-instances-and-virtual-users-for-Locust-based-tests) required to generate the total number of users.
35+
For Locust based load tests, the total number of virtual users is the number of users specified through any of the configuration options. You can then [configure the number of test engine instances](./how-to-high-scale-load.md#test-engine-instances-and-virtual-users-for-locust-based-tests) required to generate the total number of users.
3636

3737
### Ramp-up time
3838

3939
The ramp-up time is the amount of time to get to the full number of [virtual users](#virtual-users) for the load test. If the number of virtual users is 20, and the ramp-up time is 120 seconds, then it takes 120 seconds to get to all 20 virtual users. Each virtual user will start 6 (120/20) seconds after the previous user was started.
4040

41-
For Locust, you can specify this using *spawn rate*. Spawn rate is the number of users added per second. If the number of users is 20 and the spawn rate is 2, 2 users will get added every second and it takes 10 seconds to get to all the 20 users.
41+
For Locust, you can configure ramp-up using *spawn rate*. Spawn rate is the number of users added per second. For example, if the number of users is 20 and the spawn rate is 2, 2 users will get added every second and it takes 10 seconds to get to all the 20 users.
4242

4343
### Response time
4444

@@ -78,7 +78,7 @@ To run a load test for your application, you add a [test](#test) to your load te
7878

7979
You can use [Azure role-based access control](./how-to-assign-roles.md) to grant access to your load testing resource and related artifacts.
8080

81-
Azure Load Testing lets you [use managed identities](./how-to-use-a-managed-identity.md) to access Azure Key Vault for storing [load test secret parameters or certificates](./how-to-parameterize-load-tests.md), to access Azure monitor metrics for configuring failure criteria or to simulate managed identity based authentication flows. You can use either a user-assigned or system-assigned managed identity.
81+
Azure Load Testing allows you to [use managed identities](./how-to-use-a-managed-identity.md) for various purposes, such as accessing Azure Key Vault to store [load test secret parameters or certificates](./how-to-parameterize-load-tests.md), accessing Azure Monitor metrics to [configure failure criteria](./how-to-define-test-criteria.md#access-app-component-for-test-criteria-on-server-metrics), or simulating [managed identity-based authentication flows](./how-to-test-secured-endpoints.md#authenticate-with-a-managed-identity).
8282

8383
### Test
8484

articles/load-testing/how-to-export-test-results.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ The following code snippet shows an example of how to use the backend listener f
156156

157157
You can download the full [example of using the Azure Application Insights backend listener](https://github.com/Azure-Samples/azure-load-testing-samples/tree/main/jmeter-backend-listeners).
158158

159-
For Locust-based tests, you can use [event hooks](https://docs.locust.io/en/stable/extending-locust.html) or [listener plugins](https://github.com/SvenskaSpel/locust-plugins?tab=readme-ov-file#listeners)
159+
For Locust-based tests, you can use [event hooks](https://docs.locust.io/en/stable/extending-locust.html) or [listener plugins](https://github.com/SvenskaSpel/locust-plugins?tab=readme-ov-file#listeners).
160160

161161
## Copy test artifacts from a storage account container
162162

articles/load-testing/how-to-high-scale-load.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Depending on the type of load test, URL-based, JMeter-based or Locust-based, you
3131
| URL-based (basic) | Specify the target number of virtual users in the load test configuration. | Linear load pattern, based on the ramp-up time and number of virtual users. |
3232
| URL-based (advanced) | Specify the number of test engines and the number of virtual users per instance in the load test configuration. | Configure the load pattern (linear, step, spike). |
3333
| JMeter-based | Specify the number of virtual users per instance in the test script. Specify the number of test engines in the load test configuration. | Configure the load pattern in the test script. |
34-
| Locust-based | Specify the total number of users in the load test configuration, the locust configuration file or the test script. Specify the number of test engines in the load test configuration. | Configure the load pattern in the test script. |
34+
| Locust-based | Specify the total number of users in the load test configuration, the locust configuration file, or the test script. Specify the number of test engines in the load test configuration. | Configure the load pattern in the test script. |
3535

3636
### Configure load parameters for URL-based tests
3737

@@ -184,7 +184,7 @@ To specify the load parameters for a Locust-based load test:
184184
185185
1. In the [Azure portal](https://portal.azure.com/), go to your Azure Load Testing resource.
186186
187-
1. In the left navigation, select **Tests** to view all tests.
187+
1. In the left navigation, select **Tests** to view all tests.
188188
189189
1. In the list, select your load test, and then select **Edit**.
190190
@@ -193,7 +193,7 @@ To specify the load parameters for a Locust-based load test:
193193
Alternately, you can also edit the test configuration from the test details page. To do so, select **Configure**, and then select **Test**.
194194
195195
1. On the **Edit test** page, select the **Load** tab. Enter the values for the overall users required and overall spwan rate in the respective input boxes.
196-
The engine instance count required to generate this load is automatically populated. If your test script is complex and resource intensive, use the **Engine instances** slider control to update the number of test engine instances, or enter the value directly in the input box.
196+
The engine instance count required to generate this load automatically populates. If your test script is complex and resource intensive, use the **Engine instances** slider control to update the number of test engine instances, or enter the value directly in the input box.
197197
198198
:::image type="content" source="media/how-to-high-scale-load/edit-test-load-locust.png" alt-text="Screenshot of the 'Load' tab on the 'Edit test' pane for Locust-based tests." lightbox="media/how-to-high-scale-load/edit-test-load-locust.png":::
199199
@@ -293,7 +293,7 @@ The location of the Azure Load Testing resource determines the location of the t
293293

294294
## Test engine instances and virtual users for Locust-based tests
295295

296-
Configure the total number of users required for your load test. This represents the peak number of concurrent Locust users. You can configure this in the load configuration while creating a test in Azure Load Testing. You can also configure this in your test script or the Locust configuration file. We recommend running upto 500 users from a test engine instance.
296+
Configure the total number of users required for your load test. This represents the peak number of concurrent Locust users. You can configure this in the load configuration while creating a test in Azure Load Testing. You can also configure this in your test script or the Locust configuration file. We recommend running up to 500 users from a test engine instance.
297297

298298
In Azure Load Testing, *test engine* instances are responsible for running the Locust script. All test engine instances run in parallel. You can configure the number of instances for a load test.
299299

articles/load-testing/how-to-move-between-regions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To get started, export the ARM template for the Azure load testing resource and
5151

5252
1. Select the ellipsis (**...**) for a test run, and then select **Download input file**.
5353

54-
The browser should now start downloading a zipped folder that contains all input files for the test, such as the [test configuration YAML file](./reference-test-config-yaml.md), the test script, and any configuration or data files.
54+
The browser begins downloading a zipped folder that contains all input files for the test, such as the [test configuration YAML file](./reference-test-config-yaml.md), the test script, and any configuration or data files.
5555

5656
:::image type="content" source="media/how-to-move-an-azure-load-testing-resource/download-input-artifacts.png" alt-text="Screenshot that shows how to download input files for a test.":::
5757

articles/load-testing/how-to-read-csv-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.custom: template-how-to
1515

1616
In this article, you learn how to read data from a comma-separated value (CSV) file in test script with Azure Load Testing. Use data from an external CSV file to make your JMeter or Locust test script configurable. For example, you might iterate over all customers in a CSV file to pass the customer details into API request.
1717

18-
In JMeter, you can use the [CSV Data Set Config element](https://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config) in your test script to read data from a CSV file. In Locust, you can open the CSV file in your test script, read the required data and pass it to the requests.
18+
In JMeter, you can use the [CSV Data Set Config element](https://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config) in your test script to read data from a CSV file. In Locust, you can open the CSV file in your test script, read the required data, and pass it to the requests.
1919

2020
To read data from an external file in Azure Load Testing, you have to upload the external file alongside the test script in your load test. If you scale out your test across multiple parallel test engine instances, you can choose to split the input data evenly across these instances.
2121

articles/load-testing/how-to-test-secured-endpoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ certificates:
243243

244244
When you run your load test, Azure Load Testing retrieves the client certificate from Azure Key Vault, and automatically injects it in each JMeter web request.
245245

246-
For Locust-based tests, you can retrieve the certificate and use it in your tests script. The certificate configured in the load test configuration will be available in the `ALT_CERTIFICATES_DIR`.
246+
For Locust-based tests, you can retrieve the certificate and use it in your tests script. The certificate configured in the load test configuration are available in the `ALT_CERTIFICATES_DIR`.
247247

248248
```Python
249249
cert_dir = os.getenv("ALT_CERTIFICATES_DIR")

articles/load-testing/overview-what-is-azure-load-testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Azure Load Testing can use the Apache JMeter or Locust testing frameworks and su
4444
- Databases via JDBC
4545
- TCP-based endpoints
4646

47-
For JMeter, you can [use JMeter plugins](./how-to-use-jmeter-plugins.md) in your test script, you can load test more application types. For Locust, you can [use third party extensions](https://docs.locust.io/en/stable/extensions.html), Locust plugins or any other Python libraries to extend the cpabilities of Locust.
47+
For JMeter, you can [use JMeter plugins](./how-to-use-jmeter-plugins.md) in your test script, you can load test more application types. For Locust, you can [use third party extensions](https://docs.locust.io/en/stable/extensions.html), Locust plugins, or any other Python libraries to extend the cpabilities of Locust.
4848

4949
With the quick test experience you can [test a single URL-based HTTP endpoint](./quickstart-create-and-run-load-test.md). By [uploading a JMeter script](how-to-create-and-run-load-test-with-jmeter-script.md), you can use all JMeter-supported communication protocols.
5050

articles/load-testing/quickstart-add-load-test-cicd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ If you want to automate your load test with GitHub Actions, learn how to [manual
2929

3030
- Your Azure DevOps organization needs to have the [Azure Load Testing](https://marketplace.visualstudio.com/items?itemName=AzloadTest.AzloadTesting) extension installed.
3131

32-
- A load testing resource, which contains a test. Create a [URL-based load test](./quickstart-create-and-run-load-test.md), [use an existing JMeter script](./how-to-create-and-run-load-test-with-jmeter-script.md) or [use an existing Locust script](./quickstart-create-run-load-test-with-locust.md) to create a load test.
32+
- A load testing resource, which contains a test. Create a [URL-based load test](./quickstart-create-and-run-load-test.md), [use an existing JMeter script](./how-to-create-and-run-load-test-with-jmeter-script.md), or [use an existing Locust script](./quickstart-create-run-load-test-with-locust.md) to create a load test.
3333

3434
## Configure a CI/CD pipeline
3535

0 commit comments

Comments
 (0)