Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Wiki Page: How can I raise a warning or an error if my page download time exceeds a specified interval?

$
0
0
This can be achieved in Silk Performer through the use of the MeasureSetBound() function.  A parameter defines the severity for a timer which exceeds the specified time bound, e.g. the following code raises a warning if the page download time for www.myPage.com takes longer than 4 seconds, and an error if it takes longer than 8 seconds. // Set bound 1 to 4 seconds MeasureSetBound("MyPageTimer", MEASURE_PAGE_PAGETIME, 1, 4.0, SEVERITY_WARNING); // Set bound 2 to 8 seconds MeasureSetBound("MyPageTimer", MEASURE_PAGE_PAGETIME, 2, 8.0, SEVERITY_ERROR); // Call the page WebPageUrl("http://www.myPage.com", "MyPageTimer"); Old KB# 19335

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>