How To
Summary
Using IBM Application Performance Management version 8.1, how to check the content of a web page url?
Objective
Environment
Steps
Selenium script result in APM UI Dashboard, with ‘assert title’ command failure example:
Synthetic Transactions Status overview shows :
Unavailable % = 100
Transaction Instances
Error summary widget shows the message:
Command#<command line number>: assertTitle(“<Expected_Title_here>”) => [Failure: Assertion failed (Result: [<Returned_Title_here> / Expected : [<Expected_Title_here>])]
And the last test’s step executed is the ‘assertTitle’ command, as seen in above screen capture.
Selenium IDE script example:
Selenium script result in APM UI Dashboard, with ‘assert title’ command success example:
Transaction Instances
No error reported in Error Summary widget
Selenium IDE Script details:
Other possible useful Selenium IDE script commands to assert web page content:
Enter ‘Assert’ in the Command field and then check all available commands….
![image-20200323145404-8](/support/pages/system/files/inline-images/image-20200323145404-8.png)
Example: assert text reference guide :
Additional Information
APM 8.1 Documentation link, for reference:
Chapter "Managing synthetic transactions and events"
Document Location
Worldwide
Historical Number
TS003507758
Product Synonym
apm;
Was this topic helpful?
Document Information
Modified date:
08 April 2020
UID
ibm16116044