source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanager/README @ 4405

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/sessionmanager/README@4447
Revision 4405, 1.2 KB checked in by pjkersha, 11 years ago (diff)
  • Fix to ConfigFileParsers? validateProperties - don't attempt to validate a section that's missing
  • sessionmanagerclient unit test: Session Manager WSGI test harness now working.
  • Fix to Attribute Authority rotating file handler for Attribute Certificate log - backup count setting now enabled correctly.
Line 
1Unit tests for NDG Security Session Manager Module
2==================================================
3These tests need some careful attention to their configuration in order to
4correctly set up.  Test Attribute Authorities services must be
5configured and started.
6 
71) Two test Attribute Authority services are required.  These can be run from
8the Attribute Authority Client unit test directory.  It's path relative to this
9directory is ../attributeauthorityclient/.  Run each service in a separate
10window so that the output can be monitored:
11
12$ ../attributeauthorityclient/wsgi/siteAServerApp.py
13$ ../attributeauthorityclient/wsgi/siteBServerApp.py
14
152) Run the tests with the command:
16
17$ python ./test_sessionmanager.py
18
193) To run individual tests give the test method name:
20
21$ python ./test_sessionmanager.py SessionManagerTestCase.test1Connect
22
23Finally,
24 * See sessionMgrTest.cfg sets the unittest configuration
25 * sessionMgr.cfg sets the Session Manager configuration
26
27Troubleshooting:
28 * http_proxy environment variable settings can cause connection problems to
29the Attribute Authorities.  unset http_proxy or set no_proxy:
30
31$ export no_proxy=http://localhost:5000/AttributeAuthority,http://localhost:5100/AttributeAuthority
Note: See TracBrowser for help on using the repository browser.