Greenstand / Greenstand/treetracker-query-api
The pressure test for query API
- Dominant language
- TypeScript
- Stars
- 18
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
We need to test the capacity of the query API service, by using the test tool: https://k6.io/
About this task:
1. Test it on the test env, which gets almost the same resources to the prod env, and the dev env just gets limited resource in terms of cpu/memory.
2. Cover major endpoint like:
* GET /trees
* GET /trees with filter: [organization_id, planter_id]
* GET /trees/{id}
* GET /planters/{id}
* GET /planters
* GET /organizations/{id}
* GET /organizations
* GET /wallets
* GET /wallets/{id}
* GET /tokens
* GET /tokens/{id}
3. Test the capacity/limitation of the routes, the average responding time, the maximum concurrent ability when successful rate > 99%, and give the test result report.
If anyone want to take it, I will give you all the resource you need, the test env settings, db settings and so on.
Contributor guide
Assessment
This issue has not been assessed yet.