Serenity BDD Report
Report generated 01-09-2026 07:14

Create A Resource Of Type Medication List (@list-Create)

  Mandatory   Medikation   1 To 10 Seconds (Duration)   Stufe5

Create a Medication List via POST
Steps Outcome
Given TGR set default header "Content-Type" to "application/fhir+json"
SUCCESS 212ms
When TGR send POST request to "http://fhirserver/List" with body "!{file('src/test/resources/features/Stufe5/Medikation/fixtures/List-Create-Fixture.json')}"
SUCCESS 319ms
And TGR find the last request
SUCCESS 217ms
Then TGR current response with attribute "$.responseCode" matches "20\d"
SUCCESS 212ms
And FHIR current response body evaluates the FHIRPath '($this is List) or ($this is Parameters)' with error message 'The response contains neither a List nor a Parameters resource'
SUCCESS 221ms
And FHIR current response body evaluates the FHIRPath '($this is List) implies id.exists()' with error message 'No ID was assigned to the List'
SUCCESS 216ms
And FHIR current response body evaluates the FHIRPath "($this is List) implies status.toString().matches('^current$')" with error message 'List status does not have the value "current"'
SUCCESS 213ms
And FHIR current response body evaluates the FHIRPath "($this is List) implies mode.toString().matches('^working')" with error message 'List mode does not have the value "working"'
SUCCESS 214ms
And FHIR current response body evaluates the FHIRPath "($this is Parameters) implies parameter.where(name = 'return' and resource is List).resource.id.exists()" with error message 'No ID was assigned to the List'
SUCCESS 213ms
And FHIR current response body evaluates the FHIRPath "($this is Parameters) implies parameter.where(name = 'return' and resource is List).resource.status.toString().matches('^current$')" with error message 'List status does not have the value "current"'
SUCCESS 220ms
And FHIR current response body evaluates the FHIRPath "($this is Parameters) implies parameter.where(name = 'return' and resource is List).resource.mode.toString().matches('^working$')" with error message 'List mode does not have the value "working"'
 RBellog 0  Evidence Report
SUCCESS 213ms
SUCCESS 2.59s
Serenity BDD version 5.3.10