• Home
  • Testing
  • SAP
  • Web
  • Must Learn!
  • Big Data
  • Live Projects
  • AI
  • Blog

WAPT Pro is a load Testing tool that can perform various types of Load Testing like Performance Testing, Stress Testing, volume testing, Regression Testing, etc.

With WAPT Pro you can create many virtual user profiles for your test. This will help you emulate different types of real website visitors. WAPT Pro can measure various parameters of the web server and database performance during the test such as CPU, RAM, and network utilization.

WAPT Pro stores each profile in a file with ".wpp" extension. You can add any existing profile to your current test scenario.

Key Features of WAPT Pro

  • Tests can be recorded using any mobile or desktop browser.
  • WAPT Pro can run tests with up to 4,000 concurrent virtual users with the default license and almost unlimited number of users with the additional x64 Load Engines.
  • Supports testing websites based on any OS, including all Unix and Windows platforms.
  • Web application can be tested against the increasing load in terms of CPU, Memory (RAM) or network usage.
  • Can collect various database performance data for Oracle, MS SQL, or any other database that can be retrieved through ODBC.
  • Supports various web technologies like ASP.NET, JSON, Adobe Flash, etc.
  • WAPT Pro enables in-depth reporting. Reports are available in both Excel and HTML formats.
  • Advanced error reporting that is backed up by an integrated log viewer.
  • Distributed load generation which also supports remote test control and cloud-based testing.
  • Supports all types of proxy servers: HTTP(S), SOCKS4(5), etc.
  • Server response processing with the JavaScript support.
  • Support of IP spoofing. Hence you can emulate page requests coming from different IPs.

In this tutorial, we will learn:

Download and Install WAPT Pro

Step 1) Go to this link and click on the "Download x64" button.

Step 2) Click on the "Next" button in the Installation Wizard dialog.

Step 3) Mark the checkbox and click "Next".

Step 4) In the following window click on the "Next" button.

Step 5) In this step,

  1. Make sure that both checkboxes are marked (they are marked by default)
  2. Click on the "Next" button

Step 6) In this step,

  1. Select the directory where you want to save the application files
  2. Click on the "Next" button

Step 7) Click on the "Next" button

Step 8) Your WAPT Pro free trial version is ready for use.

Creating a Test Scenario

After installing and setting up WAPT Pro, your next step is to create a Test Scenario.

Step 1) Depending on your testing goals, select one of the following load types:

  • Constant
  • Ramp-up
  • Periodic

Here we have selected the "Ramp-up" load. During the test the number of users will grow until it reaches its maximum limit. WAPT Pro will test the website performance against the growing number of users.

Step 2) In this step

  1. Specify the initial and the maximum number of users for your first profile.
  2. Click the "Next" button.

Step 3) In the next screen, click on the "Finish" button.

Creating a Profile

To create a profile, follow the steps below.

Step 1) Click on the "Rec" button on the top toolbar to start recording. You will see the "Recording Options" dialog where you should specify a profile for recording.

  1. Name your new profile
  2. Select a browser for recording
  3. Mark the checkboxes for deleting temporary files and cookies
  4. Click "OK".

Step 2) In the next window you can start recording.

  1. Enter the URL you want to test
  2. Click on the "Go" button

On the right-hand side of the panel, you will see all instances being recorded.

Step 3) Once the recording is done, click on the "Stop Rec" button on the top toolbar.

NOTE: Make sure you click on the "Stop Rec" button only when everything for the site has been recorded.

Properties of a Request and its Parameterization

Request properties and parameterization in WAPT Pro are used to deliver session specific data from the client part of your web application to the server. For example, if you want each virtual user to login with a different name and password, then you should use the "URL parameters" tab and click the "Edit" button to edit the necessary parameter.

Step 1) In this step,

  1. Select a request from the left-hand panel
  2. Select a parameter in the list of parameters and click on the "Edit" button
  3. Edit parameter and click on the "OK" button.

Processing of Server Responses

Next to the "Properties" tab, you will see the "Response processing" tab. Here you can specify how to handle the server response to selected request inside each user session. For example, you can specify where virtual users have to emulate a session, where they select an item from the list, modify the property and save the changes. To emulate this correctly, each user needs a correct item ID in the parameters of requests that work with the item.

However, in each user session, this ID is different. You can only take it from the page containing the list of items. For this reason, you may have to define how to extract the required value from the server response and assign it to a variable.

This variable can be used in all subsequent requests instead of the initially recorded value. (The screenshot below is not related to our request; it is just for reference.)

Bunch Parameterization

If there are several requests in a profile, they may require the same parameterization. For that, a session specific value may be generated by the server inside the page code and used as a parameter in several subsequent requests.

Step 1) In this step,

  1. Select a parameter in the list of parameters
  2. Click on the "Parameterize" button
  3. Choose the source from which you want to create a new variable

Test Verification

You can verify your test before running it. It is helpful to ensure that your virtual user profiles are designed correctly.

Step 1) Follow the steps below to verify the test.

  1. You can verify any profile of your test scenario
  2. Click on the "Verify Test" button on the top toolbar
  3. Select profiles and click on the "Verify" button in the dialog

Step 2) When you click on the "Verify" button, you will see the screen as shown below. It displays the response code for each sent request.

Log File

During a verification test WAPT Pro will run each profile once and create a log file that you can browse in the program log viewer.

Step 1) In this step,

  1. Select any page from the "Logs" folder and you will see the detailed information on all requests, responses, and errors appeared during the test run or verification for that page in the right-hand panel.
  2. Click on the "Save" button to save your demo test anywhere on your PC.

Step 2) In this step,

  1. We choose the "Documents" folder to save the demo test.
  2. Enter the name for scenario file
  3. Click on the "Save" button.

Once you have saved your test scenario, your test is ready to execute.

Test Volume

In the "Test Volume" view, you can select one of the two criteria for test completion.

  • Test duration [ "Run Time"]
  • Total number of virtual user sessions that should be executed during the test

Step 1) Select the "Test Volume" item in the left-hand panel to make changes in the test duration options and the number of virtual users.

Step 2) Here we change the value of delay made each time before starting the next user. We change it from the default value "10 seconds" to "1 min 14 seconds". It allows you to see how fast the number of users will grow.

Step 3) You can compare the screenshot below with the previous one. Here we change the initial number of users.

Test Execution

Before you start the test execution, you need to specify the log settings and select the Load Agents for your test.

Step 1) Click on the "Log Settings" item under "Scenario". In the displayed log settings, select the option "Full for 1st user, failed sessions for others".

Step 2) In this step,

  1. Select the "Load Agents" item in the left panel.
  2. Select the agent that will run the test. We have only one agent, and it is assigned to the local host.

Step 3) In the next step, you will execute the test. Click on the "Run Test" button on the top toolbar.

You will see the following message.

Summary Graph

Step 1) After the test execution is done completely, you will see the summary graph in the following pattern.

  • Violet colour: Indicates the average response time for page load
  • Orange colour: Indicates the number of loaded pages per 1 second
  • Black colour: Indicates the number of active users

Test Report

Step 1) To view the test report, click on the "Summary Report" item in the left-hand panel. You can also view the summary of individual parameters like performance data, response time, bandwidth usage and errors.

You can see all details like the number of active users, successful sessions, successful pages, etc.

  • In the test above, you can see that the test result indicates the status "Failure"
  • This is because it does not meet criteria we have set for the test.

Learn more about WAPT product line here: http://www.loadtestingtool.com.