Test: Added K6 (Dynamic Analysis) #100
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
k6 is a dynamic load testing tool that simulates mass concurrent virutal users to measure runtime performance (latency, throughput under load, load maintenance, etc.). This helps identify bottlenecks or weak zones for active usage
How k6 works
k6 runs JS test scripts that simulate user traffic by sending HTTP requests, and then collects metrics like request duration, error rates, and throughput. By having waves of ramping the load up and down, k6 can profile performance during differnt loads and expose bottlenecks or downstream effects
Evidence that you had successfully installed the tool
$ sudo apt update
$ sudo apt install -y k6
$ k6 version
Artifacts that demonstrate that you have successfully run the tool on your repository
$ k6 run test/k6/load-test.js > test/k6/k6-output-a.txt
What types of problems are you hoping your tooling will catch? What types of problems does this particular tool catch?
What types of customization are possible or necessary?
How can/should this tool be integrated into a development process?
Are there many false positives? False negatives? True positive reports about things you don’t care about?