Skip to content

Commit f7b8fd8

Browse files
committed
[test/README] Update and Add SSH doc
1 parent f51438e commit f7b8fd8

File tree

1 file changed

+33
-29
lines changed

1 file changed

+33
-29
lines changed

test/README.md

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -35,33 +35,10 @@ If you experience timeout issue with network calls add
3535
within `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
6744
Each 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

7350
you 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+
8267
For 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

Comments
 (0)