<% Header %>
Scenario: C:\WAPT 4.0\
Sample_scenario.wps
Sample test
Profile: loadtestingtool_full
(loadtestingtool_full.wpp)
|
Scenario name and the path to scenario file; scenario comment.
Profile name. |
<% Cycle[1] %>
<% Page[http://loadtestingtool.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://loadtestingtool.com/
request. The number of current iteration is displayed in brackets
after request URL address. |
<% Connect %>
Connecting to remote host:
loadtestingtool.com:80...
<% Request %>
GET / HTTP/1.1
User-Agent: Mozilla/5.0
(compatible; WAPT; Windows)
Host: loadtestingtool.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 200 OK
Date: Fri, 23 Jul 2004 10:49:05 GMT
Server: Apache/1.3.29
Last-Modified: Sat, 01 May 2004
12:11:23 GMT
ETag: "b75c21-2710-409393eb"
Accept-Ranges: bytes
Content-Length: 10000
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html |
The header of server response. |
<% Content %>
<html>
..
..
</html> |
HTML code of response. |
<% Image %>
<% Request %>
GET /images/logo.gif HTTP/1.1
User-Agent: Mozilla/5.0
(compatible; WAPT; Windows)
Host: loadtestingtool.com
Referrer: loadtestingtool.com/
Connection: Keep-Alive
Accept: image/gif, image/jpeg, image/x-xbitmap, */*
Accept-Language: en-us, *
Accept-Encoding: compress, gzip, *
Pragma: no-cache |
The header of sent request for resource of current page.
After a page request is sent, the program begins to request resources
of this page (images, scripts and so on). |
<% Response %>
HTTP/1.1 200 OK
Date: Fri, 23 Jul 2004 10:49:06 GMT
Server: Apache/1.3.29
Last-Modified: Mon, 20 Oct 2003
10:08:29 GMT
ETag: "b75c67-e0c-3f93b41d"
Accept-Ranges: bytes
Content-Length: 3596
Keep-Alive: timeout=5, max=99
Connection: Keep-Alive
Content-Type: image/gif |
The header of server response to request for page resource. |
<% Page[http://www.
loadtestingtool.com/
about.shtml][1] %> |
Execution of the second request in test sequence. (The number
of current iteration is displayed in brackets.) |
<% Request %>
GET / HTTP/1.1
User-Agent: Mozilla/5.0
(compatible; WAPT; Windows)
Host: loadtestingtool.com
Referrer: loadtestingtool.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 200 OK
Date: Fri, 23 Jul 2004 10:49:20 GMT
Server: Apache/1.3.29
Last-Modified: Sat, 01 May 2004
12:11:23 GMT
ETag: "b75c21-2710-409393eb"
Accept-Ranges: bytes
Content-Length: 10000
Keep-Alive: timeout=5, max=31
Connection: Keep-Alive
Content-Type: text/html |
The header of server response. |
<% Content %>
<html>
..
..
</html> |
HTML code of response. |
<% Redirect %>
<% Connect %>
Connecting to remote host:
www.softlogica.com:80...
<% Request %>
GET /cxfer?c=PREF%3D:TM%3D10905
78675:S%3DUT1esIW2GtcUMFX6 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.softlogica.com
Referrer: www.softlogica.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 200 OK
Cache-Control: private
Content-Type: text/html
Content-Encoding: gzip
Server: GWS/2.1
Content-Length: 1174
Date: Fri, 23 Jul 2004
10:31:15 GMT |
The header of server response to redirected HTTP request. |
<% Content %>
<html>
..
..
</html> |
HTML code of response. |
<% Cycle[2] %>
<% Page[http://loadtestingtool.com/][1] %>
|
The second cycle of requests. The number of current cycle is displayed
in brackets.
Execution of the first request in test sequence. The number of current
iteration is displayed in brackets after request URL address. |
<% Request %>
GET / HTTP/1.1
User-Agent: Mozilla/5.0
(compatible; WAPT; Windows)
Host: loadtestingtool.com
Referrer: loadtestingtool.com/order.shtml
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 200 OK
Date: Fri, 23 Jul 2004 10:49:20 GMT
Server: Apache/1.3.29
Last-Modified: Sat, 01 May 2004
12:11:23 GMT
ETag: "b75c21-2710-409393eb"
Accept-Ranges: bytes
Content-Length: 10000
Keep-Alive: timeout=5, max=31
Connection: Keep-Alive
Content-Type: text/html |
The header of server response. |