Serenity/JS with Playwright Test
Home > Requirements > API testing
Report generated 17-12-2024 17:36

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 365ms
Number of Manual Test Cases 0 Slowest Test 2s
Tests Started Dec 17, 2024 17:36:36 Average Execution Time 1s
Tests Finished Total Execution Time 3s

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 17:36:36 365ms SUCCESS
API Testing JSON Placeholder /todos should retrieve a todo item by id linux,Firefox 3 17:36:43 1s 301ms SUCCESS
API Testing JSON Placeholder /todos should retrieve a todo item by id linux,Safari or WebKit 3 17:36:55 2s 325ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.1.20