org.eclipse.ohf.ihe.xds.consumer.test
Class IBMLswin10RetrieveTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eclipse.ohf.ihe.xds.consumer.test.IBMLswin10RetrieveTest
All Implemented Interfaces:
junit.framework.Test

public class IBMLswin10RetrieveTest
extends junit.framework.TestCase

JUNIT tests for the consumer. Currently set up to test against IBM LSWIN10 registry/repository : http://lswin10.dfw.ibm.com:9080/omar_was/registry/soap

Author:
Sarah Knoop

Field Summary
static java.lang.String IBM_ARR
           
static java.lang.String LSWIN10
           
static java.lang.String LSWIN10_SECURED
           
 
Constructor Summary
IBMLswin10RetrieveTest()
           
 
Method Summary
 void testAudit()
          Tests the Audit record generation of the XDS Consumer for the Retrieve Transaction
 void testRetrieve()
          Test retrieve.
 void testSecuredRetrieve()
          Test retrieve over TLS.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LSWIN10

public static final java.lang.String LSWIN10
See Also:
Constant Field Values

LSWIN10_SECURED

public static final java.lang.String LSWIN10_SECURED
See Also:
Constant Field Values

IBM_ARR

public static final java.lang.String IBM_ARR
See Also:
Constant Field Values
Constructor Detail

IBMLswin10RetrieveTest

public IBMLswin10RetrieveTest()
Method Detail

testRetrieve

public void testRetrieve()
                  throws java.lang.Throwable
Test retrieve. Corresponds to Connectathon 2006-2007 Test: 11734
http://hcxw2k1.nist.gov/wiki/index.php/NIST_XDS_Test_Kit_2006-2007_Test_Descriptions#11734

Throws:
java.lang.Throwable

testSecuredRetrieve

public void testSecuredRetrieve()
                         throws java.lang.Throwable
Test retrieve over TLS. Corresponds to Connectathon 2006-2007 Test: 11739
http://hcxw2k1.nist.gov/wiki/index.php/NIST_XDS_Test_Kit_2006-2007_Test_Descriptions#11739
You must set the following environmental variables to run this test:
  • 'javax.net.ssl.keyStore' to the location of your key store file
  • 'javax.net.ssl.keyStorePassword' to the password on your key store file
  • 'javax.net.ssl.trustStore' to the location of your trust store file
  • 'javax.net.ssl.trustStorePassword' to the password of your trust store file
  • Throws:
    java.lang.Throwable

    testAudit

    public void testAudit()
                   throws java.lang.Throwable
    Tests the Audit record generation of the XDS Consumer for the Retrieve Transaction

    Throws:
    java.lang.Throwable