Recording a Load Test

AppPerfect supports load testing of Web applications based on HTTP/HTTPS protocols. This test is normally used to simulate a large number of users who will access your applications via a Web browser. Once test settings and system settings are configured, you can start "recording a test".

Browser Recording

To start recording a test, click Project -> Record test... from the menubar. This will launch the AppPerfect Recorder dialog. Ensure the browser is correctly configured at Tools -> Options...-> Browsers, JDKs & DBs. Following settings can be configured in Recorder dialog before starting recording :

Browser

You can select the browser for recording from the list of configured browsers. AppPerfect Load Test records test using Proxy Recording

Group

Each project can have multiple groups based on functionality you want to record. Select the group in which you need to record the test from the Group dropdown. Application will record the events in the selected group.

Starting URL:

Provide the starting url of your application here. Application will take care of launching the browser with the starting url provided here.

Transaction:

You can record transactions to get details of response time during execution for set/group of tasks. During recording you can start/stop transaction to record transactions.

Session is managed using url-rewriting

Select this option in case your application maintains session using URL-rewriting. For ex. in case your application sends the session id as part of url path like http://www.abc.com/XY/SESSIONID/PQ then you need to select this option.

Authentication

In case your application requires Authentication then same should be configured here. Refer to Authentication Schemes for details on various authentication mechanisms that can be configured with AppPerfect.

Remove previously recorded/created tasks

In case this option is selected then application first removes or clears all the tasks from the selected group and then records new tasks.

Record Web Test Script simultaneously

AppPerfect support recording of Load Test and Web Test scripts simultaneously. In case this option is selected application also records Web Test script in the project. You can later on open this project in AppPerfect Web Test product and execute the web test.

Filters

Application will exclude or include tasks in recording based on extensions specified in filters (example *.gif, *.jpg)

Recording the test

Click the Start Recording button to start recording. Click Pause/Resume button to pause/resume recording. Click the Stop button to stop recording. Once you start recording application will Launch browser with your application. Perform the required operations in your application and all the http/https requests sent to target application from browser will be recorded in the project.