Web Connector 12.13

# Error Detection Parameters

The parameters in this section configure the connector to detect errors and respond appropriately, in cases where the web server returns an HTTP 200 (OK) status code even though an error has occurred.

You can set these parameters in the TaskName section. For example:

    [MyTask]
    ErrorPageUrlRegex=.*/login.html
    ErrorPageCssSelector=#authresult
    ErrorPageRegex=.*failed.*
    ErrorPageHttpErrorCode=401

To specify different settings for different URLs retrieved by a single fetch task, use the ErrorPageSections parameter to define multiple sections. Then, set the ErrorPageUrlRegex parameter in each section. For example:

    [MyTask]
    ...
    ErrorPageSections0=LoginError
    ErrorPageSections1=...

    [LoginError]
    ErrorPageUrlRegex=.*/login.html
    ErrorPageCssSelector=#authresult
    ErrorPageRegex=.*failed.*
    ErrorPageHttpErrorCode=401

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Web Connector 12.13

Topic Title: Error Detection Parameters