This project will handle the load tests for backend API.
Include:
load_scripts/backend-api/manifest.js
)load_scripts/backend-api/login.js
)load_scripts/backend-api/checkToken.js
)load_scripts/backend-api/register.js
)The scripts provide a simplified visual report with testings and validations
Grafana Dashboard supportThere is an easy option to debug any performance issue using a full featured dashboard.
As well is possible to check details in depth.
npm run infra:build # Build docker-compose npm run infra:start # Up docker-compose npm run infra:stop # Down docker-compose
You should create a .env
file at the same level as the docker-compose.yml
. Those environmental variables will be injected to the K6 docker image.
Variables needed:
BACKEND_BASE_URL
USER_EMAIL
USER_PASS
By default there is no dashboard attached to Grafana. So please follow the steps.
2587
to Grafana.com Dashboard
and click `Load``myfluxdb
as the value for k6
field and click import
Update the .env
with the information needed.
Note: If you need to access to a running server outside the container, you can use host.docker.internal
, like:
BACKEND_BASE_URL=http://host.docker.internal:4000
To run the tests:
⚠️ Note: the tests can take a while 5 minutes or more. So please check the terminal and the dashboard
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4