Serenity BDD Report
Home > Stufe5 > Basis > Testing search parameters against a resource of type Patient (@Patient-Search) > Search for patient with an empty search parameter to be ignored
Report generated 23-03-2026 09:40

Testing Search Parameters Against A Resource Of Type Patient (@patient-Search)

  Mandatory   Basis   Under 1 Second (Duration)   Stufe5

Search for Patient with an empty search parameter to be ignored
Steps Outcome
When Get FHIR resource at "http://fhirserver/Patient/?_id=${data.patient-read-id}&family=" with content type "xml"
SUCCESS 451ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0' with error message 'No search results were found'
SUCCESS 215ms
And FHIR current response body evaluates the FHIRPath "entry.resource.where(id.exists() and id.replaceMatches('/_history/.+','').matches('\\bPatient-Read-Example$')).count() = 1" with error message 'The requested Patient Patient-Read-Example is not contained in the response bundle'
SUCCESS 218ms
SUCCESS 0.89s
Serenity BDD version 4.3.2