The new API metrics endpoint gives you full access to performance data within your RedLine13 test. Instead of downloading the stats data you can query for a single metric or multiple metrics with your test. You can use this data to build your own graphs or trending information. We built this because of a customer request so that they could create their own dashboard.
See the API documentation. And for parameters and format, see the new endpoint. This new endpoint is included with the enterprise license.
You can test the endpoint online with our swagger deployment here.
Here is an example with CURL
curl -X GET --header 'Accept: application/json' --header 'X-Redline-Auth: YOUR_API_KEY' 'https://www.redline13.com/Api/Metrics?loadTestId=69272&filter=skout'
And the results will be something similar to
[ { "hash": "222889fabebe34166b71e37c9c8dee26dc85d10a", "label": "www.skout.com", "data": { "overview": { "avgLoadTime": "1.3397111111111137", "count": "50", "downloadSize": "950", "errAvgLoadTime": "0", "errCount": "0", "errDownloadSize": "0", "range": 3 }, "labels": [ 0, 1, 2, 3 ], "pageRespTimePerSec": [ 0.2716, 0.082105263157895, 0.23327272727273, 0.0823 ], "pageReqPerSec": [ 10, 19, 11, 10 ], "pageKbPerSec": [ 190, 361, 209, 190 ], "pageErrRespTime": [ "0", "0", "0", "0" ], "pageErrCount": [ 0, 0, 0, 0 ], "pageErrKb": [ 0, 0, 0, 0 ] } } ]