Subscribe to SoftLogica
Newsletter to get 10% discount on newly
released products!
Virtual User Settings
On Virtual User Settings page of
New Test Scenario Wizard, you can specify options of real user simulation.
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 between pages. As
in request: The program will use delay values specified in properties
of individual requests. You will be able to set delay values later in
request properties. Random
from range: Delay values 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. User connection speed
This parameter adds more reality to your tests. It is used to emulate
the limited channel capacity: connection speed of each virtual user will
be limited to the value selected in the User connection speed combo-box.
On the whole, when you set the typical user think time and connection speed,
you reduce the load against the tested server. However, you will get
more correct and easier interpretable results in this case.
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.
Check the Use IP spoofing option to enable it.
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: Selects all IP addresses in the list.
Select None: None of IP addresses will be selected.
If you select several addresses, WAPT will use them at random.
User agent Here you can select the type of browser that will be emulated during your tests. Proxy emulation
Check the Proxy emulation option to add "X-Forwarded-For" directive
to HTTP header of requests. This will imitate different users working
through a proxy server. It is done to emulate page requests coming from
multiple computers. For example, for the first virtual user the directive
X-Forwarded-For: 192.168.0.1 will appear in HTTP header.
IP address mask used in proxy emulation is: $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.