...
Version# | Date | Modified By | Description of Modification |
---|---|---|---|
1.0 | 3/22/2016 | Sailaja Adusumilli | Initial Version |
Table of Contents |
---|
Audit Logging-
...
Passthrough Test Details:
Overview:
AuditLogging-Standard Passthrough project is used to test CONNECT's audit logging functionality for PD,DQ,DR,DS,AD,PDDeferred and DSDeferred services in Standard Passthrough mode. This project got g0, g1 suites with one test case for each service. When this project is executed, there is an in a script for each test case which validates number of audit entries logged in auditrepo.auditrepository table. The script will also fetch and validate the blob message to make sure it is complying as per sequoia project checklist and Exchange spec. When auditing turned off using an on script, it is verified that there are no entries in auditrepo.auditrepository table. This project works only in loop back setup. Test suite, Test case description and what it does are described below:
...
- 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).
- In audit.properties, make sure LogToDatabase=true, LogToFile=false and other services are true (ex: QueryForDocuments=true) Note: By default LogToDatabase=true in CONNECT-4.6 codebase.
- Make sure to enable Standard mode for services in gateway.properties. Note: By default all services will be in Standard mode in gateway.properties as of CONNECT-4.6 release.
- In AuditRepositoryProxyConfig.xml make sure to have securedImplementation or javaImplementation.
- Restart application server.
- Deploy CONNECT ear (mvn clean install -P AD,PD,DQ,DR,DS)
- In SoapUI, make sure to have GatewayPropDir value set either by using global SOAPUI properties are by setting custom SOAPUI property at the project level.
- In SoapUI, load AuditLogging-Standard project and execute.
- Make sure all test cases for g1, g0 are passed and green.
- Test in Standard Passthrough mode.