Serenity/JS with Playwright Test
Home > Requirements > API testing
Report generated 20-01-2025 21:44

Feature: API testing

Scenarios

Alice sends a GET request to '/todos/1'

Alice ensures that the status of the last response does equal 200

Alice ensures that 1 does equal 1

Alice sends a GET request to '/todos/1'

Alice ensures that the status of the last response does equal 200

Alice ensures that 1 does equal 1

Alice sends a GET request to '/todos/1'

Alice ensures that the status of the last response does equal 200

Alice ensures that 1 does equal 1

Feature Coverage By Scenario

Test Outcomes

Test Performance

Key Statistics

Number of Scenarios 3 Total Duration 0ms
Total Number of Test Cases 3 Fastest Test 387ms
Number of Manual Test Cases 0 Slowest Test 1s
Tests Started Jan 20, 2025 21:44:35 Average Execution Time 967ms
Tests Finished Total Execution Time 2s

Automated Tests

feature Scenario Context Steps Started Total Duration Result
API Testing JSON Placeholder /todos should retrieve a todo item by id linux,Chrome 3 21:44:35 387ms SUCCESS
API Testing JSON Placeholder /todos should retrieve a todo item by id linux,Firefox 3 21:44:43 1s 227ms SUCCESS
API Testing JSON Placeholder /todos should retrieve a todo item by id linux,Safari or WebKit 3 21:44:55 1s 287ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.2.12