TK-testsuite for DeviceConsumerObservation 1.0
About the testsuite
This document describes the testsuite for DeviceConsumerObservation 1.0. The testsuite contains a number of testcases used to verify the implementation prior to integration with the national platform.
The testsuite uses SoapUI to verify the implementation. Documentation of SoapUI can be found at www.soapui.org.
Click here to download. Install according to documentation.
Setup instructions
- Locate the directory test-suite/DeviceConsumerObservation 1.0 in the distribution
- Copy the file ‘soapui-support-x.jar’ (where 'x' is the latest version) to the folder /bin/ext where Soap-UI is installed (look in the folder 'Program Files/Smartbear')
- Open SoapUI and import the SoapUI project from the above directory (choose ‘Import Project’ from the File-menu)
- If your WebService endpoint requires a SSL Certificate, this can be configured from the Preferences (in the File menu).
In the Preferences window open the ‘SSL Settings’ tab and import the Keystore containing the Client Certificate
- Update data.xml to match the test-data contents in your system (see the following section for instructions)
- You should now be able to run the testcases
Testdata in data.xml
Prior to running the testcases in SoapUI, the data used in requests must be adjusted to conform to the current system under test. This can be done by editing the file data.xml as described below.
In the beginning of the document is a section called "globaldata". This is where you specify data that is used by all testcases.
Each element in "globaldata" can be overridden in a specific testcase if needs be. The following elements are global:
- webServiceUrl
- httpHeaderHsaId
- logicalAddress
Testcase descriptions
NB! The testcase-specific parameters completes and overrides parameters defined in 'globaldata'!