Please use a compatible browser :Google Chrome or Mozilla Firefox
Page expired. Any change will be lost. Try to refresh the page.
Gazelle update scheduled, unsaved changes will be lost :
Your session will timeout :
Redeployed...
Logged out...
The server is restarting. Any change will be lost.
 

Test : CHATC_ARR_ITI81_ErrorCases_CTS

Test Summary

Id
13982
Keyword
CHATC_ARR_ITI81_ErrorCases_CTS
Name
CHATC_ARR_ITI81_ErrorCases
Version
1.1
Test Author
vhofman
Last modifier
vhofman
Status
ready
Type
conformity assessment
Is external tool ?
Is Orchestrable
is Validated ?
Peer Type
No Peer
Short Description
Patient Audit Record Repository must handle correctly authorization enforcement and various error situations of ITI-81 according to CH:ATC profile.
Last changed
1/26/24 4:17:46 PM

Test Description in English

Special Instructions

As a pre-requisite, you have run the CHATC_ARR_CONF test and your system contains the expected set of data for this test to be executed correctly and is integrated with Gazelle ADR Provider simulator.
This test is executed using Gazelle Webservice Tester as a CH:ATC Patient Audit Consumer actor. A test suite has been designed to issue search requests on AuditEvent resources in conformance to the CH:ATC specifications.
One of the error conditions is related to the support to IUA and CH:ADR profile. We want your system to demonstrate its ability to verify an authorization decision.


The Patient Audit Record Repository actor is also expected to act as an AuthorizationDecision Consumer. This test will also be used to assess this role for error case. In order to validate the conformity of your system in this role, you'll need to follow the instructions from this test case :

CHADR_FOR_CONSUMER

Description

The tested System Under Test is the Patient Audit Record Repository. This test covers the ITI-81 : Retrieve ATNA Audit Event transaction.


-Before anything, configure your system to be able to test its role as an ADR Consumer.


This test checks the ability of your system to handle the following error cases:

  • Check that the system rejects the request if the user identified in the SAML token is not authorized to access the informations related to the patient identifier defined in entity-id parameter (grouped with CH:ADR client)
  • entity-id parameter is not provided (but date parameter provided)
  • date parameter not provided (but entity-id provided)
  • no match found
  • unauthorized parameter is used in the query


The requests will be sent to your SUT from Gazelle Webservice Tester. To execute this test:

  1. Access Gazelle Webservice Tester and log into the application;
  2. Go to menu "Run";
  3. Select the test project name EPR CH:ATC Patient Audit Consumer from the drop-down list;
  4. Select test suite ErrorCases by ticking the checkbox in front of its name;
  5. Enter the URL of your system under test endpoint (shall be a secured endpoint)
  6. Click on "Run" button
  7. Wait for the script to complete its execution;
  8. When the script stops, copy the permanent link of the execution to the test step in Gazelle Test Management

The conformance of the responses sent back by your system shall be assessed.

All returned code shall be 400 (Bad Request) or 401 (Unauthorized) for the IUA error.

Evaluation

The global status of the GWT execution shall report a Success.

The monitor will check that Error codes are returned by your server in the execution.


Test Roles

Keyword
# to realize
Card Min
Card Max
Optionality
URL
URL Doc
PAT-ARR_CH-ATC_WITH-XUA
Integration profileActorOptionIs tested ?
Keyword
Keyword
Keyword
Keyword
IntegrationProfile XUA-Cross Enterprise User AssertionActor X-SERV-USR-X-Service UserNONEfalse
IntegrationProfile CH:ADR-Authorization Decision RequestActor AUTH_DECI_CONS-Authorization Decision ConsumerNONEfalse
IntegrationProfile IUA-Internet User AuthorizationActor RESOURCE_SERVER-Resource ServerNONEfalse
IntegrationProfile CH:ATC-Audit Trail ConsumptionActor PAT_ARR-Patient Audit Record RepositoryNONEtrue
101Required
PAT-AUDIT-CONS_CH-ATC_SIMULATOR
Integration profileActorOptionIs tested ?
Keyword
Keyword
Keyword
Keyword
IntegrationProfile CH:ATC-Audit Trail ConsumptionActor PAT_AUDIT_CONS-Patient Audit ConsumerNONEfalse
IntegrationProfile IUA-Internet User AuthorizationActor AUTH_CLIENT-Authorization ClientSAML_TOKENfalse
101Required
CH_ADR_PROVIDER_SIMULATOR
Integration profileActorOptionIs tested ?
Keyword
Keyword
Keyword
Keyword
IntegrationProfile XUA-Cross Enterprise User AssertionActor X-SERV-PROV-X-Service ProviderNONEfalse
IntegrationProfile CH:ADR-Authorization Decision RequestActor AUTH_DECI_PROV-Authorization Decision ProviderNONEfalse
101Required

Test Steps


Step Index
Initiator Role
Responder Role
Transaction
Secured
Message Type
Option
Description
Assertions
5PAT-AUDIT-CONS_CH-ATC_SIMULATORPAT-AUDIT-CONS_CH-ATC_SIMULATORNoneRequired[OTHER_ACTION] The Document Registry is configured to communicate properly with the ADR provider simulator.
10PAT-AUDIT-CONS_CH-ATC_SIMULATORPAT-AUDIT-CONS_CH-ATC_SIMULATORNoneRequired[OTHER-ACTION] Access Gazelle Webservice Tester, select the EPR CH:ATC Patient Audit Consumer project and check the "ErrorCases" test suite. Configure the endpoint of your Audit Record Repository
20PAT-AUDIT-CONS_CH-ATC_SIMULATORPAT-ARR_CH-ATC_WITH-XUAITI-81SearchRequired[TRANSACTION][EVIDENCE] The tool will issue a serie of Audit Message Retrieve transactions using the various parameters defined in this transaction. Your system is expected to return the expected error code. Please in this step the link to the Gazelle Webservice Tester execution result.
30PAT-ARR_CH-ATC_WITH-XUACH_ADR_PROVIDER_SIMULATORAUTH_DECISION_REQUESTXACMLAuthzDecisionQueryRequired[TRANSACTION] [EVIDENCE] An Authorization Decision Query have been issued to retrieve access decision for the "Error cases / authorization / authorization" step.
40PAT-AUDIT-CONS_CH-ATC_SIMULATORPAT-AUDIT-CONS_CH-ATC_SIMULATORNoneRequired[EVIDENCE] : The SUT operator proves that a link to EVS Client validation for the ADR query of the "Error cases / authorization / authorization" test step has been added to the CHADR_FOR_CONSUMER test case.

Tool index

    Copyright IHE 2024
  • Gazelle 7.1.7
Back to top