Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TestCase Details:

  • PolicyCheckPermit: This test case is used to test Document Retrieve functionality for when the service receives a "Deny" result when querying for retrieving documents. When this test case is executed, a script will update UDDI connection info from project specific settings to be applied to the application server configuration and HCID endpoints are updated with test data specific to the test. The NoOp-Deny bean is set up for policy engine to deny the request, which is configured in the setup script. When the request is processed, it returns an Acknowledgement with the status of "ResponseStatusType:Failure".  Using assertions script will verify the existence of the Acknowledgement and verify status.
  • PolicyCheckPermit: This test case is used to test Document Retrieve functionality when the service receives a "Deny" result when retrieving documents. When this test case is executed, a script will update UDDI connection info from project specific settings to be applied to the application server configuration and HCID endpoints are updated with test data specific to the test. The NoOp bean is set up for policy engine to approve the request, which is configured in the setup script. When the request is processed, it returns an Acknowledgement with the status of "ResponseStatusType:RequestAccepted".  Using assertions script will verify the existence of the Acknowledgement and verify status.
  • AuditLogQuery: This test case is used to test that the Audit Log events are generated when running Document Retrieve invocation. When this test is executed a script will update UDDI connection info from project specific settings to be applied to the application server configuration,HCID endpoints are updated with test data specific to the test, and the Audit Log database will be emptied to ensure the counts are accurate. When the request is processed, it returns an Acknowledgement with the status of "ResponseStatusType:RequestAccepted".  Using assertions script will verify the existence of the Acknowledgement and verify status, and after that, a script will query the database to ensure the audit log rows exist and have been populated into the table.

Preparation & Execution:

  1. Make sure to copy CONNECT common properties from \\CONNECT\Product\Production\Common\Properties\src\main\resources to application server properties folder. (If using WildFly 8.2.1 , copy into \\wildfly-8.2.1.Final\modules\system\layers\base\org\connectopensource\configuration\main).
  2. Make sure to enable Standard mode for DR/DQ service in gateway.properties. Note: By default all services will be in Standard mode in gateway.properties as of CONNECT-4.6 release.
  3. Restart application server.
  4. Deploy CONNECT ear (mvn clean install -P AD,PD,DQ,DR,DS).
  5. In SoapUI, make sure to have GatewayPropDir value set either by using global SOAPUI properties or by setting custom SOAPUI property at the project level.
  6. In SoapUI, load EntitySendingXDRAsyncReqTests project and execute.
  7. Make sure all test cases are passed and green.