Prerequisites
In order to perform this test, CHXDS.b_DOC_REPO_CONF has to be executed (Test link).
Special Instructions
In this case, the Provide and Register Document Set-b (ITI-41) and Register Document Set-b (ITI-42) transactions with the XDS Document Repository as a system under test will be tested.
Firstly, an ITI-41 transaction between the XDS Document Source and your system acting as an XDS Document Repository will be executed.
It requires to run a SoapUI project in Gazelle Webservice Tester in order to test this transaction and to validate the responses produced by your system
The messages exchanged between your SUT and the simulator should have been recorded and be available in Gazelle Webservice Tester. The request of this transaction has to be validated using EVSClient.
Important : TLS is mandatory to every request in the XDS profile, as a consequence every endpoint has to use HTTPS.
The Document Repository actor is expected to act as a X-Service
provider when receiving an ITI-41 request. This test will also be used to assess this role. In order to do so, you'll need to follow the instructions
from this test case :
XUA_X-SERVICE-PROV_ITI-40
Moreover,
the Document Repository actor is expected to act a X-Service User when sending an ITI-42 request. This test
will also be used to assess this role. 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 and X-Service User.
- Use the patient : Nilesh WITTWER-CHRISTEN (EPR-SPID :
761337610411265304^^^SPID&2.16.756.5.30.1.127.3.10.3&ISO)
In order to test the XDS Document Repository in an ITI-41 transaction, the following cases have been identified and are included in the test suite XDS Repository (PnR) :
- Accept provide and register for a single document
- Accept two documents
- Accept document with size and hash attributes
- Reject submission where metadata and documents do not match
- Return errors from Registry
- Accept and replace document
- Append and transform Document Entry.
Each of these test cases include both ITI-41 and ITI-42 transactions.
To execute this test, two functionalities of Gazelle Webservice Tester have to be used, each one related to one of the two transactions under test (ITI-41 and ITI-42) :
For ITI-41 transactions, the requests will be sent to your SUT from Gazelle Webservice Tester.
- Access Gazelle Webservice Tester and log into the application;
- Go to the menu "Run";
- Select the test project name EPR XDS Document Repository from the drop-down list;
- Select test suite XDS Repository (PnR) by ticking the checkbox in front of its name;
- Enter the URL of your system under test endpoint (shall be a secured endpoint);
- Click on "Run" button;
- Wait for the script to complete its execution;
- 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. In Gazelle Webservice Tester, for the ITI-41 responses,
validate the message in EVSClient. To do so:
- Click on the play icon next to the response type;
- You have been redirected to EVSClient, select XDS-CH in the EPR group and click on the "Go" button;
- Once the page of the validator opens, select the appropriate entry in the drop-down list and click on "Validate";
- When the validation report shows up, a pop-up raises for returning the validation report to GWT, click on "OK".
For ITI-42 transactions, the messages exchanged between your SUT and the simulator should have been recorded and be available in Gazelle Webservice Tester :
- Access the messages in Gazelle Webservice Tester from the "Mock messages";
- Find
out the message of interest, you can use the filters to ease your
search (we also recommand to do it before you move to the next step);
- We want to verify the conformance of the request sent by your SUT, click on the play icon next to the request type;
- You have been redirected to EVSClient, select XDS-CH in the EPR group and click on the "Go" button;
- Once the page of the validator opens, select the appropriate entry in the drop-down list and click on "Validate";
- When the validation report shows up, a pop-up raises, click on "OK";
- Copy the permanent link of the message in the test step using the "add link" feature.
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.
First of all, the global status of the executed SoapUI project on GWT must be Passed.
As well, the validation in EVSClient must return Passed for the requested validations.