Follow

Authorization

Cookie Authentication

Cookie authentication is the basic authentication method with Blazemeter. Authentication cookies are commonly used by web servers to know whether the user is logged in or not, and which account they are logged in with. When you log in to your Blazemeter account, a cookie will be generated exclusively for your session. When Blazemeter recognizes a valid session key in a subsequent request, it will authorize the user according to this session key without requesting the password again.

Header Authentication

To use BlazeMeter API without any dependence in a cookie or a token, be sure to pass your API Key in the request header

Here is how you will find your API key. Examples for using the API Key in a header can be seen in any API request example in Curl and Python; i.e.: In API section, check the article Create a Test

Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    Shawn Freyssonnet-Inder

    > To use BlazeMeter API without any dependence in a cookie or a token, be sure to pass your API Key in the request header


    In which header? I tried passing my API key along in the Authorization header, but that doesn't work (401). I also tried using a header called `x-api-key`. Also didn't work (401).

    > Examples for using the API Key in a header can be seen in any API request example in Curl and Python.


    Where can I find these examples? Why is there no link here? Why are these example not coming up in Google when I type "Blaze Meter API key example curl"?

     
    In fact, why is there no copy-paste-able example right there on that page? A simple example using curl to pass along the API key in the expected way would be extremely helpful.

     

    Edited by Shawn Freyssonnet-Inder
Please sign in to leave a comment.