Community:OnRamp/documentation/design/caching/testing

From NSDLWiki

Jump to: navigation, search

Caching - Test Plan

Design | Discussion | Status | Testing

See Testing Discussion page for coverage analysis.

Contents

[hide]


Script Test Matrix for 'Destination Specifies Range'

Destination Identifier Range/Result Identifier Script Identifier
destination (destination uid) uid (range uid) script (script uid)
did (destination id) uid script
destination uid behid (script id)
did uid behid
destination date (range date) script
did date script
destination date behid
did date behid
destination rid (range id) script
did rid script
destination rid behid
did rid behid


Image:Greenck.jpg Test Passed Image:RedX.jpg Test Failed Image:Orangeqmark.jpg Question with the Test Image:Yellowbox.jpg Not Begun
Status Test and Expected Results

Test Suite: Destination Specifies Range: Cache & Fetch scripts: Called Directly

Common Setup for all tests in this section:

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: destination&uid&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=March2008&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
    • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: did&uid&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&uid=April2008&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&uid=April2008&script=generate
    • Confirm: correct RSS displayed for April 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: destination&uid&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=May2008&behid=8
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=May2008&behid=8
    • Confirm: correct RSS displayed for May 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: did&uid&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&uid=June2008&behid=8
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&uid=June2008&behid=8
    • Confirm: correct RSS displayed for June 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: destination&date&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&date=08/01/2008&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&date=08/01/2008&script=generate
    • Confirm: correct RSS displayed for August 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: did&date&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&date=09/01/2008&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&date=09/01/2008&script=generate
    • Confirm: correct RSS displayed for September 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: destination&date&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&date=10/01/2008&behid=8
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&date=10/01/2008&behid=8
    • Confirm: correct RSS displayed for October 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: did&date&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&date=11/01/2008&behid=8
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&date=11/01/2008&behid=8
    • Confirm: correct RSS displayed for November 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: destination&rid&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&rid=59&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&rid=59&script=generate
    • Confirm: correct RSS displayed for December 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: did&rid&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=45&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=45&script=generate
    • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: destination&rid&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&rid=45&behid=8
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&rid=45&behid=8
    • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: did&rid&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=45&behid=8
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=45&behid=8
    • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins

Test Suite: Destination Specifies Range: Cache & Fetch: Test vs. Production

Common Setup for all tests in this section:

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: did&rid&behid - missing &test

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=61&behid=8
    • Confirm: error message about date past today requires &test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=61&behid=8
    • Confirm: error message about date past today requires &test
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: did&rid&script - missing &test on cache

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=61&behid=8
    • Confirm: error message about date past today requires &test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=61&behid=8&test
    • Confirm: blank results
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: did&rid&script - missing &test on fetch

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=61&behid=8&test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=61&behid=8
    • Confirm: error message about date past today requires &test
Image:Yellowbox.jpg

Test: Destination Specifies Range: Cache and Fetch: did&rid&script&test

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=61&behid=8&test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=61&behid=8&test
    • Confirm: correct RSS displayed for January 2008 issue of Beyond Penguins

Test Suite: Destination Specifies Range: Custom Script: Cache & Fetch scripts: Called Directly

Common Setup for all tests in this section:

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&uid&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=March2008&script=generateAll
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generateAll
    • Confirm: correct RSS displayed that includes all issues upto March 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&uid&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&uid=April2008&script=generateAll
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&uid=April2008&script=generateAll
    • Confirm: correct RSS displayed that includes all issues upto April 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&uid&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=May2008&behid=14
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=May2008&behid=14
    • Confirm: correct RSS displayed that includes all issues upto May 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&uid&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&uid=June2008&behid=14
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&uid=June2008&behid=14
    • Confirm: correct RSS displayed that includes all issues upto June 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&date&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&date=08/01/2008&script=generateAll
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&date=08/01/2008&script=generateAll
    • Confirm: correct RSS displayed that includes all issues upto August 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&date&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&date=09/01/2008&script=generateAll
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&date=09/01/2008&script=generateAll
    • Confirm: correct RSS displayed that includes all issues upto September 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&date&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&date=10/01/2008&behid=14
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&date=10/01/2008&behid=14
    • Confirm: correct RSS displayed that includes all issues upto October 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&date&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&date=11/01/2008&behid=14
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&date=11/01/2008&behid=14
    • Confirm: correct RSS displayed that includes all issues upto November 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&rid&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&rid=59&script=generateAll
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&rid=59&script=generateAll
    • Confirm: correct RSS displayed that includes all issues upto December 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=45&script=generateAll
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=45&script=generateAll
    • Confirm: correct RSS displayed that includes all issues upto March 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&rid&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&rid=45&behid=14
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&rid=45&behid=14
    • Confirm: correct RSS displayed that includes all issues upto March 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=45&behid=14
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=45&behid=14
    • Confirm: correct RSS displayed that includes all issues upto March 2008 issue of Beyond Penguins

Test Suite: Destination Specifies Range: Custom Script: Cache & Fetch: Test vs. Production

Common Setup for all tests in this section:

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&behid - missing &test

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=61&behid=14
    • Confirm: error message about date past today requires &test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=61&behid=14
    • Confirm: error message about date past today requires &test
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&script - missing &test on cache

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=61&behid=14
    • Confirm: error message about date past today requires &test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=61&behid=14&test
    • Confirm: blank results
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&script - missing &test on fetch

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=61&behid=14&test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=61&behid=14
    • Confirm: error message about date past today requires &test
Image:Yellowbox.jpg

Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&script&test

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=61&behid=14&test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=61&behid=14&test
    • Confirm: correct RSS displayed that includes all issues upto January 2008 issue of Beyond Penguins


Script Test Matrix for 'Distribution Specifies Range'

Destination Identifier Range/Result Identifier Script Identifier
destination (destination uid) script (script uid)
did (destination id) script
destination behid (script id)
did behid
destination date (result date) script
did date script
destination date behid
did date behid


Image:Greenck.jpg Test Passed Image:RedX.jpg Test Failed Image:Orangeqmark.jpg Question with the Test Image:Yellowbox.jpg Not Begun
Status Test and Expected Results

Test Suite: Distribution Specifies Range: Cache and Fetch scripts: Called Directly

Common Setup for all tests in this section:

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&script=generate
    • Confirm: correct RSS displayed for today's news
Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: did&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&script=generate
    • Confirm: correct RSS displayed for today's news
Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: destination&behid

Script ID: TBA (not written yet) Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&behid=TBA
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&behid=TBA
    • Confirm: correct RSS displayed for today's news
Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: did&behid

Script ID: TBA (not written yet) Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&behid=TBA
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&behid=TBA
    • Confirm: correct RSS displayed for today's news
Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: destination&date&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&date=12/01/2008&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&date=12/01/2008&script=generate
    • Confirm: correct RSS displayed for 12/01/2008 news
Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: did&date&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&date=12/02/2008&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&date=12/02/2008&script=generate
    • Confirm: correct RSS displayed for 12/01/2008 news
Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: destination&date&behid

Script ID: TBA (not written yet) Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&date=12/03/2008&behid=TBA
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&date=12/03/2008&behid=TBA
    • Confirm: correct RSS displayed for 12/01/2008 news
Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: did&date&behid

Script ID: TBA (not written yet) Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&date=12/04/2008&behid=TBA
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&date=12/04/2008&behid=TBA
    • Confirm: correct RSS displayed for 12/01/2008 news

Test Suite: Distribution Specifies Range: Cache & Fetch: Test vs. Production

Common Setup for all tests in this section:

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: did&date&behid - missing &test

Script ID: TBA (not written yet) Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&date=01/15/2009&behid=TBA
    • Confirm: error message about date past today requires &test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&date=01/15/2009&behid=TBA
    • Confirm: error message about date past today requires &test
Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: did&date&script - missing &test on cache

Script ID: TBA (not written yet) Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&date=01/15/2009&behid=TBA
    • Confirm: error message about date past today requires &test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&date=01/15/2009&behid=TBA&test
    • Confirm: blank results
Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: did&date&script - missing &test on fetch

Script ID: TBA (not written yet) Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&date=01/15/2009&behid=TBA&test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&date=01/15/2009&behid=TBA
    • Confirm: error message about date past today requires &test
Image:Yellowbox.jpg

Test: Distribution Specifies Range: Cache and Fetch: did&date&script&test

Script ID: TBA (not written yet) Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&date=01/15/2009&behid=TBA&test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&date=01/15/2009&behid=TBA&test
    • Confirm: correct RSS displayed for 01/15/2009 news


Script Test Matrix for 'All Distributions'

Destination Identifier Range/Result Identifier Script Identifier
destination (destination uid) script (script uid)
did (destination id) script
destination behid (script id)
did behid


Image:Greenck.jpg Test Passed Image:RedX.jpg Test Failed Image:Orangeqmark.jpg Question with the Test Image:Yellowbox.jpg Not Begun
Status Test and Expected Results

Test Suite: All Distributions: Cache and Fetch scripts: Called Directly

Common Setup for all tests in this section:

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: All Distributions: Cache and Fetch: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppbpg&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppbpg&script=generate
    • Confirm: correct RSS displayed Beyond Penguins Photo Gallery
Image:Yellowbox.jpg

Test: All Distributions: Cache and Fetch: did&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=36&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=36&script=generate
    • Confirm: correct RSS displayed for Beyond Penguins Photo Gallery
Image:Yellowbox.jpg

Test: All Distributions: Cache and Fetch: destination&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppbpg&behid=9
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppbpg&behid=9
    • Confirm: correct RSS displayed for Beyond Penguins Photo Gallery
Image:Yellowbox.jpg

Test: All Distributions: Cache and Fetch: did&behid

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=36&behid=9
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=36&behid=9
    • Confirm: correct RSS displayed for Beyond Penguins Photo Gallery

Test Suite: All Distributions: Cache & Fetch: Test vs. Production

Common Setup for all tests in this section:

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: All Distributions: Cache and Fetch: did&date&behid - missing &test

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=45&behid=9
    • Confirm: error message about date past today requires &test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=45&behid=9
    • Confirm: error message about date past today requires &test
Image:Yellowbox.jpg

Test: All Distributions: Cache and Fetch: did&date&script - missing &test on cache

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=45&behid=9
    • Confirm: error message about date past today requires &test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=45&behid=9&test
    • Confirm: blank results
Image:Yellowbox.jpg

Test: All Distributions: Cache and Fetch: did&date&script - missing &test on fetch

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=45&behid=9&test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=45&behid=9
    • Confirm: error message about date past today requires &test
Image:Yellowbox.jpg

Test: All Distributions: Cache and Fetch: did&date&script&test

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?did=33&rid=45&behid=9&test
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?did=33&rid=45&behid=9&test
    • Confirm: correct RSS displayed for Beyond Penguins Photo Gallery including image with Jan date


Script Test Matrix for Security

User Can View Results Can Create Results Can Manage Destinations
not logged in YES NO NO
logged in as user with no rights YES NO NO
logged in as Destination Admin YES Some Some
logged in as Admin YES YES YES


Image:Greenck.jpg Test Passed Image:RedX.jpg Test Failed Image:Orangeqmark.jpg Question with the Test Image:Yellowbox.jpg Not Begun
Status Test and Expected Results

Test Suite: Security: Not Logged In: Cache and Fetch scripts: Called Directly

Common Setup for all tests in this section:
  1. Login as Admin
    1. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
      • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
    2. if results are blank, run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=March2008&script=generate
    3. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
      • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
    4. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=April2008&script=generate
      • Confirm: results are blank
    5. if results are NOT blank, delete them
    6. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=April2008&script=generate
      • Confirm: results are blank
  1. Log out

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: Security: Not Logged In: Fetch: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
    • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Security: Not Logged In: Cache: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=April2008&script=generate
    • Confirm: forwarded to login
Image:Yellowbox.jpg

Test: Security: Not Logged In: Manage Destinations

Test:

  1. run URL: https://onramp.nsdl.org/onfire/manage/destinations.php
    • Confirm: forwarded to login

Test Suite: Security: No Privileges: Cache and Fetch scripts: Called Directly

Common Setup for all tests in this section:
  1. Login as Admin
    1. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
      • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
    2. if results are blank, run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=March2008&script=generate
    3. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
      • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
    4. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=April2008&script=generate
      • Confirm: results are blank
    5. if results are NOT blank, delete them
    6. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=April2008&script=generate
      • Confirm: results are blank
  1. Log out
  2. Login as user with No Privileges

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: Security: No Privileges: Fetch: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
    • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Security: No Privileges: Cache: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=April2008&script=generate
    • Confirm: error message about no rights to create or generate
Image:Yellowbox.jpg

Test: Security: No Privileges: Manage Destinations

Test:

  1. run URL: https://onramp.nsdl.org/onfire/manage/destinations.php
    • Confirm: error message about no rights or need to be admin

Test Suite: Security: Destination Admin: Cache and Fetch scripts: Called Directly

Common Setup for all tests in this section:
  1. Login as Admin
    1. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
      • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
    2. if results are blank, run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=March2008&script=generate
    3. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
      • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
    4. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=April2008&script=generate
      • Confirm: results are blank
    5. if results are NOT blank, delete them
    6. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=April2008&script=generate
      • Confirm: results are blank
    7. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=May2008&script=generate
      • Confirm: results are blank
    8. if results are NOT blank, delete them
    9. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=May2008&script=generate
      • Confirm: results are blank
  1. Log out
  2. Login as Destination Admin

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: Security: Destination Admin: Owner: Fetch: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
    • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Security: Destination Admin: Owner: Cache: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=April2008&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=April2008&script=generate
    • Confirm: correct RSS displayed for April 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Security: Destination Admin: Not Owner: Fetch: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=ncore_web
    • Confirm: correct RSS displayed NCore website
Image:Yellowbox.jpg

Test: Security: Destination Admin: Not Owner: Cache: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=ncore_web
    • Confirm: error message about no rights to create or generate
Image:Yellowbox.jpg

Test: Security: Destination Admin: Manage Destinations

Test:

  1. run URL: https://onramp.nsdl.org/onfire/manage/destinations.php
    • Confirm: list includes only destinations owned by this destination admin
  2. click Edit under Content Definitions
    • Confirm: edit Content Definitions screen is displayed
  3. click Edit under Post Processing
    • Confirm: edit Post Processing screen is displayed
  4. click Edit under Configure
    • Confirm: edit Destination Configuration screen is displayed
  5. click Manage under Results
    • Confirm: edit Manage Results screen is displayed
  6. click Execute link beside May 2008 issue
  7. click Fetch link beside May 2008 issue
    • Confirm: correct RSS displayed for May 2008 issue of Beyond Penguins


Test Suite: Security: Admin: Cache and Fetch scripts: Called Directly

Common Setup for all tests in this section:
  1. Login as Admin
    1. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
      • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
    2. if results are blank, run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=March2008&script=generate
    3. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
      • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
    4. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=April2008&script=generate
      • Confirm: results are blank
    5. if results are NOT blank, delete them
    6. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=April2008&script=generate
      • Confirm: results are blank
    7. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=May2008&script=generate
      • Confirm: results are blank
    8. if results are NOT blank, delete them
    9. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=May2008&script=generate
      • Confirm: results are blank
  1. Log out
  2. Login as Destination Admin

Common Tear Down for all tests in this section:

Image:Yellowbox.jpg

Test: Security: Admin: Fetch 1: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=March2008&script=generate
    • Confirm: correct RSS displayed for March 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Security: Admin: Cache 1: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=bppb&uid=April2008&script=generate
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=bppb&uid=April2008&script=generate
    • Confirm: correct RSS displayed for April 2008 issue of Beyond Penguins
Image:Yellowbox.jpg

Test: Security: Admin: Fetch 2: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=ncore_web
    • Confirm: correct RSS displayed NCore website
Image:Yellowbox.jpg

Test: Security: Admin: Cache 2: destination&script

Test:

  1. run URL: http://onramp.nsdl.org/distribute/cache.php?destination=ncore_web
  2. run URL: http://onramp.nsdl.org/distribute/fetch.php?destination=ncore_web
    • Confirm: correct RSS displayed NCore website
Image:Yellowbox.jpg

Test: Security: Admin: Manage Destinations

Test:

  1. run URL: https://onramp.nsdl.org/onfire/manage/destinations.php
    • Confirm: list includes all destinations
  2. click Edit under Content Definitions
    • Confirm: edit Content Definitions screen is displayed
  3. click Edit under Post Processing
    • Confirm: edit Post Processing screen is displayed
  4. click Edit under Configure
    • Confirm: edit Destination Configuration screen is displayed
  5. click Manage under Results
    • Confirm: edit Manage Results screen is displayed
  6. click Execute link beside May 2008 issue
  7. click Fetch link beside May 2008 issue
    • Confirm: correct RSS displayed for May 2008 issue of Beyond Penguins
Personal tools