@@ -35,33 +35,10 @@ If you experience timeout issue with network calls add
3535within ` package.json ` file, where X is the number of seconds before timeout
3636
3737# Setup Rest interface
38+ - view the [ README] ( ../README.md#rest )
3839
39- - add to the default apache server conf: ` /www/apachedft/conf/httpd.conf `
40-
41- ```
42- ScriptAlias /cgi-bin/ /QSYS.LIB/QXMLSERVc .LIB/
43- <Directory /QSYS.LIB/QXMLSERV.LIB/>
44- AllowOverride None
45- order allow,deny
46- allow from all
47- SetHandler cgi-script
48- Options +ExecCGI
49- </Directory>
50-
51- ```
52-
53- - start the server
54-
55- ` STRTCPSVR SERVER(*HTTP) HTTPSVR(APACHEDFT)`
56-
57- - go to `http://HOSTNAME/cgi-bin/xmlcgi.pgm`
58-
59- you should see an XML document
60-
61- - when finished testing you can shutdown server with
62-
63- ` ENDTCPSVR SERVER(*HTTP) HTTPSVR(APACHEDFT)`
64-
40+ # Setup SSH interface
41+ - view the [ README] ( ../README.md#ssh )
6542
6643# Configuring Tests
6744Each functional test contains an config object that is used to create connections
@@ -72,18 +49,45 @@ Instead of hard coding credentials with the test file.
7249
7350you can set environment varaibales with ` export KEY='value' `
7451
52+
53+ For all tests
7554---
55+ - verbose ` TKVERBOSE ` enables verbose mode
56+
57+ For idb-connector Tests
58+ ---
59+
7660- user ` TKUSER ` defaults to ''
7761
7862- password ` TKPASS ` defaults to ''
7963
8064- database ` TKDB ` defaults to ` *LOCAL `
8165
66+
8267For Rest Tests
8368---
84- - HOST `TKHOST` defaults to `localhost`
69+ - host ` TKHOST ` defaults to ` localhost `
70+
71+ - user ` TKUSER ` defaults to ''
72+
73+ - password ` TKPASS ` defaults to ''
74+
75+ - port ` TKPORT `
76+
77+ - path ` TKPATH ` defaults to ` /cgi-bin/xmlcgi.pgm `
78+
79+ For SSH Tests
80+ ---
81+
82+ - host ` TKHOST ` defaults to ` localhost `
83+
84+ - user ` TKUSER ` defaults to ''
85+
86+ - password ` TKPASS ` defaults to ''
87+
88+ - port ` TKPORT `
8589
86- - PORT `TKPORT` defaults to `80 `
90+ - privateKey ` TKPK `
8791
88- - PATH `TKPATH` defaults to `/cgi-bin/xmlcgi.pgm `
92+ - passphrase ` TKPHRASE `
8993
0 commit comments