Comment on page

Authentication Service

You need to send a POST request to token service as below. curl --request POST --url --header 'accept: application/json' --header 'authorization: Basic dGVzdGluaXVtU3VpdGVUcnVzdGVkQ2xpZW50OnRlc3Rpbml1bVN1aXRlU2VjcmV0S2V5' --data 'grant_type=password&password=PASSWORD&username=USERNAME&scope=openid'
Response will be a JSON file. You need to extract access_token variable to use it in other requests.
{ "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVC", "token_type": "bearer", "refresh_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX25hb", "expires_in": 33156, "scope": "openid", "jti": "fd48e809-b8a0-494a-b2a4-b587deeef570"
Enjoy load testing!
If you don't see the answer to your question here, please reach out to us to let us know! We're always improving our documentation.