How to monitor a redirect page in ASM when an authentication error occurs
search cancel

How to monitor a redirect page in ASM when an authentication error occurs

book

Article ID: 438083

calendar_today

Updated On:

Products

CA App Synthetic Monitor

Issue/Introduction

When monitoring a page with authentication that involves a redirect, an authentication error occurs on the destination page. Standard monitoring that follows the redirect fails because it cannot process the authentication sequence correctly during the transition.

Resolution

To monitor this scenario effectively, split the monitoring process into two distinct monitors:

  1. Configure the Primary Monitor:

    • Access the settings for your original monitor.
    • Change the configuration so it does not follow redirects.
    • Set the monitor to validate the HTTP 302 redirect code. This ensures the initial page is up and redirecting as expected.
  2. Create a Secondary Monitor:

    • Create a new HTTPS monitor specifically for the redirect destination.
    • Set the target URL to the exact destination address (e.g., https://[destination-url]/path/to/resource).
    • Configure the necessary authentication credentials directly within this second monitor.