graphql-mesh
graphql-mesh copied to clipboard
Loadtesting E2Es
- Loadtests are regular tests
- Loadtest filenames match pattern
*.loadtest.ts
- Loadtest filenames match pattern
- Loadtests is buildless
- Loadtests are isolated, but should NOT run concurrently making sure they don't interfere
- No extra tools, just JavaScript
- Type-safe
- Easy to set up
- Automatic cleanup
- Any E2E and any GraphQL request can be benchmarked
- Expected thresholds are coded in tests
- All loadtest requests must be successful (respond with a 200 OK and not contain any GQL errors)
https://github.com/ardatan/graphql-mesh/blob/c60a4e650fd6e6b33d712ff93236f8ecd795f89d/e2e/sqlite-chinook/sqlite-chinook.loadtest.ts#L1-L44
TODO
- [ ] Loadtest rest of E2Es
💻 Website Preview
The latest changes are available as preview in: https://8421a2e7.graphql-mesh.pages.dev
🚀 Snapshot Release (alpha
)
The latest changes of this PR are available as alpha
on npm (based on the declared changesets
):
Package | Version | Info |
---|---|---|
@graphql-mesh/json-schema |
0.100.7-alpha-20240514183156-bf92bd7a55730267c588da9d69b37227c33ae841 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/openapi |
0.100.8-alpha-20240514183156-bf92bd7a55730267c588da9d69b37227c33ae841 |
npm ↗︎ unpkg ↗︎ |
@graphql-mesh/raml |
0.100.7-alpha-20240514183156-bf92bd7a55730267c588da9d69b37227c33ae841 |
npm ↗︎ unpkg ↗︎ |
@omnigraph/json-schema |
0.100.7-alpha-20240514183156-bf92bd7a55730267c588da9d69b37227c33ae841 |
npm ↗︎ unpkg ↗︎ |
@omnigraph/openapi |
0.100.8-alpha-20240514183156-bf92bd7a55730267c588da9d69b37227c33ae841 |
npm ↗︎ unpkg ↗︎ |
@omnigraph/raml |
0.100.7-alpha-20240514183156-bf92bd7a55730267c588da9d69b37227c33ae841 |
npm ↗︎ unpkg ↗︎ |