Serenity BDD Report
Home > Stufe5 > Basis > Testing search parameters against a resource of type Location (@Location-Search) (Optional) > Search for the location that is part of another location and with operational status
Report generated 01-09-2026 06:59

Testing Search Parameters Against A Resource Of Type Location (@location-Search) (optional)

  Basis   Under 1 Second (Duration)   Stufe5   Optional

Search for the Location that is part of another Location and with Operational Status
Steps Outcome
When Get FHIR resource at "http://fhirserver/Location/?partof=Location/${data.location-read-id}&operational-status=O" with content type "xml"
SUCCESS 280ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0' with error message 'No search results were found'
SUCCESS 204ms
And FHIR current response body evaluates the FHIRPath "entry.resource.where($this.where(partOf.reference = 'Location/Location-Read-Example').as(Location)).exists()" with error message 'There are search results, but they do not fully match the search criteria'
SUCCESS 205ms
And FHIR current response body evaluates the FHIRPath "entry.resource.all(operationalStatus.where(code = 'O' and system = 'http://terminology.hl7.org/CodeSystem/v2-0116').exists())" with error message 'There are search results, but they do not fully match the search criteria'
 RBellog 0  Evidence Report
SUCCESS 204ms
SUCCESS 0.91s
Serenity BDD version 5.3.10