Serenity BDD Report
Home > Requirements > Stufe5 > Terminplanung > Read information from a resource of type slot (@slot-read)
Report generated 23-03-2026 09:37

Feature: Read information from a resource of type slot (@slot-read)

Scenarios

Given the Test Description: "The system under test MUST return the created resource correctly and completely in response to an HTTP GET request to its URL (READ)."

Given the Preconditions: - The test data set must have been recorded in the system under test according to the specifications (manually).

  • The ID of the corresponding FHIR resource for this test data set must be stored in the configuration variable 'slot-read-id'.

Create the following Slot Resource in your system:

  • Status: busy
  • Start time: any time in the future (please store in the configuration variable 'slot-read-start')
  • End time: any time in the future
  • Schedule: the schedule from the Schedule-Read test case

Then Get FHIR resource at "http://fhirserver/metadata" with content type "json"

And CapabilityStatement contains interaction "read" for resource "Slot"

Then Get FHIR resource at "http://fhirserver/Slot/${data.slot-read-id}" with content type "xml"

And resource has ID "${data.slot-read-id}"

And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKTerminblock"

And TGR current response with attribute "$..status.value" matches "busy"

And element "schedule" references resource with ID "${data.schedule-read-id}" with error message "The referenced schedule is not correct"

And FHIR current response body evaluates the FHIRPath "start.toString().contains('${data.slot-read-start}') or start ~ @${data.slot-read-start}" with error message 'The slot start time does not match the expected value'

And FHIR current response body evaluates the FHIRPath "end.empty().not()" with error message 'The slot end time is not provided'

Feature Coverage By Scenario

Test Outcomes

Test Performance

Key Statistics

Number of Scenarios 3 Total Duration 2s
Total Number of Test Cases 3 Fastest Test 413ms
Number of Manual Test Cases 0 Slowest Test 1s
Tests Started März 23, 2026 09:37:53 Average Execution Time 960ms
Tests Finished März 23, 2026 09:37:56 Total Execution Time 2s

Automated Tests

feature Scenario Context Steps Started Total Duration Result
Read Information from a resource of type Slot (@Slot-Read) Precondition 2 09:37:53 413ms SUCCESS
Read Information from a resource of type Slot (@Slot-Read) Read and Validation of the CapabilityStatement 2 09:37:53 698ms SUCCESS
Read Information from a resource of type Slot (@Slot-Read) Read a Slot by ID 7 09:37:54 1s 771ms SUCCESS

Manual Tests

No manual tests were recorded
Serenity BDD version 4.3.2