All the run results are written to the log file. Each virtual client produces a separate log file.
The comprehensive log of the Web Roller client run is created, including all requests, responses, redirects and the returned HTML code. If the response is obtained in chunked transfer encoding, it will be converted to normal presentation.
If in the [General] section Log=1, all the results of operation are logged to a file. Each virtual client generates a separate log file. The complete log of the Web Roller client operation is written to this file. This includes all requests, responses, redirects and the HTML code returned.
A test script like this:
[General]
clients=1
requests=2
server=kort
log=1
[TestSeq]
Req1
Req2
[Req1]
$uri=/
$method=GET
[Req2]
$uri=/view.pl
$method=GET
will result in the following log file:
----- [TestSeq]: Req1(0) ----- |
Separator line: pass #0 of [TestSeq], request Req1 |
Request: |
Header of the HTTP request sent |
GET / HTTP/1.1 |
|
Host: kort |
|
Connection: close |
|
Response: |
Header of the server response. |
HTTP/1.1 200 OK |
|
Date: Sun, 21 Apr 2002 16:30:45 GMT |
|
Server: Apache/1.3.12 (Win32) |
|
Connection: close |
|
Transfer-Encoding: chunked |
|
Content-Type: text/html |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
HTML code of response |
<html> |
|
</body> |
|
.. |
|
.. |
|
</body> |
|
</html> |
|
----- [TestSeq]: Req2 (0) ----- |
Separator line: pass #0 of [TestSeq], request Req2 |
Request: |
|
GET /view.pl HTTP/1.1 |
|
Host: kort |
|
Referrer: http://kort/ |
|
Connection: close |
|
Response: |
|
HTTP/1.1 200 OK |
|
Date: Sun, 21 Apr 2002 16:30:45 GMT |
|
Server: Apache/1.3.12 (Win32) |
|
Connection: close |
|
Transfer-Encoding: chunked |
|
Content-Type: text/plain |
|
<html> |
|
</body> |
|
.. |
|
.. |
|
</body> |
|
</html> |
|
----- [TestSeq]: Req1(1) ----- |
Separator line: pass #1 of [TestSeq], request Req1 |
Request: |
|
GET / HTTP/1.1 |
|
Host: kort |
|
Referrer: http://kort/view.pl |
|
Connection: close |
|
Response: |
|
HTTP/1.1 200 OK |
|
Date: Sun, 21 Apr 2002 16:30:45 GMT |
|
Server: Apache/1.3.12 (Win32) |
|
Connection: close |
|
Transfer-Encoding: chunked |
|
Content-Type: text/html |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
|
<html> |
|
</body> |
|
.. |
|
.. |
|
</body> |
|
</html> |
|
----- [TestSeq]: Req2(1) ----- |
Separator line: pass #1 of [TestSeq], request Req2 |
Request: |
|
GET /view.pl HTTP/1.1 |
|
Host: kort |
|
Referrer: http://kort/ |
|
Connection: close |
|
Response: |
|
HTTP/1.1 200 OK |
|
Date: Sun, 21 Apr 2002 16:30:45 GMT |
|
Server: Apache/1.3.12 (Win32) |
|
Connection: close |
|
Transfer-Encoding: chunked |
|
Content-Type: text/plain |
|
<html> |
|
</body> |
|
.. |
|
.. |
|
</body> |
|
</html> |