-
Notifications
You must be signed in to change notification settings - Fork 2
FAQs
sripathikrishnan edited this page Sep 28, 2011
·
5 revisions
Yes. See package org.noregress.pagespeed.*
See classes org.noregress.PageResult
and org.noregress.pagespeed.PageSpeedResult
. The latter class exposes the entire Page Speed API.
It should be possible to use Noregress with other services - such as WebPageTest.org, or a local installation of YSlow. These services will have a different API than PageSpeed. The test cases should not have to change if the underlying service changes - which is why org.noregress.PageResult
does not expose all the methods that PageSpeed offers.
But if you are okay tying yourself to Google's Page Speed API - go ahead and directly use PageSpeedResult
for your assertions.
Yes, there are.
- Noregress wraps Google's API, so you should read and comply with their terms and conditions
- You can only test 250 pages per day. This limit is set by Google's Page Speed API
- The pages need to be accessible over public internet. You cannot use this library behind the firewall
- You cannot use this library for password protected pages