Logo: Relish

  1. Sign in

Project: Authentication-service

Check Token

Check token validity.

Scenarios
Check a valid token
Given
the content-type is 'application/json'
And
the user is authenticated
When
a POST request is sent to '/authenticated/{valid_token}' without body
Then
a HTTP status code of 201 should be returned
Check an invalid token
Given
the content-type is 'application/json'
When
a POST request is sent to '/authenticated/{invalid_token}' without body
Then
a HTTP status code of 404 should be returned

Last published about 4 years ago by John James.