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.
WAPT Pro has the built-in Recorder. It is a window of
Microsoft® Internet Explorer browser embedded in the program interface.
This tool records your actions as you navigate through a web site and then reproduces these steps during test run.
Click the Rec button on the toolbar to start recording. You will see a dialog where you should 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.
You can select a browser that will be used for recording.
Embedded Internet Explorer Window: WAPT Pro has an embedded window of Microsoft® Internet Explorer browser. WAPT Pro Recorder will record all your actions as you navigate through a web site in that window.
External Browser: You can select an external browser for recording. Choose a desired browser in the combo-box below. After you click "OK", you will see a separate window of selected browser. WAPT Pro Recorder will record all your actions as you navigate through a web site in that window.
You can use the option Manual Configuration in case you want to record profiles in a browser which is not included in the list of supported browsers on your system, or if you use a browser on another computer or mobile device for recording.
Note that embedded Internet Explorer differs from the external Internet Explorer browser. It does not have some interfaces which are available in the standalone Internet Explorer (e.g. the AutoComplete feature).
Delete Internet Explorer Browsing History
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 the embedded or external Internet Explorer,
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 to record a "clean" session
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 Explorer files.
Delete Cookies: Check this option to delete cookies. This command will delete all cookies: session and persistent.
If you are using some external browser (other than Internet Explorer), these options will not work for it. So, if you want to record a "clean" session, you should delete the browser cache and cookies in that browser manually.
Automatically Group Recorded Requests: This option defines how the sub-requests of the main request should be recorded: as sub-requests (if this option is checked) or as individual requests (if this option is not checked). The following example demonstrates how it works: requests of the first profile are grouped under the main request, requests of the second profile - not grouped.
Parameterization..: Here you can set rules for searching the dynamic data during recording. See Parameterization Settings for details.
Certificate for Recorder
For recording of pages secured by SSL, you can select the necessary certificate for Recorder on the HTTPS tab of program settings.
Ignore URLs during Recording
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 (or in the address bar of external browser)
and press Enter.
will automatically record all your actions while you are browsing your web site in a regular browser window.
Using that procedure you can record the typical behavior of each type of users you want to emulate.
All recorded pages are 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 it.
WAPT Pro 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.
Stop the Recording Process
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 and you will see its properties in the right pane.
You can add page URLs and requests for resources (images, scripts and so on) manually. Select a profile in the Navigation Pane and click the Add button on the program toolbar. A new request will be added to selected profile. Or you can right-click the name of profile and select the New Request option on the context menu.
WAPT Pro Recorder works as a proxy between the tested server and web browser.
In particular, if there is one or several proxy servers on the way to the tested server, then
WAPT Pro Recorder proxy is incorporated between the web browser and the first proxy
server in the chain.
Depending on the option Use browser proxy settings in Recorder settings, Recorder proxy can take the current proxy configuration of the browser that was selected for recording and use it. By default this option is turned on, and Recorder proxy uses the proxy configuration of selected browser.
For example, if you select Firefox as an external browser for recording, WAPT Pro Recorder proxy will take the current proxy settings of Firefox and use them for recording. Firefox will use Recorder proxy to establish connections. When you stop recording (click the Stop Rec button), all settings will be restored to their initial state both in Firefox and WAPT Pro Recorder proxy.