Serenity BDD Report
Home
>
Registration
>
Registration
> Negative scenario
Overall Test Results
Requirements
Capabilities
Features
Report generated 21-08-2025 23:49
Registration
Background: Saved to the DB user
Under 1 Second (Duration)
Negative Scenario
Scenario Outline
Given user registration request with following: <userFamilyName>, <userFirstName>, <phoneNumber>, <email> and <password>
When user <email> sends POST registration request
Then API responds with <responseCode> HTTP code
Examples:
#
User Family Name
User First Name
Phone Number
Email
Password
Response Code
1
Doe
John
+40555555555
something
john.doe
422
Steps
Outcome
1: Negative Scenario: User submits POST request without email, error message is returned. ({userFamilyName=Doe, userFirstName=John, phoneNumber=+40555555555, email=something, password=john.doe, responseCode=422})
SUCCESS
144ms
Given following roles:
Id
Role
1
ADMIN
2
MODERATOR
3
PROFESSOR
4
STUDENT
SUCCESS
006ms
And ADMIN users with following:
Family Name
First Name
Phone Number
Email
Password
Hopkins
Amanda
+40111111111
amanda.hopkins@mail.com
amanda.hopkins
SUCCESS
062ms
And user amanda.hopkins@mail.com sends POST authentication request with amanda.hopkins or alternative amanda.hopkins password
SUCCESS
062ms
Given user registration request with following: Doe, John, +40555555555, something and john.doe
SUCCESS
When user something sends POST registration request
SUCCESS
008ms
Then API responds with 422 HTTP code
SUCCESS
SUCCESS
0.14s
Serenity BDD version 4.2.34