Services/TrackingProtection/ShavarTesting: Difference between revisions
Jump to navigation
Jump to search
Rpappalardo (talk | contribs) m (fixing broken link) |
Rpappalardo (talk | contribs) (Adding detail to stage/prod verification) |
||
| Line 10: | Line 10: | ||
== Verification Of Stage Deployments == | == Verification Of Stage Deployments == | ||
* Perform end-2-end test using Nightly, General Release (see steps below) | |||
* Perform loadtest of shavar server (see steps below) | |||
=== End-2-End Test | == Verification of Production Deployments == | ||
* Perform end-2-end test using Nightly, General Release (see steps below) | |||
== End-2-End Test== | |||
===Setup=== | |||
* Download Firefox Nightly: [https://nightly.mozilla.org/] | * Download Firefox Nightly: [https://nightly.mozilla.org/] | ||
* Launch with a clean profile | * Launch with a clean profile | ||
| Line 27: | Line 34: | ||
** Note: you may see the update messages in the console if "browser.safebrowsing.debug" is enabled. | ** Note: you may see the update messages in the console if "browser.safebrowsing.debug" is enabled. | ||
===Test Execution=== | |||
To test if the list has been updated, open the following test page: | * To test if the list has been updated, open the following test page: | ||
* http://test-web.stage.mozaws.net/shavar_test.html | ** http://test-web.stage.mozaws.net/shavar_test.html | ||
* You should see a bunch of empty boxes and a shield in the upper left corner. | |||
* At this point, you know that the list has been updated from stage (without crashing) and that the list is catching stuff. | |||
* Leave open for a few minutes to see if browser crashes. | |||
== Load Testing == | |||
Load testing is performed on stage only! | Load testing is performed on stage only! | ||
<TBD> | <steps - TBD> | ||
= Reference = | = Reference = | ||
[[Services/TrackingProtection|Tracking Protection]] | [[Services/TrackingProtection|Tracking Protection]] | ||
Revision as of 17:42, 4 March 2015
Last updated: 2015/03/04
Overview
Tracking protection data is provided by a shavar server: https://github.com/mozilla-services/shavar
When deploying a new release, both end-2-end and performance tests will first be performed in a staging environment prior to production deployment. Following deployment to production, end-2-end tests can again be used to verify deployment success
Verification Of Stage Deployments
- Perform end-2-end test using Nightly, General Release (see steps below)
- Perform loadtest of shavar server (see steps below)
Verification of Production Deployments
- Perform end-2-end test using Nightly, General Release (see steps below)
End-2-End Test
Setup
- Download Firefox Nightly: [1]
- Launch with a clean profile
- open about:config in your URL
- search: "tracking" - to see all relevant config options
- Double click on: "browser.safebrowsing.debug" - to set to true
- Double click on: "browser.trackingprotection.updateURL" - and replace server with staging server URL
- "tracking.mozilla.services.com" (production server)
- "tracking.stage.mozaws.net" (stage server)
- Restart firefox
- Note: you only need to do this if you change the update URL
- Double click on: "Enable privacy.trackingprotection.enabled" - to set to true
- Note: you may see the update messages in the console if "browser.safebrowsing.debug" is enabled.
Test Execution
- To test if the list has been updated, open the following test page:
- You should see a bunch of empty boxes and a shield in the upper left corner.
- At this point, you know that the list has been updated from stage (without crashing) and that the list is catching stuff.
- Leave open for a few minutes to see if browser crashes.
Load Testing
Load testing is performed on stage only! <steps - TBD>