Authorization

Verifies if you have permission to the resource queried.

Authorization Types

You can use environment variables as the Username, Password, Token, and other authorization parameters.

No auth

Use the No Auth type if you don't need authorization while sending a request.

Inherit from parent

By default authorization parameters are inherited from the parent node. If the parameters are not specified, the No auth type is used.

Basic auth

The type is used when login and password are required for sending a request.

Using Basic auth

Open the request and click on the Authorization tab and choose Digest auth. Set the Username and Password in the corresponding fields.

Bearer auth

Bearer auth is a token based authorization. Any user with the bearer token can use it to get the access to the resources.

Using Bearer auth

Open the request and click on the Authorization tab and choose Bearer auth. Set the token in the token field.

Digest Auth

Using this method, you send a hashed login, password, the server url and nonce values, which provides a higher security level than basic authorization, where you send data with no encryption.

Using Digest Auth

Open the request and click on the Authorization tab and choose Digest auth. Set the Username and Password in the corresponding fields.

OAuth 1.0

OAuth 1.0 allows you to access protected resources without exposing your login and password.

Using OAuth 1.0

Open the request and click on the Authorization tab and choose OAuth 1.0. Input required data in the fields.

The OAuth 1.0 parameters supported in TestMace

Parameters

Description

Consumer Key

The key

Consumer Secret

The consumer code

Access Token

The token

Token Secret

The token code

Signature Method

The signature Method: PLAINTEXT, HMAC-SHA1, RSA-SHA1

Version

1.0

Realm

The server the request is sent to

Last updated