Names of error log files are generated automatically. Example of error
log file names:
0_000_errors.log - error log for the first user of the first
profile;
0_001_errors.log - error log for the second user of the first
profile;
1_000_errors.log - error log for the first user of the second
profile.
Here the first number is the number of user profile, the second number
is the number of virtual user. Note that WAPT
begins to count the number of profiles/users from zero.
The next time you run a test, log files may be overwritten by new log
files. If you wish to use generated error logs later, you should save
them to another folder or rename them.
Note that creating logs could require much space on the disk. Logs are
often used for functional testing or for debugging a test scenario with
dynamic parameter values.
Example of Error Log
Below is the example of error log (left column) with the description
(right column).
<% Header %>
Scenario: C:\WAPT 4.0\
Sample_scenario.wps
Sample test
Profile: Google (Google.wpp)
|
Scenario name and the
path to scenario file;
scenario comment.
Profile name. |
<% Cycle[1] %>
<% Page
[http://www.google.com/]
[1] %>
|
The first cycle of requests (a cycle consists of Initial
test sequence, a number of Main sequence iterations and Final
sequence). The number of current cycle is displayed in brackets.
Execution of the first request in test sequence - http://www.google.com/
request. The number of current iteration is displayed in brackets
after request URL address. |
<% Connect %>
Connecting to remote host: www.google.com:80...
<% Request %>
GET / HTTP/1.1
User-Agent: Mozilla/5.0 (compatible; WAPT; Windows)
Host: www.google.com
Connection: Keep-Alive
Accept: text/html, */*
Accept-Language: en-us, *
Accept-Encoding: compress, gzip, *
Pragma: no-cache |
The header of sent HTTP request. |
<% Response %>
HTTP/1.1 302 Found
Location: http://www.google.ru/cxfer?
c=PREFD:TMD1090578675:
SDUT1esIW2GtcUMFX6
Set-Cookie: PREF=ID=42eef4940c95f90f:CR=1:
TM=1090578675:LM=1090578675:
S=XmDp17sp27x-XZT4; expires=Sun,
17-Jan-2038 19:14:07 GMT; path=/;
domain=.google.com
Content-Type: text/html
Server: GWS/2.1
Transfer-Encoding: chunked
Content-Encoding: gzip
Date: Fri, 23 Jul 2004 10:31:15 GMT
Cache-Control: private, x-gzip-ok="" |
The header of server response. |
<% Content %>
.<. ._ ¶þ+Ê!Ö.\I>¶â9à¦|ávf..._¢_¯7ÃÐy"
LÓdÔRÖ¤apÙ.ýHøç.ú.÷Ϫ¶rB_eJ-s_
¶-Çu·^Rl.RÝÑL¸s.Ç_8÷:m
D/_.ÔÐ._ß(5c_¡¡/ |
It is zipped HTML code of response. |
<% Redirect %>
<% Connect %>
Connecting to remote host:
www.google.ru:80...
<% Request %>
GET /cxfer?c=PREF%3D:TM%
3D1090578675:S%3DUT1es
IW2GtcUMFX6 HTTP/1.1
Cookie: PREF=ID=42eef4940c95f90f:
CR=1:TM=1090578675:
LM=1090578675:
S=XmDp17sp27x-XZT4
User-Agent: Mozilla/5.0
(compatible; WAPT; Windows)
Host: www.google.ru
Referrer: www.google.com/
Connection: Keep-Alive
Accept: text/html, */*
Accept-Language: en-us, *
Accept-Encoding: compress, gzip, *
Pragma: no-cache |
The header of redirected HTTP request. |
<% Response %>
HTTP/1.1 302 Found
Location: http://www.google.ru/
Set-Cookie:
PREF=ID=42eef4940c95f90f:
CR=1:TM=1090578675:
LM=1090578675:
S=XmDp17sp27x-XZT4;
expires=Sun, 17-Jan-2038 19:14:07
GMT; path=/; domain=.google.ru
Content-Type: text/html
Server: GWS/2.1
Transfer-Encoding: chunked
Content-Encoding: gzip
Date: Fri, 23 Jul 2004 10:31:15 GMT
Cache-Control: private, x-gzip-ok="" |
The header of server response to redirected
HTTP request. |
<% Content %>
.<. `;RÇÿ._eÇv>¤A#.ÜsÏ}
"Ò"¹¦¤'LP.TÐ'_ñ._Û 7ð<_oTÙq_N+.
¯¤ª>0:ÒjñèÅuÇZªú"u"X¹ÕÖMá.
ÇÁù__÷ÐR3>ÛÞ.ôT+3_Í_aR_' .
§'ÚIi¶.e.%¨O0Ú.¢Kr_÷¡èìc.e
Ýi§-U7b÷Xce_Ç é .\jÝ2!"c<Q·
<+ñ_ðR"4Å.ã<¨æâ+ÀÙU__È÷
Â+0våX.mS'""_qY.5-.zÓ.ç.Ë
¤Ð#.ýBP.> çãá
(z_+Û.àUÎß ?ü7üÌTú.x_ÙûQu_ë×ù.
{ø[Súöf7.T¦TÒý..ãä.)>T,Ï'.Î_M_7)_Õ
¶¤___R_pÎû·=Ô÷BÔÒ-Ïî.6Äõ×!=ºÄq÷_
'àäÝBú .üúñ .·BR$"_ß..3Ò.À_ùØ.ÑÓ¤.
Ö@h"+èçRº.% '_ íÚð+ÃN.._6âÓcQó._.
ÅÅÅ_ _îÆ.cú_HQº.é_¤¿×. Ó¶üÄ. |
It is zipped HTML code of response. |