-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing K6 Dynamic Analysis Tool #54
Conversation
Pull Request Test Coverage Report for Build 11584102444Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Installation, workflows, and test file looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the implementation and PR looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
everything looks good, added to workflow file and have a test script
What?
Grafana K6
dynamic analysis (peformance testing) tool on our team repository.k6-test.js
stress tests the traffic to our team's deployed website. The number of virtual users starts at 10 and doubles every 30 seconds until reaching a max of 160 users. We verify that the average failure rate of HTTP requests should be at most 20% and the 95th percentile of HTTP request duration is at most 3 seconds as part of the thresholds check. A run of this test was done locally and is done in the Github deployment workflow actions check.k6-test.js
script, we functionaly test the Solved/Unsolved button on our app from User Story 2, verifying that as an instructor (admin), the button toggles between the two states appropriately.Why?
Installation
Installation of K6 in terminal
brew install k6
was ran to install K6 locally.k6 new k6-test.js
was ran to initiate new k6 test script. File identified ask6-test.js
Screenshots of Successful Run
Output of Running K6 Test Script
k6 run k6-test.js
ranPerformance Overview of Run on Grafana Dashboard
k6 cloud k6-test.js
ran to view analysis on Grafana project dashboard: https://alinache.grafana.net/a/k6-app/tests/934882