Services/TrackingProtection/Shavar Server - Testing: Difference between revisions

m
Updates to mozxxx -track lists
m (Fix broken link)
m (Updates to mozxxx -track lists)
Line 64: Line 64:
'''SHAVAR LISTS'''
'''SHAVAR LISTS'''


We'll use 6 different lists in testing
We'll use 6 different lists in testing:


* shumway list,
* mozfull-track-digest256 (diary testing list)
* abtest list,
* mozfull-trackwhite-digest256
* mozstd-track-digest256
* mozstd-trackwhite-digest256


2 production lists  
Old lists:
 
2 production lists
* mozpub-track-digest256
* mozpub-track-digest256
* mozpub-trackwhite-digest256
* mozpub-trackwhite-digest256
Line 112: Line 116:
** we can do that for almost all the e2e test and validation test, but we can't do that for the "update" test
** we can do that for almost all the e2e test and validation test, but we can't do that for the "update" test
* TEST #0 gets executed twice  
* TEST #0 gets executed twice  
** once w/  [[#Setup_.231|Setup #1]] to verify mozpub cache files
** once w/  [[#Setup_.231|Setup #1]] to verify mozstd cache files
** once w/  [[#Setup_.232|Setup #2]] to verify moztestpub cache files
** once w/  [[#Setup_.232|Setup #2]] to verify mozfull cache files


[[#top]]
[[#top]]
Line 127: Line 131:


<code>
<code>
   $ curl -d" "  'https://tracking.stage.mozaws.net/list?client=foo&appver=1&pver=2.2'
   $ curl -d" "  'https://shavar.stage.mozaws.net/list?client=foo&appver=1&pver=2.2'
</code>
</code>


Line 133: Line 137:


<code>
<code>
  mozpub-shumway-digest256
mozfull-track-digest256
  mozpub-track-digest256
mozpub-shumway-digest256
  mozpub-trackwhite-digest256
mozpub-track-digest256
  mozpub2-track-digest256
mozstd-track-digest256
  moztestpub-track-digest256
mozstd-trackwhite-digest256
  moztestpub-trackwhite-digest256
moztestpub-track-digest256
moztestpub-trackwhite-digest256
</code>
</code>


Next:
Next:
mozstd lists:


<code>
<code>
   $ curl -d"mozpub-track-digest256;" 'https://tracking.stage.mozaws.net/downloads?client=foo&appver=1&pver=2.2'
   $ curl -d"mozstd-track-digest256;" 'https://shavar.stage.mozaws.net/downloads?client=foo&appver=1&pver=2.2'
</code>
</code>


Line 151: Line 158:
<code>
<code>
   n:3600
   n:3600
   i:mozpub-track-digest256
   i:mozstd-track-digest256
   u:tracking-protection.stage.mozaws.net/mozpub-track-digest256/1441146041
   u:tracking-protection.stage.mozaws.net/mozstd-track-digest256/1442275596
   where n = 3600.
</code>
 
mozfull lists:
 
<code>
   $ curl -d"mozfull-track-digest256;" 'https://shavar.stage.mozaws.net/downloads?client=foo&appver=1&pver=2.2'
</code>
 
Should return this:
 
<code>
n:3600
i:mozfull-track-digest256
u:tracking-protection.stage.mozaws.net/mozfull-track-digest256/1442275596
</code>
</code>


Line 398: Line 418:
'''VERIFY DISABLED'''
'''VERIFY DISABLED'''
* update URL has registered correctly (line #8)
* update URL has registered correctly (line #8)
** Registering whitelist- mozpub-trackwhite-digest256 (line #10)
** Registering whitelist- mozstd-trackwhite-digest256 (line #10) - or mozfull
** Checking for updates on shavar server: "checkForUpdates with https://tracking.services.mozilla.com" (line #61)
** Checking for updates on shavar server: "checkForUpdates with https://shavar.services.mozilla.com" (line #61)
** Request to shavar server begins with: "makeUpdateRequestForEntry_: request mozpub-track-digest256;a:1440776223" (line #108)
** Request to shavar server begins with: "makeUpdateRequestForEntry_: request mozstd-track-digest256;a:1440776223" (line #108)
** Update success for both lists: "update success for mozpub-track-digest256,mozpub-trackwhite-digest256" (line #112)
** Update success for both lists: "update success for mozstd-track-digest256,mozstd-trackwhite-digest256" (line #112)
** NOTE: if line #112 failure, rest of test will likely not work!  
** NOTE: if line #112 failure, rest of test will likely not work!  
* visit youtube.com
* visit youtube.com
** you should NOT see the shield in the url bar
** you should NOT see the shield in the url bar
* In the: Tools > Web Developer > Browser Console, you should see that googlesyndication.com was blocked because of TrackingProtection
* In the: Tools > Web Developer > Browser Console, you should see that googlesyndication.com was blocked because of TrackingProtection


[[#top]]
[[#top]]
Confirmed users
487

edits