Skip to main content
Version: Cloud

Content Check

Content Check is a part of Synthetic Monitoring that allows you to define specific checks that look for particular content or elements on a webpage. This feature is designed to verify that a website is functioning perfectly or that a specific feature is available on the website.

Enable Content Check

The Content Check feature can be enabled while adding an API to the collection or enable it for an API already present in the collection. Click here to learn how to create an collection within sfPoller and to add an API to the collection.

Follow the below steps to enable the Content Check feature while adding an API to the collection.

  1. In the Add API window, select the Content Check option.

  2. Select a Search type: Regex or Exact Match.

  3. Select a Condition: Contains or Does not contain.

  4. In the Search String option, enter the string that need to be checked.

  5. In the #Retries before failure option, specify the number of checks that need to performed before it results as false.

  6. Click the Save button.

Follow the below steps to enable the Content Check feature for an API already present in the collection.

  1. To enable the Content Check feature for an API already present in the collection, navigate to the Collection > API.

  2. Click the Edit option in the Action column of the API.

  3. In the Edit API window, select the Content Check option and add the following details: Search type , Condition, Search String, and #Retries before failure.

  4. Click the Save button.

View API Metrics

Follow the below steps to view API metrics.

  1. Navigate to the Application's dashboard within the SnappyFlow UI.

  2. In the Metrics section, you can view the metrics collected from the API. Search Content summary box is one among these metrics.

  3. Search Content summary box will display the result of the Content Check.

note

If the result is False, then an alert will be generated to notify the result.

Refer to the Alerts Document to learn about Alerts feature.