fastrivertech / tiger

Crouching Tiger
https://github.com/fastrivertech/tiger
0 stars 1 forks source link

PUT Patient response need "meta/versionId" present in returned body when versioning is supported. #25

Closed JIMFUQIAN closed 5 years ago

JIMFUQIAN commented 5 years ago

R4.0-Connectathon20-Basic Test RegisterNewPatient fail with assertion:

Require : "meta/versionId" present in body returned.

AssertResponse body conforms to the FHIR resource profile represented by test script profile id 'patient-profile' if resource is Patient in response body.0.223sDescription:Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.Rule:Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'patient-profile' if resource is Patient in response body.Definition:...Source:create-responseAssertPath "meta/versionId" value is present in response body if resource is Patient in response body and versioning is supported by server conformance statement.Failed0.146sExpected "meta.versionId" but did not find it in response 'create-response'.Description:Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.Rule:Confirm that path "meta/versionId" value is present in response body if resource is Patient in response body and versioning is supported by server conformance statement.Definition:...Source:create-response Assert Response body conforms to the FHIR resource profile represented by test script profile id 'patient-profile' if resource is Patient in response body.   0.223s Description:Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.Rule:Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'patient-profile' if resource is Patient in response body.Definition:...Source:create-response Description: Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body. Rule: Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'patient-profile' if resource is Patient in response body. Definition: ... Source: create-response Assert Path "meta/versionId" value is present in response body if resource is Patient in response body and versioning is supported by server conformance statement. Failed 0.146s Expected "meta.versionId" but did not find it in response 'create-response'.Description:Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.Rule:Confirm that path "meta/versionId" value is present in response body if resource is Patient in response body and versioning is supported by server conformance statement.Definition:...Source:create-response Description: Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body. Rule: Confirm that path "meta/versionId" value is present in response body if resource is Patient in response body and versioning is supported by server conformance statement. Definition: ... Source: create-response
Assert Response body conforms to the FHIR resource profile represented by test script profile id 'patient-profile' if resource is Patient in response body.   0.223s Description:Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.Rule:Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'patient-profile' if resource is Patient in response body.Definition:...Source:create-response Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body. Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'patient-profile' if resource is Patient in response body. ... create-response

Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body. Confirm that response body conforms to the FHIR resource profile represented by test script profile id 'patient-profile' if resource is Patient in response body. ... create-response Assert | Path "meta/versionId" value is present in response body if resource is Patient in response body and versioning is supported by server conformance statement. | Failed | 0.146s | Expected "meta.versionId" but did not find it in response 'create-response'.Description:Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body.Rule:Confirm that path "meta/versionId" value is present in response body if resource is Patient in response body and versioning is supported by server conformance statement.Definition:...Source:create-response | Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body. | Confirm that path "meta/versionId" value is present in response body if resource is Patient in response body and versioning is supported by server conformance statement. | ... | create-response Complex ruleset assertion to conditionally validate expected create ok response HTTP Headers and body. Confirm that path "meta/versionId" value is present in response body if resource is Patient in response body and versioning is supported by server conformance statement. ... create-response Test: Step2-UpdatePatient | Update the patient's birth date, no extensions.

JIMFUQIAN commented 5 years ago

more work on CRUD operation responses.

JIMFUQIAN commented 5 years ago

fix checked in rev 355. verified.