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

Update A Resource Of Type Medicationrequest (@medicationrequest-Update)

  Mandatory   Medikation   1 To 10 Seconds (Duration)   Stufe5

Update a MedicationRequest resource
Steps Outcome
Given TGR set default header "Content-Type" to "application/fhir+json"
SUCCESS 206ms
When TGR send PUT request to "http://fhirserver/MedicationRequest/MedicationRequest-Update-Original-Example" with body "!{file('src/test/resources/features/Stufe5/Medikation/fixtures/MedicationRequest-Update-Fixture.json')}"
SUCCESS 444ms
And TGR find the last request
SUCCESS 207ms
Then TGR current response with attribute "$.responseCode" matches "20\d"
SUCCESS 206ms
And TGR send empty GET request to "http://fhirserver/MedicationRequest/MedicationRequest-Update-Original-Example"
SUCCESS 242ms
And TGR find the last request
SUCCESS 206ms
And TGR current response with attribute "$.body.note.0.text.content" matches "Updated note"
SUCCESS 206ms
And FHIR current response body evaluates the FHIRPath "dispenseRequest.quantity.value ~ 10" with error message 'The dispense quantity was not updated or was updated incorrectly'
SUCCESS 208ms
And FHIR current response body evaluates the FHIRPath "substitution.allowed = false" with error message 'Substitution allowed does not match the expected value'
 RBellog 0  Evidence Report
SUCCESS 208ms
SUCCESS 2.22s
Serenity BDD version 5.3.10