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.
In the Add API window, select the
Search type: Regex or Exact Match.
Condition: Contains or Does not contain.
Search Stringoption, enter the string that need to be checked.
#Retries before failureoption, specify the number of checks that need to performed before it results as false.
Follow the below steps to enable the Content Check feature for an API already present in the collection.
To enable the Content Check feature for an API already present in the collection, navigate to the Collection > API.
Editoption in the Action column of the API.
In the Edit API window, select the
Content Checkoption and add the following details:
Search String, and
#Retries before failure.
View API Metrics
Follow the below steps to view API metrics.
Navigate to the Application's dashboard within the SnappyFlow UI.
In the Metrics section, you can view the metrics collected from the API. Search Content summary box is one among these metrics.
Search Content summary box will display the result of the Content Check.
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.