Network Body Analyzer allows you to monitor response body content received from target web page elements. Response body monitoring allows you to verify data that isn’t displayed in a browser window, but represents elements, such as web application logic, that can have a significant impact on the service background. If necessary, you can filter responses to monitor only responses from the URLs which contain some mask.
For example, using Body Analyzer you can monitor the content of AJAX call responses.
To enable Network Body Analyzer:
- Right-click the line (step), after which the analyzer should start checks.
- Select Network Body Analyzer.
- Specify a Name that will be presented in the device report and, if necessary, adjust the analysis criteria.
Alerts are generated every time the number of URLs satisfying the analysis criteria is beyond the set range (see Min. Value and Max. Value counters).
The field contains a mask for URLs to analyze responses body from. The URL mask can be any string found in the URL utilizing “*” as a wildcard at the beginning or end of the string and “?” as a single letter wildcard. Responses from all URLs are monitored by default (“*”).
The field contains a mask for the response body content that needs to be monitored. You can specify the mask using wildcard or regex (regular expression) pattern.
Two types of Search Pattern parsing are available:
There is Match or NoMatch analyzing available.
By default, the Match type is used. If response body content matches the search pattern, the URL will be counted as satisfying the analysis criteria.
Min. Value and Max. Value counters
The minimum and maximum number of content entries satisfying the analysis criteria. The alert will be generated if the number of monitored entries matching the analysis criteria is less than Min. Value and more than Max. Value.