← Back
Editing: 10-authenticate.feature
Feature: In order to check if authentication is functional As a user I want to access to application Scenario: It receives an authentication payload from API Given the "Content-Type" request header contains "application/json" And the "X-Api-Solution" request header contains "Clean Manager" And the request body is: """ {"username":"agent1-demo@arithmetic.fr","password":"5eb192cf"} """ When I request "/api/json_login/check" using HTTP POST Then the response code is 200 And the response body contains JSON: """ { "token": "@variableType(string)", "refresh_token": "@variableType(string)" } """
Save File
Cancel