Public APIs
Usage of the Gatling Enterprise Edition public API
The Gatling Enterprise Edition API server also exposes a public API that you can use to trigger runs or fetch run results and metrics.
This API requires an
Authorization HTTP header populated with an API token.Help
- You have to provide the run ID as a query parameter to fetch other run metadata (load generators, remotes, hostnames, scenarios, groups, requests)
- The
fromandtoquery parameters for the/seriesendpoint are the lower and upper timestamp bounds of the time window you want to query. - You can fetch the total run time window from the
/runsendpoint (injectStart,injectEnd). - The returned percentiles by the API are:
min,p25,p50,p75,p80,p85,p90,p95,p99,p999,p9999andmax.