Serenity BDD Report
Home > Requirements > Tests > Add contact rest positive test
Report generated 02-04-2024 13:26

Feature: Add contact rest positive test

Feature Coverage By Scenario

Overview

Scenario Outline: Should be able to add a valid contact (1 example)
Scenario Outline: Should be able to add a contact with an empty birthdate (1 example)
Scenario Outline: Should be able to add a contact with an empty email (1 example)
Scenario Outline: Should be able to add a contact with an empty phone (1 example)
Scenario Outline: Should be able to add a contact with an empty street line 1 (1 example)
Scenario Outline: Should be able to add a contact with an empty city (1 example)
Scenario Outline: Should be able to add a contact with an empty state/province (1 example)
Scenario Outline: Should be able to add a contact with an empty postal code (1 example)
Scenario Outline: Should be able to add a contact with an empty country (1 example)
Scenario Outline: Should be able to add a contact with a short first name (1 example)
Scenario Outline: Should be able to add a contact with a maximum length first name (1 example)
Scenario Outline: Should be able to add a contact whose first name includes numbers (1 example)
Scenario Outline: Should be able to add a contact whose first name includes special characters (1 example)
Scenario Outline: Should be able to add a contact with a short last name (1 example)
Scenario Outline: Should be able to add a contact with a maximum length last name (1 example)
Scenario Outline: Should be able to add a contact whose last name includes numbers (1 example)
Scenario Outline: Should be able to add a contact whose last name includes special characters (1 example)
Scenario Outline: Should be able to add a contact with uppercase letters in the email (1 example)
Scenario Outline: Should be able to add a contact with a subdomain in the email (1 example)
Scenario Outline: Should be able to add a contact whose email includes numbers (1 example)
Scenario Outline: Should be able to add a contact whose email includes a dot (1 example)
Scenario Outline: Should be able to add a contact whose email includes a hyphen (1 example)

Scenarios

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Given i am registered in the system as a user

When i send POST contact request

Then verify that response is successful

Then verify that response body contains valid data

Then verify that response contains expected owner

Feature Coverage By Scenario

Test Outcomes

Test Performance

Key Statistics

Number of Scenarios 22 Total Duration 247ms
Total Number of Test Cases 22 Fastest Test 191ms
Number of Manual Test Cases 0 Slowest Test 245ms
Tests Started Apr 02, 2024 13:26:00 Average Execution Time 218ms
Tests Finished Apr 02, 2024 13:26:00 Total Execution Time 4s

Automated Tests

feature Scenario Context Steps Started Total Duration Result
AddContactRestPositiveTest Should be able to add a valid contact
1 passing test case
5 13:26:00 203ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with an empty birthdate
1 passing test case
5 13:26:00 209ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with an empty email
1 passing test case
5 13:26:00 220ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with an empty phone
1 passing test case
5 13:26:00 234ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with an empty street line 1
1 passing test case
5 13:26:00 245ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with an empty city
1 passing test case
5 13:26:00 232ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with an empty state/province
1 passing test case
5 13:26:00 225ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with an empty postal code
1 passing test case
5 13:26:00 224ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with an empty country
1 passing test case
5 13:26:00 207ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with a short first name
1 passing test case
5 13:26:00 213ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with a maximum length first name
1 passing test case
5 13:26:00 213ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact whose first name includes numbers
1 passing test case
5 13:26:00 206ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact whose first name includes special characters
1 passing test case
5 13:26:00 217ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with a short last name
1 passing test case
5 13:26:00 221ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with a maximum length last name
1 passing test case
5 13:26:00 191ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact whose last name includes numbers
1 passing test case
5 13:26:00 219ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact whose last name includes special characters
1 passing test case
5 13:26:00 223ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with uppercase letters in the email
1 passing test case
5 13:26:00 240ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact with a subdomain in the email
1 passing test case
5 13:26:00 213ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact whose email includes numbers
1 passing test case
5 13:26:00 222ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact whose email includes a dot
1 passing test case
5 13:26:00 220ms SUCCESS
AddContactRestPositiveTest Should be able to add a contact whose email includes a hyphen
1 passing test case
5 13:26:00 206ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.4