Add an error page
Procedure
-
To add an Error Page definition, click + Add.
The Add error page dialog box appears.
-
In the Location list, select either the response content, path, or both:
-
Response Content: Match the value in the HTML content of your error page's response.
-
Path: Match the value in the URL of the request.
-
-
In the Value text box, enter the string. If you want to enter a regular expression,
then select the Regular expression checkbox.
Important: Incorrect error page definitions may cause both "false positive" and "false negative" results. Therefore, when you add or delete error pages after the Test stage of a scan, the scan results must be updated.
- For tests where the previous definition indicated the success of a test, update the results by clicking Apply changes to current results
- For tests where the previous definition indicated the failure of a test, you must re-test.
-
Click Continue.
The error page definition is added to the list of error pages. Any path or response content that matches the string or regular expression will be recognized by AppScan® as an error page from now on.