Serenity and Cucumber Quick Start
Home > Api > Registering a new user > Password must not be empty
Report generated 12-03-2024 07:14

Registering A New User

  Integration   Under 1 Second (Duration)

Password must not be empty
Steps Outcome
POST http://localhost:38083/wordle/api/auth/register

Response

URL: http://localhost:38083/wordle/api/auth/register

Status code: 400

Content Type: application/json

Request Headers

Accept=*/*
Content-Type=application/json

Content Body

{
"username": "rey.fisher",
"password": "",
"email": "egju19@gmail.com"
}

Response Headers

Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Tue, 12 Mar 2024 07:14:30 GMT
Connection: close

Response Body

{
"country": "must not be blank",
"password": "must not be blank",
"role": "must not be blank"
}
SUCCESS 001ms
SUCCESS 0.12s
Serenity BDD version 4.1.3