bcgov / cas-ciip-portal

The Climate Action Secretariat's CleanBC Industrial Incentive Program application
https://ciip.gov.bc.ca/
Apache License 2.0
10 stars 2 forks source link

As a CIIP devops engineer, I want to load test the file upload functionality, so that I can trust the system to handle a volume of file uploads #2195

Closed pbastia closed 1 year ago

pbastia commented 1 year ago

Description:

The current load testing scripts only handle a handful of high-impact mutations (see here) This is to add the file upload - with a test payload - and ensure the system can handle the load.

We can probably mock the GCS storage instead of hitting it, or use our TEST GCS namespace if we want to test the whole chain.

Acceptance Criteria:

Given I am a CIIP reporter When I submit my application during a busy period, with a verification statement Then the system should not crash And I shouldn't notice excessive slow-downs

Given I am a CIIP Devops engineer, When the scheduled load testing is scheduled Then there are tests ready to be run

Given I am a CIIP Devops engineer, When I run CI Then there are smoke tests that cover the upload functionality

Dev Checklist

pbastia commented 1 year ago

We might want to split this card between writing the scripts and running the load testing itself:

pbastia commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @BCerki @dleard @gurjmatharu @sam-warren @Sepehr-Sobhani @tmastrom