Silk Performer user simulation.
The User Simulation feature was introduced in SilkPerformer 7.0, which allows you to simulate how your virtual users will react to the time taken for a tested web site to load, for example how quickly they will click away from a page if it has not fully downloaded. To access this feature, navigate to the following area in Silk Performer:
[SETTINGS | ACTIVE PROFILE | WEB | SIMULATION]
In this window you will see the User Tolerance area:
The default tolerance level is set to "No user simulation", which means no rules or conditions are set for any user simulation. The other predefined tolerance levels are as follows:
- Patient user
- Average user
- Nervous user
- Insane user
A description for each tolerance type is displayed when it has been selected. To view what exact values the predefined tolerance levels use, or to customize these values, click on the Advanced button. This will display the Advanced User Tolerance window:
In this area you can modify the boundaries that have been set for each tolerance user level. The four options available allow you to control various aspects of a page's download time, such as the time taken for any data to be received by the user, the time taken to for a document to complete, the time taken for a page to complete, and the time taken for the pure image load time (the time for an HTML document to be loaded in with all embedded images).
You can enable or disable any of these options separately. For each of these options, you can define the time period that must be exceeded before the rule will be triggered, and how many times the page will be reloaded if the time period is exceeded. You can also define the decision that the user will make if the time period for the rule is exceeded. This includes the following options:
- Continue waiting: the user will continue waiting for the specified time period. This is only effective if the number of reloads have been set to a value greater than zero. When the number of reloads is zero, the user will do nothing if this is selected.
- Abandon: this simulates a user pressing the Stop button on a web browser. It will reset all connections associated with the user and the web page.
- Wait additional: this specifies an additional amount of time for a user to wait once the normal waiting period expires. When this additional wait period expires, the user abandons the loading of the page.
If the "Error Tolerance" section is enabled, it tells a user to reload a page when it encounters an error. If the error type is set to Page, the error can be anywhere in the page, such as in an image. The Document error type means the error can be found in the HTML document, such as a frameset missing from the page.
The User Tolerance can also be set using the WebSetUserSim function in BDL script. This functions allows you to adjust the advanced options for the user tolerance simulation.