WAPT 4.0
Examining Logs for Test Run
../Accurate real user simulation
Dynamic test data generation  
Recording & Playback of HTTPS/SSL pages  
Flexible test volume & load definition  
Clear reports and graphs  
Full log of virtual user activity  
Distributed load generation 
Distributed load generation 
Distributed load generation 


 Name:
 E-mail:

Subscribe to SoftLogica Newsletter to get 10% discount on newly released products!



 
  Go to Index
Examining Logs for Test Run

You can set WAPT Pro to create full or error logs. Log files will help you know what occurred during test run. Switch to Log and Report Settings view and select the type of log file in the Level of detail combo-box.



Full log is a comprehensive log of WAPT Pro test run that includes information on all requests, responses, redirects and returned HTML code. Note that creation of full logs may require much space on the disk. Full logs are often used for functional testing or verification of test scenario with dynamic parameter values.

Error log contains page requests that were processed with errors during the test. So, if the response code for some request is not equal to 200 OK, that request is included in the error log (except for the case of redirects). Besides, if you make additional validity check of server response and receive a validation error, such request is also included in the error log.

If you set WAPT Pro to create full (error) logs, then the corresponding log will be created for each virtual user participated in the test. Or you can create full logs for the first user of each profile, and error logs for other users.

Users' logs are saved on the computer running Load Agent that generated the load during test. If you use several agents in your test, then each of them creates logs for virtual users that it generated. Users' logs are saved to the TestData folder of WAPT Pro installation folder (for example, C:\Program Files\SoftLogica\WAPT Pro 2.0\TestData). However, you can change the location for log files generated by Load Agent in the Load Agent Manager (Store test data files in edit-box).

TestData folder contains a folder with users' logs which is named like this:
Test 0001 - [127.0.0.1] computer-name
Here you can see the number of test, IP address and name of computer where WAPT Pro workplace component is running.

The next time you run a test, this folder is deleted. New log files are saved to a new folder:
Test 0002 - [127.0.0.1] computer-name

Names of log files are generated automatically. For example:
0_000_0.log is a full log for the first user of the first profile;
0_001_0.log is a full log for the second user of the first profile;
1_000_0.log is a full log for the first user of the second profile.
Here the first number is the number of user profile, the second is the number of virtual user, and the last is the number of user's startup in case of periodic user load. Note that WAPT Pro begins to count the number of profiles/users from zero.

Names of error log files look as follows:
0_000_0_errors.log
0_001_0_errors.log and so on.

When you open the Logs folder of Navigation Pane, WAPT Pro workplace downloads users' logs from agents and displays information in the Logs tree view. The workplace component saves logs to the default location which is specified in General settings (Save log files to edit-box).

The next time you run a test, logs may be overwritten by new log files. If you wish to use the generated logs later, you can save them manually by clicking the Save Logs... option on the File menu.

Example of Log
You can view all logs generated during test run just in WAPT Pro. Expand the Logs folder of the Navigation Pane, and you will see the tree view with several levels of detail: profile, user and session. Using the tree view, you will find any information easily without the need to search through megabytes of log files. You can navigate to any particular request or virtual user. When you click on any item of the Logs tree view, you will see the corresponding part of log in the upper right pane.

You can use an additional toolbar under the Navigation Pane to browse virtual users, user sessions and errors one by one. Additional toolbar becomes active when you click on any item of the Logs tree view.

Below is the example of full log.



The upper right pane shows the sequence of sent HTTP requests and received server responses. The first request in the sequence is the main request, others are requests for page elements (images, CSS, JavaScript etc). The main request is highlighted in green if it was processed without errors. Requests for page elements have gray color in the sequence.

Error log shows the sequence of sent HTTP requests for which an error occurred during the test. Such requests are highlighted in red.

The lower pane has several tabs: Request, Response Header, Response Body and Browser View.

Request: Here you can see the sent HTTP request.

Response Header: Here you can see the HTTP header of server response.

Response Body: HTML code of server response is displayed on this tab.



You can search for some text string on any of these tabs: Request, Response Header and Response Body.
Find: Type the text that you want to find. The program will highlight all occurrences of the entered text.
Use the Previous and Next buttons to move to the previous/next occurrence of the text.

Browser View: Here you can see the server response as it is displayed in browser without images.



Compare Recorded and Test Responses
WAPT Pro allows you to compare the recorded server response (received during the recording process) and test server response (received during test run). This information will help you understand what parameters change dynamically during the test. It is often used when you verify a test scenario with dynamic parameter values.

You can compare response headers or response bodies. Select Response Header or Response Body tab and click the Compare with recorded... button. In the displayed window you can see the differences between recorded and test responses. (If responses are identical, you will see the corresponding message.)



Green color shows an added text - a text which is absent in the recorded response but present in the test response.
Red color shows a deleted text - a text which is present in the recorded response but absent in the test response.
Blue color shows a changed text - a text which is different in responses.

Use the Previous Difference and Next Difference buttons to browse differences one by one. If you need to search for some word or phrase in the text, click Ctrl+F to open the search dialog.

  Next page

Download
Download
Order Now


People who buy WAPT also often purchase:
People who purchase WAPT also often purchase WSOP! Optimize your Website Loading Times
Better Together
Total list price: $347
Buy together: $297
 
Buy both Now!





03/21/2006 WAPT successfully passed the 'Designed for Windows XP' certification by Microsoft(R)


SiftLogica

Revieved by BUILDER.COM  
  Copyright © SoftLogica LLC. 2002-2006     Contact: support@loadtestingtool.com