You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: createReceivercreateQuote 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.
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
andcreateOutgoingPayment
.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
The text was updated successfully, but these errors were encountered: