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

Update A Resource Of Type Medication (@medication-Update)

  Mandatory   Medikation   1 To 10 Seconds (Duration)   Stufe5

Update a Medication resource
Steps Outcome
Given TGR set default header "Content-Type" to "application/fhir+json"
SUCCESS 204ms
When TGR send PUT request to "http://fhirserver/Medication/Medication-Update-Original-Example" with body "!{file('src/test/resources/features/Stufe5/Medikation/fixtures/Medication-Update-Fixture.json')}"
SUCCESS 287ms
And TGR find the last request
SUCCESS 204ms
Then TGR current response with attribute "$.responseCode" matches "200"
SUCCESS 203ms
And TGR send empty GET request to "http://fhirserver/Medication/Medication-Update-Original-Example"
SUCCESS 256ms
And TGR find the last request
SUCCESS 204ms
And FHIR current response body evaluates the FHIRPath "amount.numerator.value ~ 40" with error message 'The amount was not updated or was updated incorrectly'
 RBellog 0  Evidence Report
SUCCESS 207ms
SUCCESS 1.65s
Serenity BDD version 5.3.10