BlazeMeter API Overview
BlazeMeter is a 100% JMeter-compatible, self-service web testing cloud. Performance tests and Functional tests are easily created and configured online. Once these tests are created, it is possible to run them using the BlazeMeter REST API. This means that instead of manually starting the tests, users simply create an automated script that will automatically run a predefined test via the API.
BlazeMeter has a new, improved API for performing the same actions programmatically as you can with our UI. The API is RESTful and works with JSON messages over HTTP. It relies on the standard HTTP verbs including GET, POST, PUT, DELETE, and PATCH.
For detailed documentation of various useful APIs and Swagger doc, see help.blazemeter.com/apidocs/.
API Endpoints
- All API URLs for Performance and Functional testing are relative to
https://a.blazemeter.com/api/v4/
. For example, the tests/start API call is reachable athttps://a.blazemeter.com/api/v4/tests/start
. - Service Virtualization API endpoints for Service Virtualization are reachable at https://mock.blazemeter.com.
- API Monitoring API endpoints are reachable at https://api.runscope.com. This API is currently unversioned, but some features are only available by appending v1 in the URL. For instance, the bucket details API is reachable via
https://api.runscope.com/v1/buckets/<bucket_key>
. - The Test Data API relies on the Asset Repository API and both are available for all test types. The Asset Repository API is reachable via
https://ar.blazemeter.com/api/v3/
, and the Test Data Management API is reachable viahttps://tdm.blazemeter.com/api/v1/
.
Passing Request Data
Request data is passed to the API by POSTing JSON objects to the API endpoints with the appropriate parameters. The documentation for each API call will contain more detail on the parameters accepted by the call.