Add an error page

Procedure

  1. To add a Custom Error Page definition, click + Add.

    The Custom Error Page dialog box appears.

  2. In the Type list, select:
    • String: Match a string found in the HTML content of your error pages.
    • Regular Expression: Match a regular expression found in the HTML content of your error pages. You can open the Expression Test PowerTool by clicking Expression Test button button, to help you verify the syntax of the regular expression.
    • URL: Match the URL of the response page.
    • Page: Match the exact response page. (This method is used when you click Set as Error Page for a particular variant in the Request/Response tab.)
  3. In the Value text box, enter the string, regular expression, or URL (relative path and filename).
    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, results can be updated by clicking Apply to current results
    • For tests where the previous definition indicated the failure of a test, you must re-test.
  4. Click OK.

    Any response that matches the string, regular expression, or URL will be recognized by AppScan® as an error page from now on.

Example

Custom error page filtering examples