|

When a performance test is executed, there any many errors that can occur. All error codes are flagged, and you
can view them in the Statistics Tab
. They fall into the following categories:
Connection Errors
The HTTP Request to the web server could not be made. Usually this is an error in the name of the web server, a
hardware problem, or a network problem. A description of the error will be given in the Playback Error Dialog.
HTTP Errors
The HTTP specification defines a list of error codes that the web server may return. All error codes that are returned
during playback are flagged as errors, and you can view them in the Statistics
Tab. A description will be included with each HTTP Error.
| Error Code |
Meaning |
| 400 |
Bad Request |
| 401 |
Unauthorized |
| 402 |
Payment Required |
| 403 |
Forbidden |
| 404 |
Not Found |
| 405 |
Method Not Allowed |
| 406 |
Not Acceptable |
| 407 |
Proxy Authentication Required |
| 408 |
Request Timeout |
| 409 |
Conflict |
| 410 |
Gone |
| 411 |
Length Required |
| 412 |
Precondition Failed |
| 413 |
Request Entity Too Large |
| 414 |
Request-URL Too Long |
| 415 |
Unsupported Media Type |
| 500 |
Internal Server Error |
| 501 |
Not Implemented |
| 502 |
Bad Gateway |
| 503 |
Service Unavailable |
| 504 |
Gateway Timeout |
| 505 |
HTTP Version Not Supported |
Size Validation
Web Performance TrainerTM does not support validating the HTML page that is returned for several reasons. The main
reason is parsing each HTML page returned for each virtual user would greatly restrict the number of virtual users
that could be simulated. The other reason is that back-end calculations are easier to validate using traditional
programming techniques rather than going through the trouble of identifying data on a web page, since the layout
of web pages is apt to change very often.
What the program does support is checking the size of the returned HTML code to
see if the returned HTML page is within a certain range. When editing
a recorded HTTP Request you will see the HTTP Command Edit Dialog, shown below:
The dialog enables you to either edit the HTTP Request and configure Form Data Replacement,
or to specify Reply Validation. If you select "Greater Than", this means that if the HTML page that is
returned for the HTTP Request will be flagged as an error if the size of the page is greater than you figure you
give. The converse is true of the "Less Than" option.
|