Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-4837

Build Data Download Test Script for Production Services

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Standard Standard
    • None
    • None
    • None
    • None
    • 8
    • Sprint 160

      Acceptance Criteria:

      Build a script that can test Gateway downloads and TDS downloads.
      Exercise all our file download APIs and end user URLs.
      Test OpenID workflow with TDS downloads.
      Test range requests.
      Automate testing if possible.

      Use Cases to Test... All cases need to test both a normal download and a range request download.

      Gateway
      - Download without authentication/authorization needed (E.g.: ncl file)

      Authorization Failures
      - Attempt to download a file that requires authentication without being authenticated.

      This dataset only requires authentication (being logged in), but not authorization.
      https://www.earthsystemgrid.org/dataset/gridded_precip_and_temp.html

      The files are HUGE in this dataset, however there is a doc file that is only a few megs in size:
      https://www.earthsystemgrid.org/dataset/gridded_precip_and_temp/file/precip_temperature_ensemble_dataset_known_issues.docx

      This dataset requires both authentication and authorization:
      https://www.earthsystemgrid.org/dataset/ucar.cgd.clm.src.2.0.html

      Group: CCSM (Community Climate System Model) users.


      - Attempt to download a file that requires authorization without being authenticated.
      - Download a file for a retracted dataset.

      Authentication via OpenId/Username & Password
      - Download file that requires only authentication.
      - Attempt to download a file that requires authorization without proper authorization.
      - Download a file that requires authorization with proper authorization.
      - Download a file for a retracted dataset.

      Authentication via Api-Token
      - Download file that requires only authentication.
      - Attempt to download a file that requires authorization without proper authorization.
      - Download a file that requires authorization with proper authorization.
      - Download a file for a retracted dataset.


      TDS
      - Download without authentication/authorization needed (E.g.: ncl file)

      Authorization Failures
      - Attempt to download a file that requires authentication without being authenticated. (cmip or nmme)

      - Attempt to download a file that requires authorization without being authenticated.

      Authentication via OpenId
      - Download file that requires only authentication.

      - Attempt to download a file that requires authorization without proper authorization.

      - Download a file that requires authorization with proper authorization.

      Authentication via Auth-Token
      - Download file that requires only authentication.

      - Attempt to download a file that requires authorization without proper authorization.

      - Download a file that requires authorization with proper authorization.

              nhook Nathan Hook
              ejn Eric Nienhouse
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: