A small GraphQL API to practise load testing on. It serves fixed, fake customer and product data, so you can hammer it without hurting anything and without any credentials. Part of the Boomi Load Testing Toolkitโ .
๐ This is a demo target, not a production service. Don't expose it to the internet.
| Endpoint | What it does |
|---|---|
๐ฎ POST /graphql | GraphQL (Strawberry on FastAPI) |
๐ GET /ping | returns {"status": "ok"}, handy for health checks |
Queries you can try:
| Query | Returns |
|---|---|
customers(limit) | a list of customers |
customer(customerId) | one customer |
products(limit) | a list of products |
product(materialNumber) | one product |
It listens on port 8001.
docker run --rm -p 8011:8001 pythonicshahdev/boomi-loadtest-graphql-target:latest
In another terminal:
curl -s localhost:8011/graphql -H 'content-type: application/json' \
-d '{"query":"{ customers(limit: 2) { customerId } }"}'
You should get back {"data":{"customers":[{"customerId":"CUST-000001"},{"customerId":"CUST-000002"}]}}. โ
The toolkit includes ready-made GraphQL test plans and a dashboard:
git clone https://github.com/pythonicsshahdev/boomi-load-testing-toolkit
cd boomi-load-testing-toolkit
./setup.sh
| Tag | Meaning |
|---|---|
latest | the newest release |
YYYY-MM-DD | a pinned release |
๐ฅ๏ธ Multi-arch: linux/amd64 and linux/arm64.
boomi-loadtest-jmeterโ : the load generatorboomi-loadtest-grafanaโ : the dashboardhttps://github.com/pythonicsshahdev/boomi-load-testing-toolkitโ , released under the MIT license.
Content type
Image
Digest
sha256:95934cd65โฆ
Size
63 MB
Last updated
20 days ago
docker pull pythonicshahdev/boomi-loadtest-graphql-target