This repository is a fork of the Aries Cloud Agent Load Generator. It configures the load generator specifically to reproduce AcaPy "Revocation registry metadata not found" Errors.
You need to have Docker and Docker-Compose installed.
Further, you need to ensure to not use Docker Compose V2 as it is
incompatible to the setup used by the load generator. To deactivate Compose V2 run docker-compose disable-v2
.
./setup/manage.sh start
- Open http://localhost:3000/d/0Pe9llbnz/test-results to the test results visualized in a Grafana dashboard.
- Scroll down to:
- https://github.com/lissi-id/acapy-load-test-results/tree/main/Full%20Flow%20Increasing%20Load/08%20AcaPy%200_7_3%20askar_wallet
- https://github.com/lissi-id/acapy-load-test-results/tree/main/Full%20Flow%20Constant%20Load/08%20AcaPy%200_7_3%20askar_wallet
In case you want to debug the AcaPy while running the load-tests you can
set ISSUER_VERIFIER_AGENT_ENABLE_DEBUGGING=true
in the .env
. Afterwards, you can start the test environment
using ./setup/manage.sh debug
. This will build an AcaPy docker image based on the AcaPy version currently checked out
under ./setup/agents/acapy
and includes a Python debugger into the docker image.
Once the test environment started the issuer-verifier-acapy will state === Waiting for debugger to attach ===
. To
attach a debugger open ./setup/agents/acapy
in VS Code, add the following debug configuration to the launch.json
,
and start the debugging.
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Remote Attach",
"type": "python",
"request": "attach",
"connect": {
"host": "localhost",
"port": 5678
},
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "."
}
]
}
]
}
Finally, you can start the load-generator from the IDE or by running ./mvnw spring-boot:run
.