Overview
The TestSuite design to verify 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 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