Special Instructions
In this test case, we will use GWT to send ITI-18 transactions to
the SUT, which will then send the corresponding ITI-38 transactions to a
simulator (XDSTools) acting as a Responding Gateway.
To perform this test, you'll need to follow the instructions listed in XCA_INIT-GW_CONF.
Since your system will need to resolve the MPI-PID of the patient in the Gazelle community, you also need to make sure that your XCPD Initiating Gateway is configured properly.
To do so, configure your system under test to interact with
Patient Manager. The configuration details for interacting with the XCPD Responding
Gateway are available under XCPD > Responding Gateway.
The Initiating Gateway actor is expected to act as a X-Service Provider. This test will also be used to assess this role when receiving an ITI-18
transaction. In order to do so, you'll need to follow the instructions
from this test case :
XUA_X-SERVICE-PROV_ITI-40
Moreover, the Initiating Gateway actor is expected to act as a X-Service User. This test will also be used to assess this role when sending an ITI-38
transaction. In order to do so, you'll need to follow the instructions
from this test case :
XUA_X-SERVICE-USER_ITI-40
Description
- Before anything, configure your system to be able to test its role as X-Service Provider, X-Service User and execute XCA_INIT-GW_CONF.
- Make sure you have followed the instructions in the test case XCA_INIT-GW_CONF and that your XCPD Gateway is able to interact with Patient Manager.
- To
initiate this test, a simulator will send a serie of four ITI-18 requests to
your SUT ( (FindDocument query ; GetDocument query ; FindSubmissionSet query and GetSubmissionSet&Content query), using Gazelle Webservice Tester. To execute this test:
- Access Gazelle Webservice Tester and log into the application;
- Go to menu "Run";
- Select the test project name EPR XCA Initiating Gateway from the drop-down list;
- Select test suite [ITI-18] Registry Stored queries TestSuite
by ticking the checkbox in front of its name;
- Enter the URL of your SUT (shall be a secured endpoint)
- Click on "Run" button
- Wait for the script to complete its execution;
Take note of the time at which you initiated your transaction, it'll be helpful for the next step.
- Once your ITI-38 requests has been executed, you'll need to recover their logs from XDSTools :
- Go to XDSTools7 homepage
- At the top of the page, set the Environment to ehealthsuisse and the Test Session to epr-testing from the drop-down lists
- At the left side of the page, click on the "New Simulator Logs" option (in the "Toolkit" section)
- Select the simulator that participated in your transaction (here it's epr-testing__for_init_gw_testing)
- In the Message menu, pick the logs corresponding to your transaction using your IP and transaction time
- From the Request Body tab, copy the Enveloppe of your request in an xml file
- Now to validate all your requests
with the validation tool EVSClient
:
- In
EVSClient, choose on the menu EPR > XD* Metadata > Validate
- Upload
your XML message. Then, in
Model Based Validation select:
CH XCA ITI-38 Cross Gateway Query - request to
validate your request
- Copy the permanent link to your validation in the corresponding test step
For each steps, upload a proof that your system has correctly retrieved the documents metadatas.
Evaluation
The monitor will check that you copied the link to this test instance to the corresponding test step of the test case XUA_X-SERVICE-PROV_ITI-40 AND XUA_X-SERVICE-USER_ITI-40.
The validations on EVSClient and GWT must be passed.