Describes how to configure a generic DK test environment.
ssh to the test system server:
Set the global variables for your testcase:
Start the test (general test, see specific test case for actual startup command)
The NAS GUI can new be accessed at http://kb-test-adm-001.kb.dk:807?/.
Ensure the language is set to English before starting the test, so the string mentioned in the test specifications correspond to the text displayed in the deployed GUI.
The harvest database for the standard release tests is based on a postgresql dump. This can be found in
test@kb-prod-udv-001:bin/harvestdb.release_test.pgsql . This directory is a CVS working copy, so any alterations to the database can be committed directly from there. A new version of the database dump can be generated from any existing NAS instance using pg_dump:
pg_dump -U test -d test<foobar>_harvestdb -f harvestdb.release_test.pgsql .
Test port allocation
Reserved for PLIGT
To use a viewerproxy in the test system
Setup port forwarding from your user port on kb-prod-udv-001 to the same port on kb-test-acs-001 (the Viewerproxy application) as follows:
Setup a browser to use this proxy. This is easiest in Firefox. For example, you can define a Firefox profile which always connects to your favoured proxy. Start firefox with
then create a new profile. In Edit->Preferences->Advanced->Settings choose "Manual proxy configuration". Set the proxy to kb-prod-udv-001.kb.dk and the port to your usual port. Check "Use this proxy server for all protocols". Then add the following to "No Proxy for:"
You can now use this Firefox profile both to browse the admin GUI for your NAS installation and for the viewerproxy.