source: TI12-security/trunk/python/ndg.security.test/ndg/security/test/attAuthority/README @ 4111

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/python/ndg.security.test/ndg/security/test/attAuthority/README@4111
Revision 4111, 1.3 KB checked in by cbyrom, 11 years ago (diff)

Adjust the various test config files slightly - including the newly
available input params to set signature confimation and binsectok
value type + add extra trouble shooting info for running the tests.

Line 
1Unit tests for Attribute Authority Web Service Client
2=====================================================
3The test client connects to two different test Attribute Authorities
4corresponding to the fictitious Service Providers Site "A" and Site "B".  Each
5has it's own respective properties file.  These services must be started before
6running the unit tests.  Start a terminal in this directory and run:
7
8$ python ./siteAServer.py
9
10...and in a separate terminal:
11
12$ python ./siteBServer.py
13
14Note however that the siteBServer is only needed for tests for getting mapped
15certificates: test7GetMappedAttCert and test8GetMappedAttCertStressTest
16
17Settings for the client to these services are configured with
18attAuthorityClientTest.cfg.  The default values should work as set - although these assume
19that tcpmon is running in the system - with local port = 4900 and server port = 5000.  NB,
20problems may occur due to proxy settings (Access Denied errors); no proxy should be specified for the ports used by
21the services - i.e. use:
22
23export $no_proxy=localhost:5100,localhost:5000,localhost:4900
24
25Run the unit tests script AttAuthorityClientTest.py from another terminal:
26
27$ python ./AttAuthorityClientTest.py
28
29Tests can be run individually e.g.
30
31$ python ./AttAuthorityClientTest.py AttAuthorityClientTestCase.test1GetX509Cert
Note: See TracBrowser for help on using the repository browser.