To create a scenario, navigate to “Loadtest > Create & Run Scenario”:
...
The basic steps process for creating a scenario consists of five four main steps:
...
...
Define general informationscenario settings
Select scripts to use Include in the scenario
Configure Performance Agents
Configure Scenario Options
Step 1: Select a Subscription
The first step when creating a load test is to choose which Plans & Subscriptions to use for the test.
View
...
Define advanced script options (optional)
Define test options
...
Note |
---|
The “Script Options” step will only appear if you click the “Script Config” button to the right of a script within the “Scripts” tab. |
Step 1: Define Scenario Settings
The general information section contains information about the scenario, which project it and instance it belongs to, tags and additional information.
...
The “Load Scenario” button allows users to select a scenario from the Saved Scenarios dialog:
...
Unique scenarios button lets you choose a Saved Scenario.
...
can be saved via the “Save Scenario” button. The next step when creating a load test is to choose which Plans & Subscriptions to use for the test.
...
Step 2: Select scripts to include in the scenario
After choosing the desired subscription, it is time to pick the scripts to use in the scenario.
...
Projection
...
As you select scripts and configure them, a projection is shown below the configuration.
Step 4: Configure Performance Agents
When you have set up the script sequence, you can configure performance agents:
...
Schedule
...
The schedule determines when the scenario will run. You must schedule at least one run.
Step 5: Configure Scenario Options
Advanced Options: Flow :
...
To configure advanced options for each script, click the “gear” icon to the right of each row:
...
Step 3: Define Script Options (optional)
Note |
---|
The “Script Options” step will only appear if you click the “Script Config” button to the right of a script within the “Scripts” tab. |
...
The Advanced Options section defines flow control for users and load test engine options. The Max Loops per User
Unlimited (Default)
1-20 in increments of 1
20-100 in increments of 5
100-200 in increments of 10
section defines the number of times an individually defined user will loop through the script. The Request Timeout (sec)
60 (Default)
1-20 in increments of 1
20-100 in increments of 5
100-200 in increments of 10
Additional Options
[TBD]
User Input text files: Allows defines the time a request will wait for a server response.
It is possible to define Additional Options on a Scenario level. These additional options will apply to all scripts in the scenario. Users can define additional options exactly as they would for an individual load test. The User Input text files allow the external input of files containing User-Defined Variables.
...
...
Users must define a cluster of locations from which their test will be run in the Locations section. Select the Load Generation location, or Cluster of Load Generation locations before running the test. Select from the map or use the dropdown box for a list of all locations/clusters. Note that you users can select a set of locations and then Save save them as a Cluster for ease of easier re-use.
...
When a bold Red X is next to a selected cluster, this is the option to delete the cluster
After the confirmation dialog
...
The red “X” icon allows users to delete a cluster after it is defined.
The Client options field defines load test client behavior and settings
...
:
...
The Clientside Monitoring
...
section allows for basic service monitoring through a single endpoint (URL)
...
or a monitoring script (Selenium IDE).
...
DNS: Domain name lookup behavior and DNS servers.
Allows (1) a DNS Hosts File(s) to provide a TXT file as input/translation or (2) a specific DNS Server to the load test execution. The DNS section allows users to specify multiple options related to DNS:
...
Check the "Resolve DNS for Each Executed Loop " to have a new/non-cached DNS resolution per each loop execution.
When the performance agents have been configured.
Step 4: Define Test Options
Define additional test options, such as reporting, as directed in this step.
...
The schedule determines when the scenario will run. You must schedule at least one run.
...
When the schedule has been defined, the load test can be saved and initiated!
...