NAV Navbar
Home Functional Performance Mock Services API Monitoring Test Data
cURL
  • Introduction
  • Introduction

    Welcome to the BlazeMeter API Reference! This reference provides information on accessing our API endpoints to create, run, and update functional and performance test configurations, retrieve functional and performance test results; create, run, and update mock services; manage test data; and create, run, and update API monitoring services.

    This API reference uses the following conventions for your convenience:

    Overview

    The tabs at the top correspond to the various APIs provided within BlazeMeter. See BlazeMeter: Getting Started for the list of API tabs that are currently available.

    Response Codes (Success and Error)

    Response 401 Unauthorized

    {
        "error": {
            "code": 401,
            "message": "Unauthorized"
        },
        "api_version": 4,
        "result": null
    }
    

    The BlazeMeter API uses conventional HTTP response codes to indicate the success or failure of an API request. Generally, codes in the 2xx range indicate success, codes in the 4xx range indicate client errors (an error that failed to provide the required information such as a missing required parameter), and codes in the 5xx range indicate server errors. The sample response indicates a failure of the API request due to not providing a valid API key.

    The BlazeMeter API uses the following response codes:

    Code Name Description
    200 OK Everything worked as expected
    201 Created Status when you create a new entity and everything worked as expected
    204 No content The server successfully processed the request and does not return any content
    400 Bad Request The request was unacceptable. Missing a required parameter, bad request syntax, or too large a size, are some of the common causes of this code.
    401 Unauthorized No valid API key provided
    402 Request Failed The parameters were valid, but the request failed
    403 Forbidden The API Key does not have permission to perform this action
    404 Not Found The requested resource does not exist
    409 Conflict The request conflicts with another request
    429 Too Many Requests Too many requests sent to the API in too short a period
    500, 502, 503, 504 Server Errors Something went wrong on BlazeMeter's end