|
How do I get to the Parameterization screen?
Suite Manager >> Continue with Web Performance Testing >> Select load test from left-side tree view >> Click 'Edit' link under HTTP Parameters from the right panel.
Understanding Parameterization UI
The left side tree displays the list of URLs for the selected transaction.
The right panel of the screen displays the following tabs:
Parameters - Displays the list of parameters passed in get/post request.
Mime - Displays the list of files / form field parameters passed in get/post request.
URL Rewriting - To parameterize the session data embedded in the URL of the request.
Store Variables - To extract the value from
the response content of the previous URL and store it to a named
variable. This variable can be used to parameterize futher in the
transaction.
Cookies - Displays the list of cookies passed in get/post request.
Header - Displays info such as Client Request and Server Response captured during recording.
Select any one of the urls from the left-side tree and one of the tabs from the right panel to view the information or parameterize the values.
The Cookies or Parameters or MIME tab displays the cookies or parameters or MIME types passed in URL.
Selecting the Cookies or Parameters or MIME tab displays a table showing the name of the selected cookie or parameter in the Name column. The Value column shows the value of the selected cookie or parameter or the parameterized information (if it has been already parameterized). The Fetch Data From column shows the options to parameterize in a list button such as dataset, cookie, text, element, javascript, URL, constant, variable or Random Data. The Apply to all Urls column displays the checkbox to reuse the configured parameterization for similar cookies or parameters in the selected transaction.
The URL Rewriting tab displays the selected URL in the URL textarea. You can select the session identifiers passed in URL to parameterize the session identifiers (url-rewriting) where you can fetch values from dataset, cookie, text, element, javascript, constant, URL, variable or Select Complete URL check box to replace the Complete URL with the value fetched from text, element or javascript. To know the details, please refer to the topic Parameterizing Session Data.
The description and the steps to configure the
various types of parameterization are explained below:
Understanding Parameterization Types
| Supported Parameterization Type |
Description |
|---|---|
|
Dataset |
When you select the type as dataset, parameterization is done by importing values from Database or FLAT file or XLS file. The detailed steps are explained below. |
|
Cookie |
Parameterization is done by substituting the value from the specified Cookie. The detailed steps are explained below. |
|
Text |
In this type, Parameterization is done by substituting the value from Text (Response Body of a HTML page). The detailed steps are explained below. |
|
Element |
In this type, the value is fetched from the specified element attribute of a HTML page. The detailed steps are explained below. |
|
Javascript |
In this type, the value is fetched by executing the specified Javascript. The detailed steps are explained below. |
|
URL |
In this type, the value is fetched from the URL of the previous response obtained during playback of the load script. The detailed steps are explained below |
|
Constant Value |
This type does not change values between a recorded session and a replay session. The values recorded can be used as it is for replay. The constant value can be specified in the Value field. Click Apply to dynamically substitute the constant value for the selected parameter or cookie. |
|
Variable |
In this type, you can fetch values from a dataset, cookie, text, element, javascript, url or a constant and store it in a global variable say in URL1. This variable can then be used in some other URL say URL5 in the same transaction to fetch the value from the variable and substitute it for the parameter or cookie or session identifier in URL5. To know the details, refer to the topic Parameterizing Using Variable. |
|
Random Data |
In this type, the value is fetched from a random data source such as Alphabets, Numerals, etc. The detailed steps are explained below. |
| Auto |
In this type, the value for the
parameter will be automatically fetched by QEngine by matching the
parameter name with form field name present in the response content of
the previous URL request.The details are explained here. |
|