Skip to content

Commit 74461d3

Browse files
authored
Reflect recent UX updates in Create Test UI
1 parent f9e79d9 commit 74461d3

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

articles/load-testing/quickstart-create-run-load-tests-from-visual-studio-code.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ This quickstart guides you through generating, refining, and running realistic l
2626
> [!TIP]
2727
> VS Code's GitHub Copilot Chat offers multiple AI models. You can switch models using the model picker in the chat input field. If you're unsure which one to use, we recommend GPT-4o.
2828
29-
If you'd like to run the HTTP file, you can install the [httpYac - Rest Client extension](https://marketplace.visualstudio.com/items?itemName=anweber.vscode-httpyac). However, this step is optional and not required for this quickstart.
30-
3129
## Open the walkthrough
3230

3331
To get started, open the command palette in VS Code and run: **Load Testing: Open Walkthrough**. This walkthrough provides the key entry points of the extension.
@@ -43,20 +41,13 @@ You can also access the features directly from the command palette by using the
4341

4442
You can generate a Locust script from any existing Postman collection, Insomnia collection, or .http file. If the file contains multiple requests, Copilot attempts to sequence them into a cohesive scenario.
4543

46-
1. For this quickstart, download and save the [sample PetStore .http file](https://aka.ms/malt-vscode/http-sample) in your current VS Code workspace.
47-
4844
1. Click the **Create a Load Test** button in the walkthrough, or run **Load Testing: Create Locust test** from the command palette.
4945

50-
1. Choose how you want to generate your test script:
51-
- Import a Postman collection
52-
- Import a Insomnia collection
53-
- Import an .http file
54-
- Simple HTTP request - If you don't have a Postman collection or HTTP file, select **Simple HTTP request...** and enter a website URL.
55-
56-
> [!TIP]
57-
> Using a **Postman collection**, **Insomnia collection** or **.http file** is recommended, as it allows Copilot to extract multiple API operations, request data, and authentication details to create a more realistic load test.
46+
1. You can choose the source to auto-generate a Locust test script:
47+
- Selecting a **Postman collection**, **Insomnia collection**, or **.http file** lets Copilot extract multiple API operations, request data, and authentication details—creating a more complete and realistic load test.
48+
- Choosing **Single URL** allows you to enter a single endpoint URL, generating a simple script you can customize or expand.
5849

59-
1. Select the sample file which you saved earlier to your workspace: [**`petstore-sample.http`**](https://aka.ms/malt-vscode/http-sample).
50+
1. **For this walkthrough**, you can select **Try Sample: Pet Shop API**, which uses the [**`petstore-sample.http`**](https://aka.ms/malt-vscode/http-sample) file to generate a sample Locust test script.
6051

6152
1. Copilot analyzes the selected file and generate a **Locust-based load test script**, automatically sequencing API requests to simulate real-world usage and handling authentication securely.
6253

@@ -201,4 +192,4 @@ You can further expand the load test to also monitor server-side metrics of the
201192
## Related content
202193
203194
- Learn how to [monitor server-side metrics for your application](./how-to-monitor-server-side-metrics.md).
204-
- Learn how to configure [automated performance testing with CI/CD](./how-to-configure-load-test-cicd.md).
195+
- Learn how to configure [automated performance testing with CI/CD](./how-to-configure-load-test-cicd.md).

0 commit comments

Comments
 (0)