Create noise generator scripts
This section describes how to create noise generator scripts.
Overview of script types
You can approach performance testing in the following ways:
-
Create a performance test that runs complex Vuser scripts. These scripts perform a business process and contain transactions, complex flows, and checkpoints.
-
Create a load on the server by having a large number of users (real or virtual) access the same URL simultaneously. This is commonly known as noise testing.
The first approach uses a standard Vuser script generated with VuGen. The script performs the full business process and gathers the metrics. After the test run, you can retrieve meaningful information from the Analysis graphs and reports.
The second approach, noise testing, only allows you to determine the response times and whether the server can handle the load without crashing.
When creating a performance test, you can use both types of scenarios.
Create a noise script
To create a noise generated script:
-
In the top banner, click the module name or the dropdown arrow and select Test Management > Tests & Scripts.
-
Select a performance test in the test management tree and click Edit Test.
-
In the Performance Test Designer window, click Groups and Workload.
-
In the Groups pane, click the Add Group button , and select the Noise tab.
-
Click the Add button and specify the URL of the server you want to access. During the performance test run, Vusers access the URL simultaneously.
You can specify noise generator scripts when defining the test workload. For details, see Define test workloads.
See also: