Skip to content

test: add initial submit-application stress test using k6#1092

Merged
dimak1 merged 2 commits intobcgov:mainfrom
dimak1:feat/stress-tests
Mar 13, 2026
Merged

test: add initial submit-application stress test using k6#1092
dimak1 merged 2 commits intobcgov:mainfrom
dimak1:feat/stress-tests

Conversation

@dimak1
Copy link
Copy Markdown
Collaborator

@dimak1 dimak1 commented Mar 12, 2026

Issue:

Description of changes:

  • add initial stress test using k6 for application submission
  • add summary and detailed reports

test run output example

Screenshot 2026-03-13 at 10 01 04

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the BC Registry and Digital Services BSD 3-Clause License

@dimak1 dimak1 self-assigned this Mar 12, 2026
@bcregistry-sre
Copy link
Copy Markdown
Collaborator

Temporary Url for review: https://strr-hosts-dev--pr-1092-dpot53o7.web.app

Comment thread strr-host-pm-web/tests/stress/submit-applications.js
Copy link
Copy Markdown
Collaborator

@JazzarKarim JazzarKarim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet, LG! 👍

@jimmypalelil
Copy link
Copy Markdown
Collaborator

Looks good.. are the execution results documented somewhere or is that a separate ticket? any learnings/findings from the execution if applicable?

@dimak1
Copy link
Copy Markdown
Collaborator Author

dimak1 commented Mar 12, 2026

@jimmypalelil Good question. Execution results are printed out upon test completion. I can add a built-in handleSummary function to add results to json file or output to the terminal in a formatted way. I can add results to gitignore, since I don't think we should commit them to the repo. LMK, thanks!

@dimak1 dimak1 changed the title test: add initial stress test using k6 test: add initial submit-application stress test using k6 Mar 13, 2026
@sonarqubecloud
Copy link
Copy Markdown

@bcregistry-sre
Copy link
Copy Markdown
Collaborator

Temporary Url for review: https://strr-hosts-dev--pr-1092-dpot53o7.web.app

@dimak1 dimak1 merged commit 4e72b86 into bcgov:main Mar 13, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants