Using the API for Monitoring
|
05-22-2012, 01:04 AM
(This post was last modified: 05-22-2012 01:14 AM by hxmws.)
Post: #1
|
|||
|
|||
Using the API for Monitoring
Hi All,
I'm looking to use webpagetest for monitoring our website, I'm planning to run a simple transaction using the scripting option available. My Question is... From the results you are given i.e page_data.csv and requests.csv can anyone tell me how I can see if the transaction completed successfully? Ideally any way of alerting on a transaction that doesn't complete would be awesome. Thanks Matt |
|||
05-23-2012, 01:59 AM
Post: #2
|
|||
|
|||
RE: Using the API for Monitoring
If you use a script and specify a DOM Element the test should return an error if the DOM element wasn't found. If you have a specific request that indicates a success then that would work as well.
|
|||
05-23-2012, 07:29 PM
Post: #3
|
|||
|
|||
RE: Using the API for Monitoring
(05-23-2012 01:59 AM)pmeenan Wrote: If you use a script and specify a DOM Element the test should return an error if the DOM element wasn't found. If you have a specific request that indicates a success then that would work as well. Thanks Patrick, I'll take a look at that. Another quick question for you do you know if it is possible to execute jquery when scripting? i.e execAndWait $('#blah').click(); |
|||
05-24-2012, 05:29 AM
Post: #4
|
|||
|
|||
RE: Using the API for Monitoring
As long as the page has loaded jquery then yes. The script executes in the context of the page so anything available is fair game.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)