Subscribe to SoftLogica
Newsletter to get 10% discount on newly
released products!
Recording a Virtual User
Recording a Virtual User
User profile consists of a sequence of web pages that will be requested during test run.
To add pages to a profile, you can record the real activity in browser.
This can be done
using WAPT ProRecorder.
This tool records your actions as you navigate through a web site and then reproduces these steps during test run.
WAPT ProRecorder works as a proxy between the tested server and web browser
opened in the program. In particular, if there is one or several proxy servers on the way to the tested server, then
WAPT ProRecorder proxy is incorporated between the web browser and the first proxy
server in the chain. In this case the current Internet Explorer proxy settings are used by default.
WAPT ProRecorder is a window of Microsoft® Internet Explorer browser.
Select a profile in the Navigation Pane and click on the Recorder tab in the right pane to switch to Recorder.
You will see a prompt dialog asking you
whether the program should always start recording when switching to Recorder or not.
Click Yes if you want to set
WAPT Pro to start recording automatically always when you switch to the
Recorder tab.
Otherwise, you will need to click the Rec button
on the toolbar to start recording.
Then you will need to specify a profile for recording.
Use existing profile:
Select a desired profile in the combo-box. Create a new profile:
Enter a new profile name. A newly created profile will appear in the Navigation Pane.
If you have already browsed pages of the tested web site in Internet Explorer, pages may be kept in
Internet Explorer browsing history.
When the next time you start recording those pages in
WAPT Pro Recorder, they will be taken from cache instead of
making actual requests to the server. To avoid such situation, you should clean Internet Explorer cache
before you start recording. You can also delete cookies if you want
the server not to recognize you, but treat as a completely new visitor.
WAPT Pro can automatically delete Internet Explorer browsing history and cookies
each time you start recording if you turn on the following options.
Delete Temporary Internet files (cache): Check this option to delete Temporary Internet files.
Delete Cookies: Check this option to delete cookies.
Parameterization..: Here you can set rules for searching the dynamic data during recording.
See Parameterization Settings for details.
When you record pages secured by SSL, you can select the necessary certificate for Recorder on the
HTTPS tab of program settings.
Sometimes you may need
to ignore the certain URLs during recording, for example, ignore various counters and web statistics tracking services.
WAPT Pro allows you to do this.
Specify the list of URLs that should be ignored on the
Recorder tab of program settings.
Type the first URL to be recorded in the program Address bar and press Enter. As you navigate
through a web site, WAPT Pro records the steps of your activity in browser.
These steps are the basis of
your test. During test run, WAPT Pro virtual users
will navigate to tested site and perform each step as originally recorded in the
sequence of page requests.
All recorded pages will be added to selected user profile.
If you start recording already having some URLs in user profile,
the new ones will be appended to the end of current profile.
WAPT ProRecorder can record AJAX requests.
You do not need to perform any additional actions and can work with pages containing AJAX scripts
just like you work with any other pages.
When the desired sequence of page requests is formed, you should stop the recording process.
Click the Stop Rec button
on the toolbar.
Now you can edit options of individual requests
so that they would completely satisfy your testing goals.
Click on any request in the Navigation Pane. Its properties
will be displayed in the right pane where
you can view and modify them.
You can add page URLs and requests for resources (images, scripts and so
on) manually. For this, click on the name of user profile
in the Navigation Pane and then
click the Add button on the program toolbar.
A new request will be added to selected user profile.
Or you can right-click on the name of profile and select the New Request option on the context menu.