Versions Compared

Key

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

As of CONNECT 5.1, both files have been replaced with the more versatile exchangeInfo.xml and internalExchangeInfo.xml files. For users of CONNECT 5.0 and earlier versions, substitute references to these new files with the original uddiConnectionInfo.xml and internalConnectionInfo.xml files

Table of Contents

Overview

The Tests are designed TestSuite design to verify the Audit Query functionality by populating AuditRepository table and query audit service.

Test Detail

AuditQueryLog service is an adapter service successful functionality of audit event. The AuditQueryLogService is CONNECT internal service storing the audit events in the audit repository and does not have standard or passthrough workflow associated to the service.

Bimodal test suite, test the service in both standard and passthrough and will call the JMX in the test case to switch service mode between standard and passthrough .

AuditQueryLogPortTypeBinding TestSuite

QueryAuditEvents TestCase

  1. Clear & Populate Auditrepository Table

  2. SOAP: QueryAuditEvents

    • Verify UserId

    • Verify EventType

    • Verify EventId

    • Verify RemoteHCID

    • Verify Direction

    • Count (Result)

QueryAuditEventsBlob TestCase

  1. Clear & Populate Auditrepository Table

  2. SOAP: QueryAuditEventsBlob

    • Count (Result)

QueryAuditEventsEmptyBlob TestCase

  1. Clear & Populate Auditrepository Table

  2. SOAP: QueryAuditEventsBlob

    • Count (Result)

QueryAuditEventsByMessageID TestCase

  1. Clear & Populate Auditrepository Table

  2. SOAP: QueryAuditEventsByMessageID

    • Match MessageId for Result 1 and 2

    • Count (Result == 2)

QueryAuditEventsByMessageID&RelatesTo TestCase

...

Clear & Populate Auditrepository Table

SOAP: QueryAuditEventsByMessageID

...

Match MessageId for Result 1 and 2

...

Count (Result == 2)

...

without application server restart.

TestCases Detail

The test cases updated audit repository, query AuditQueryLogService and verify sussessful response with different set of parameters and expected response.

  • QueryAuditEvents TestCase: query the audit repository for audit events by user id, event type, begin date and hcid.

  • QueryAuditEventsBlob TestCase: query the audit repository for audit message details by audit id.

  • QueryAuditEventsEmptyBlob TestCase: query the audit repository for empty message details by audit id

  • QueryAuditEventsByMessageID TestCase: query the audit repository for audit events by message id

  • QueryAuditEventsByMessageID&RelatesTo TestCase: query the audit repository for audit events by message id and relates to