TestSuite description TestSuite1

Beskrivning av testsuiten.

Global variables used
  • webServiceUrl
  • httpHeaderHsaId
  • logicalAddress
  • measureIdOid
  • measureId
  • reportingPeriodStart
  • reportingPeriodEnd

Tools

SoapUI

The testsuite uses SoapUI to verify the implementation. Documentation of SoapUI can be found at http://www.soapui.org
Link to download site: http://sourceforge.net/projects/soapui/files/soapui/
Install SoapUI according to the documentation.

Setup instructions

  1. Locate the test-suite/[contractName]-directory in your distribution.
  2. Copy the jar-file ‘soapui-support.jar’ to <SoapUI install dir>/bin/ext
  3. Open SoapUI and import the SoapUI project from the above directory, choose ‘Import Project’ from the File-menu.
  4. 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.
  5. Update test-data in data.xml to match the contents in your system.
  6. You should now be able to run the test suite!

Testcases

TestCase1

This test case checks a response with measurments. Set 'measureId' to a valid value and 'reportingPeriod' for a period containing measurements.

Variables used
  • measureId
  • reportingPeriodStart
  • reportingPeriodEnd

TestCase2

This test case checks a response with only 'measurementChecksum' requested. Use values from Testcase1.

Variables used
  • measureId
  • reportingPeriodStart
  • reportingPeriodEnd