Skip to main content

Logging Specific Errors

You can create a custom CSV error report of specific error types. You might find this helpful if you are trying to trace specific errors that might get overlooked in a large log file.

The ability to produce a log of these errors was added in AIQ release 4.10.0.

Example

You have configured a website, that you will be testing, to forward all 404 errors to a specific page. However, you may want to capture the 404 errors with the bad URLs.

    In your test script, add a Log action with a $responsesWith404 accessor.

    In Network Workbench, extract the errors using the responsesWith404 variable.

    A sample of a log file showing the logged 404 errors:

    https://demosite.appvance.com:443/spree/products/21/mini/ror_tote.jpeg?1527769324
    https://demosite.appvance.com:443/spree/products/21/product/ror_tote.jpeg?1527769324

    Last updated: August 02, 2023

    If you have any feedback on this topic, please contact us at documentation@appvance.ai