Load Testing: Load Testing setup
Overview
Use this page to configure the scenarios, workload scripts, test users, and wait events a load test is built from. A scenario defines a test's user and idle phases: it runs one or more uploaded workload scripts, signs in as one or more test users, and can mark wait events to pause or synchronize its execution. Instead of scattering these four building blocks across separate menu entries, Load Testing setup gathers them behind one page as four tabs, Scenarios, Workloads, Test users, and Wait events, each governed by its own permission.
A load test is built from a scenario defined here plus a load profile configured on a separate page. You typically upload the workload scripts a scenario will run, in the Workloads tab, and define its test users, in the Test users tab, before you create or edit the scenario itself. Once a scenario and the building blocks it depends on are in place, you select that scenario together with a load profile when you start a run.
On this page, you can review KPI totals for your scenarios, search and filter the scenario list, create or edit a scenario, upload and organize workload scripts into folders, and manage the test user accounts and wait events scenarios depend on, all without leaving Load Testing setup.
Key concepts
- scenario - A test definition that combines user and idle phases, built from one or more workload scripts, the test users it signs in as, and any wait events it marks. (related: Load Testing: Load profiles)
- workload script - An uploaded .lgs file containing the actions a scenario runs; managed in the Workloads tab.
- test user - An account a scenario signs in as while it runs; managed in the Test users tab.
- wait event - A marker a scenario can use to pause or synchronize its execution at a specific point; managed in the Wait events tab.
- load profile - The other building block a load test is built from besides a scenario; it is configured on its own page and selected together with a scenario when you run a test. (related: Load Testing: Load profiles)
When to use it
- Before running a load test, to create or edit the scenario that defines its user and idle phases.
- When you need to upload a new workload script (.lgs file) or organize existing ones into folders.
- When you need to add or review the test user accounts a scenario signs in as.
- When you need to add or review the wait events a scenario marks to pause or synchronize its execution.
- When checking how many scenarios exist, which one the page reports as Active, or the peak user count reached across previous scenarios.
Before you begin
- A workload script (.lgs file) uploaded in the Workloads tab, if the scenario you plan to create or edit needs to run one.
- Test user accounts defined in the Test users tab, if the scenario needs to sign in as a specific user.
- Permission to view or edit the specific Load Testing setup tab you need: Scenarios, Workloads, Test users, and Wait events are each permissioned separately.
Common workflows
Find and edit an existing scenario
Persona: Load test operator
- Open the Scenarios tab.
- Expect: The tab becomes active and the KPI cards and scenario cards for this workspace appear.
- Enter a scenario name in Search scenarios.
- Expect: The card list narrows to scenarios whose name matches what you typed.
- Select Edit on the scenario card you want to change.
- Expect: The scenario editor opens scoped to that scenario.
Verify: The scenario editor opens for the scenario you searched for, ready for you to adjust its user and idle phases.
Upload a new workload script
Persona: Load test operator
- Open the Workloads tab.
- Expect: The toolbar switches to Create folder, Refresh, and Upload workload, and the script list loads below.
- Select Upload workload.
- Expect: A file picker opens for choosing a .lgs workload script file to upload.
Verify: The uploaded script appears in the Workloads list, available to attach to a scenario; select Refresh if it is not visible yet.
Steps
Step 1
Open Load Testing setup from the Setup section.
Expected result: The page opens on the Scenarios tab, showing the KPI cards (Total scenarios, Active scenario, Peak users, Longest duration) and the scenario cards below them.
This is the starting point for defining the scenarios, workload scripts, test users, and wait events a load test needs.
- The subtitle explains that each tab, Scenarios, Workloads, Test users, Wait events, carries its own permission.
- KPI cards show Total scenarios (7), Active scenario (AVD Desktop Check), Peak users (25), and Longest duration (1h).
Step 2
Select the Workloads tab.
Expected result: The toolbar switches to Create folder, Refresh, and Upload workload; the list of uploaded workload scripts loads below.
Switching to Workloads is how you manage the .lgs script files scenarios run.
- The tab subtitle reads 'Manage workload scripts (.lgs files)'.
Tabs on this page
- Scenarios - Define and manage test scenarios, each combining user and idle phases. This is the default tab when you open Load Testing setup.
- KPI cards for Total scenarios, Active scenario, Peak users, and Longest duration; a Search scenarios box and Show filter; scenario cards with name, status chip, Edit control, and Users count.
- Workloads - Manage the uploaded workload script files (.lgs) that scenarios run.
- Create folder, Refresh, and Upload workload controls above a list of uploaded scripts.
- Test users - Lists the test user accounts a scenario can sign in as while it runs.
- Governed by its own permission, separate from the other tabs.
- Wait events - Lists the wait events a scenario can mark to pause or synchronize its execution at a specific point.
- Governed by its own permission, separate from the other tabs.
Field reference
| Field | Purpose | Format / Validation | Required | Default |
|---|---|---|---|---|
| Search scenarios | Filters the scenario card list to names containing the text you type, so you can find a specific scenario without scrolling through the full list. | free text | No | empty |
| Show | Narrows the scenario list to a defined set of scenarios; set to All scenarios by default so no scenario is hidden from the list. | dropdown | No | All scenarios |
Column reference
| Column | What it shows | How to read it |
|---|---|---|
| Scenario name | Identifies a scenario on its card. | Confirm it's the scenario you mean before selecting Edit, since names are the only identifier shown on the card. |
| Status chip | Shows the scenario's status. | A green Active chip with a checkmark is the only status value observed on this page; it marks a scenario as currently usable. |
| Users (N) | Shows how many test users the scenario is configured to sign in as when it runs. | A higher count means more simultaneous sign-ins; compare it to the number of concurrent sessions you expect this scenario to drive. |
| Progress bar | A horizontal bar on each scenario card. | No numeric label or legend is shown on this page, so its exact meaning cannot be determined from the card alone. |
| Total scenarios | Counts every scenario defined in this workspace. | If this number is larger than the cards you can see, scroll the list to find the rest. |
| Active scenario | Names the scenario the page reports as Active. | Use it to see at a glance which scenario the KPI considers Active without opening every card. |
| Peak users | Shows the highest concurrent test-user count reached across all scenarios. | A higher number means a larger test has previously been configured; use it to gauge the biggest ramp this workspace has seen. |
| Longest duration | Shows the longest configured duration found in a single scenario, not summed across scenarios. | Because it comes from one scenario rather than a total, use it to see the longest individual test window currently defined. |
Controls reference
Refresh (Scenarios tab)
Reloads the scenario list and KPI cards from the server.
When to use: Use it after someone else changes a scenario, or if the list looks out of date.
Side effects: Read-only: refreshes what you see, changes no data.
Create scenario
Opens the flow to define a new scenario's user and idle phases.
When to use: Use it when none of the existing scenarios cover the test you need to run.
Side effects: Mutating once you complete and save it: adds a new scenario card and increases the Total scenarios count.
Views
Opens a menu for changing how the scenario list is presented.
When to use: Use it when you want to change the way scenarios are displayed on this page.
Side effects: Read-only: changes only your view of the list, not the underlying scenarios.
Edit (scenario row)
Opens the editor for that specific scenario.
When to use: Use it to change an existing scenario's phases or settings instead of creating a new one.
Side effects: Mutating once you save changes inside the editor; the card updates to reflect them.
Overflow menu (scenario row)
Opens a menu of further actions for that scenario.
When to use: Use it when the action you need isn't the primary Edit control.
Side effects: Depends on the action chosen inside the menu.
Help icon
Opens help information for the Load Testing setup page.
When to use: Use it if you're unsure what a tab or control on this page does.
Side effects: Read-only.
Create folder
Creates a new folder to organize uploaded workload scripts.
When to use: Use it before uploading scripts if you want to group them, for example by application or team.
Side effects: Mutating: adds a folder to the Workloads list.
Upload workload
Opens a file picker to upload a new workload script (.lgs file).
When to use: Use it to add a script a scenario can run.
Side effects: Mutating once a file is selected: adds the script to the Workloads list.
Refresh (Workloads tab)
Reloads the list of uploaded workload scripts.
When to use: Use it after an upload does not appear immediately, or if the list shows an error.
Side effects: Read-only.
Verify the result
When a tab loads correctly, the Scenarios tab shows accurate KPI totals, for example Total scenarios matching the number of cards you can scroll through, and each scenario card shows its name, an Active status chip, an Edit control, and a Users count. Selecting Workloads, Test users, or Wait events switches the toolbar and list below without leaving the page. If a tab instead shows gray placeholder bars with a red 'An unhandled error has occurred' banner, its list failed to load and no scenario, workload, user, or wait-event data is usable yet. The first thing to check is the banner's Reload link or the page's own Refresh button; if the list still does not render, the underlying service may be unavailable.
Troubleshooting
- Symptom: A tab shows gray placeholder bars and a red 'An unhandled error has occurred' banner instead of a list. Fix: Select the banner's Reload link, or select the tab's own Refresh button; if the error persists, reload the browser tab.
- Symptom: Search scenarios returns no cards even though scenarios exist. Fix: Clear the search text and confirm the Show dropdown is set to All scenarios so you are not scoped to a narrower set.
- Symptom: The Total scenarios KPI shows a higher count than the scenario cards visible on screen. Fix: Scroll the list; only the first cards are shown above the fold.
- Symptom: A tab you need, such as Test users or Wait events, does not appear in the tab bar. Fix: Each tab is permissioned separately; ask an administrator to grant access to that specific tab.
- Symptom: A file uploaded with Upload workload does not appear in the Workloads list right away. Fix: Select Refresh on the Workloads tab to reload the list.
Related articles
- Prerequisite: Load Testing: Load profiles - a load profile is the other building block a load test needs alongside the scenarios configured here
- Next step: Load Testing: Run test - scenarios configured here are selected together with a load profile when you start a test run
- See also: Load Testing: Systems under test setup - workload scripts run against systems under test configured on that page
- Prerequisite: Platform: Permissions - each Load Testing setup tab is granted separately through platform permissions