Presentation is loading. Please wait.

Presentation is loading. Please wait.

CONNECT: Testing an Installation Les Westberg Copyright 2009. All Rights Reserved. 1.

Similar presentations


Presentation on theme: "CONNECT: Testing an Installation Les Westberg Copyright 2009. All Rights Reserved. 1."— Presentation transcript:

1 CONNECT: Testing an Installation Les Westberg Copyright 2009. All Rights Reserved. 1

2 Assumptions/Expectations Familiarity with… Java Service Oriented Architecture (SOA) NetBeans GlassFishESB Copyright 2009. All Rights Reserved. 2

3 Purpose of Tests Provide an initial set of sample tests –Inbound NHIN message processing Subject discovery Document query Document retrieve Audit log query Health information event management (HIEM) –MPI lookup –Policy engine operations –Document repository access –Subscription file lookup Validate an installation of CONNECT –Same tests used to validate all 4 installation options Copyright 2009. All Rights Reserved. 3

4 Tests Installation Options Validate services –Validates contents of internalConnectionInfo.xml file Internal self test –Validates that the gateway and adapter are functioning –Uses loop back testing of the gateway and adapter Outbound self test –Validates communication to remote gateways Copyright 2009. All Rights Reserved. 4 Demonstrations will focus on validation and internal self tests

5 Software Requirements SoapUI 2.5.1 –Works with either the free or professional version –This was installed during the installation instructions CONNECT 2.0 gateway installed CONNECT 2.0 adapter installed Copyright 2009. All Rights Reserved. 5

6 Location of Downloads SoapUI Tests Page http://www.connectopensource.org/display/NHINR2/SoapUI+Tests Copyright 2009. All Rights Reserved. 6 http://www.connectopensource.org/display/NHINR2/SoapUI+Tests

7 SoapUI Configuration: HTTP Version HTTP Version must be set to 1.1 Some installations set this value to 0.9 Steps to change version –Select Preferences under the File menu –HTTP Version is on the HTTP Settings page –After changing select OK. –Select Save Preferences under the File menu Copyright 2009. All Rights Reserved. 7

8 Starting and Stopping GlassFish from the Command Line Add to path –C:\GlassFishESB\glassfish\bin Start glassfish –asadmin start-domain domain1 –Not fully started until server.log states: “JBI Framework Startup Complete” Stop glassfish –asadmin stop-domain domain1 Copyright 2009. All Rights Reserved. 8

9 Validate Services Basic Testing Steps Download the validate services test zip file Update ValidateServices.properties file Run the test suite using Soap UI Examine test results Copyright 2009. All Rights Reserved. 9

10 Items to Download for Validate Services Test Validate services setup instructions –NHIN_CONNECT_Release_2_0_A020_Demonstration_ Scripts_Validate_Services_Setup_Instructions_May_13_ 2009.pdf Validate services package –NHIN_CONNECT_Release_2_0_A020_Demonstration_ Scripts_Validate_Services_May_13_2009.zip Copyright 2009. All Rights Reserved. 10

11 DEMONSTRATION 1 Validate Services Test Copyright 2009. All Rights Reserved. 11

12 Internal Self Test Basic Testing Steps Download the internal self test zip file Location of property files is different on source code install –C:\projects\NHINC\Current\Product\Production\Common\Properties Adapter set up –Import patient documents into the document repository –Copy the mpi.xml file to MPI directory –Copy the reidentification.xml file to the configuration directory –Create patient’s consumer preferences profile Copyright 2009. All Rights Reserved. 12

13 Internal Self Test Basic Testing Steps (cont.) Gateway set up –Verify configuration settings in the domain.xml configuration file –Verify that the correlatedidentifiers table is empty –Update the InternalSelfTest.properties file –Update the subscriptionList-subscribee.xml file –Update the internalConnectionInfo_InternalSelfTest.xml file –Update SoapUI startup options –Update SoapUI preferences –Import the internal self test project file into SoapUI –Fix the path to the internalSelfTest.properties file –Run the Self Test Test Suite –Examine the test results Copyright 2009. All Rights Reserved. 13

14 Items to Download for Internal Self Test Internal self test setup instructions –NHIN_CONNECT_Release_2_0_A020_Demonstration_ Scripts_Internal_Self_Test_Setup_Instructions_May_13 _2009.pdf Internal self test package v1.1 –NHIN_CONNECT_Release_2_0_A020_Demonstration_ Scripts_Internal_Self_Test_May_13_2009.zip Copyright 2009. All Rights Reserved. 14

15 DEMONSTRATION 2 Internal Self Test Copyright 2009. All Rights Reserved. 15

16 CONNECT Seminar Presentations are Available for Download Online at http://www.connectopensource.org http://www.connectopensource.org Copyright 2009. All Rights Reserved. 16


Download ppt "CONNECT: Testing an Installation Les Westberg Copyright 2009. All Rights Reserved. 1."

Similar presentations


Ads by Google