Skip to content
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

Add K6 script for initial load test #2810

Closed
2 tasks
Tracked by #2777
mkurapov opened this issue Jul 15, 2024 · 0 comments · Fixed by #2828
Closed
2 tasks
Tracked by #2777

Add K6 script for initial load test #2810

mkurapov opened this issue Jul 15, 2024 · 0 comments · Fixed by #2828
Assignees

Comments

@mkurapov
Copy link
Contributor

mkurapov commented Jul 15, 2024

Context

In order to create initial load/stress tests for the local playground as part of the performance testing story, we should add a K6 script to the repository that simulates a simple peer to peer payment using the GraphQL APIs: createReceiver createQuote and createOutgoingPayment.

For now, we can set the scenario to be quite small, a single virtual user (VU) across 10 minutes. We should be able to see the local playground Grafana dashboard properly populate with metrics (and traces).

Since the local playground is within docker, we will need to run this script in docker as well, e.g.
docker run --rm -i grafana/k6 run - <script.js

Make sure that the k6 docker container is run within the same rafiki network as the other containers.

The K6 documentation can be found here.

Tasks

  • Add a K6 script in the repository that simulates a peer to peer payment between cloud-nine-wallet and happy-life-bank
  • Add README for running the script
@mkurapov mkurapov mentioned this issue Jul 15, 2024
8 tasks
@github-project-automation github-project-automation bot moved this to Backlog in Rafiki Jul 15, 2024
@mkurapov mkurapov moved this from Backlog to Todo in Rafiki Jul 16, 2024
@njlie njlie self-assigned this Jul 16, 2024
@njlie njlie moved this from Todo to In Progress in Rafiki Jul 16, 2024
@njlie njlie moved this from In Progress to Ready for Review in Rafiki Aug 2, 2024
@github-project-automation github-project-automation bot moved this from Ready for Review to Done in Rafiki Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants