Subscribe to SoftLogica
Newsletter to get 10% discount on newly
released products!
Editing Virtual User Profiles
Editing Virtual User Profiles
Click on any profile in the Navigation Pane and its properties will be displayed in the
right pane. Here you can view and modify profile properties.
Name
Here you can change the name of user profile.
Filename
Here you can specify another file where the profile will be saved to.
User think time
During the recording process, WAPT records delays between pages. Delays are used in tests to
simulate user think time. This adds more reality to your tests.
Disable:
The program will not use delays for requests of the current profile. Specified in request:
The program will use delay values specified in request properties.
You will be able to enter delay values for individual requests. Random from range:
Delay values for requests of this profile will be taken
from the specified range at random. Enter the limits of range.
You can set equal delays for all pages: for this,
specify equal limits of range.
Simulate
user connection speed
This option adds more reality to your tests.
Select the typical web user connection speed in the Simulate user connection speed combo-box.
Load page elements
When you navigate through a web site in WAPTRecorder, the program records
the full content of web pages including all
additional (external) resources: images, CSS, JavaScript etc.
You can configure each profile either to request the additional resources of web pages during test run or not.
If you check the Load page elements option, then pages of the current profile will be loaded together with their
images, CSS and JavaScript during test run.
If you uncheck this option, then all pages of the current profile will be loaded without images and other resources,
so they will be loaded faster. However, the load on the
tested server will be inadequate in this case: it will correspond to the situation when all users of this profile switch off
the download of images, JavaScript etc.
Keep alive server connection
If this option is checked, the directive "Connection: Keep Alive"
will be included in the header of each HTTP request.
Break user session on errors
This option defines how to process errors. If it is checked, then sessions will be aborted in case of
error. (Note that not the whole test will be aborted, but the
current user session. Then the next session will be started.) If this option is not checked, then sessions will be
continued regardless of an error. If an error occurs, the next page of the current user session will be loaded.
Encode request parameters
This option defines whether to encode request parameters, or not when they are transferred to the server.
By default, this option is checked, and
WAPT encodes all values of parameters in queries. However, some sites may require
parameters in raw format. For such sites you can disable parameters encoding - just uncheck this option.
Use custom separators in URLs
Here you can specify custom separators to use in the query parts of requests.
You can define separators between different parameters (by default, it is the "&" symbol) and between the pair
"parameter name - value" (by default, it is the "=" symbol).
Specified separators will be used for all requests of this profile.
Basic authentication WAPT supports all security features related to basic authentication.
You can provide the list of usernames/passwords for basic authentication:
click the Users and Passwords... button.
Add: Adds a new string to the list of usernames/passwords. You can specify desired credentials
in that string. Remove: Removes selected username/password from the list. Import..: Imports usernames/passwords from a text file. In the displayed dialog,
you should specify a desired text file.
Each string of that file should consist of username and password separated by tabulator sign,
for example:
Integrated Windows authentication WAPT supports all security features related to Integrated Windows authentication (NTLM).
You can provide the list of usernames/passwords as in the case of basic authentication.
Besides, WAPT supports form-based authentication via
request parameters, for example,
you include a username and password to the request.
You can also test pages that require SSL connections.
URL address of such pages will start with https://.
Use IP spoofing
You can set up multiple IP addresses on your test computer
and then
use several IP addresses during tests to emulate page requests coming from multiple computers.
This feature is called IP spoofing.
Click the IP Address List... button and you will see the list of IP addresses
available on your system.
Click on the checkbox of any address in the list to check/uncheck it.
Select All: Puts checkmarks for all IP addresses in the list.
Select None: Removes all checkmarks in the list.
If you select several addresses
in the list, WAPT will use them at random.
Use persistent cookies
Cookies are small portions of text left in browser on user's computer by web servers.
They are recorded to special files and in future could be transmitted back to web servers.
There are two different types of cookies: session cookies and persistent cookies.
Session cookies are temporary and are erased when you close your browser at the end of browsing
session. The next time you visit that particular site, it will not recognize you and will treat you
as a completely new visitor, because there is nothing in your browser that tells the site that you
have visited it before.
Web sites typically use session cookies to ensure that you are recognized when you move from page
to page within one session and that any information you have entered is remembered.
For example, if
an e-commerce site did not use session cookies then items placed in a shopping basket would disappear
by the time you reach the checkout.
Persistent cookies remain on your hard drive until you erase them or they expire. The time during
which a cookie remains on your browser depends on how long it is programmed to remain by the visited
web site.
A persistent cookie enables a web site to remember you on the next visits. For example, a web site
may offer its contents in different languages. On your first visit, you may choose to display the
content in French and the site may record that preference in a persistent cookie set on your browser.
When you visit that site the next time, it will use the cookie and display the content in French.
WAPT supports both session and persistent cookies.
You can provide different
persistent cookies for different users.
Click the Cookies... button to specify cookie values.
Add: Adds a new string to the list of cookies.
You should enter
virtual user's number and his cookie/cookies. For each cookie, you should specify its name and value:
<name>=<value>.
You can enter several cookies separated by semicolons for the same user.
Remove: Removes selected string with virtual user's number and his cookies from the list. Import..: Imports cookies from a text file. In the displayed dialog,
you should specify a desired text file. Each string of that file should consist of
virtual user's number and his cookie separated by tabulator sign.
You can enter several cookies separated by semicolons for the same user,
for example:
Default HTTP headers
Click the Default HTTP headers... button to edit custom strings in HTTP headers
of page requests. The specified header will be used as default for all requests of this user profile.
However, you will be able to change HTTP header for any request in
request properties.
Add: Adds a new custom string to the list. Specify string name and value.
Remove: Removes selected custom string from the list.
User-Agent: Enables to select a type of browser for your test.
Select a desired browser from the combo-box.
Add "X-Forwarded-For" HTTP header: Toggles the use of additional fields in
HTTP header for imitating different users working through a proxy server. It is useful to emulate page
requests coming from multiple computers.
Use mask: Enables to specify IP address mask used in proxy emulation. $C1 - low byte of virtual user's number; $C2 - high byte of virtual user's number; $R1 - low byte of iteration number; $R2 - high byte of iteration number.
All values span from 1 to 254. To emulate page requests coming from unique IPs, set the mask to:
$C2.$C1.$R2.$R1.
Obviously, if the amount of page requests exceeds 64262, $Rx values will be repeated.
You can use a static value instead of $C2 if the amount of virtual users is lower than 253. WAPT default proxy mask is 192.168.$C2.$C1. For example, for the first virtual user the directive
X-Forwarded-For: 192.168.0.1 will appear in the HTTP header.
Use the list of IP addresses: Enables to specify the list of IP addresses. Click the
IP Addresses... button. In the displayed dialog, enter desired addresses.
Add: Adds a new string to the list of addresses. Specify there a desired IP address.
Remove: Removes selected address from the list.
The properties specified for user profile will be used for all its requests.
However, you will be able to change
specific user think time and HTTP headers for any request
on its Properties tab.