| 1 | ============================================================================== |
|---|
| 2 | IT Mill Testing Tools |
|---|
| 3 | ============================================================================== |
|---|
| 4 | |
|---|
| 5 | --------------- |
|---|
| 6 | README Contents |
|---|
| 7 | --------------- |
|---|
| 8 | |
|---|
| 9 | 1. Important files |
|---|
| 10 | 2. Quick Installation Instructions |
|---|
| 11 | 3. Quick Configuration Instructions |
|---|
| 12 | |
|---|
| 13 | --------------- |
|---|
| 14 | 1. Important Files |
|---|
| 15 | --------------- |
|---|
| 16 | |
|---|
| 17 | The installation folder contains the following important files. |
|---|
| 18 | |
|---|
| 19 | itmill-testingtools-x.x.x |
|---|
| 20 | | |
|---|
| 21 | |-- StartTestingServer.sh or Start Testing Server.bat |
|---|
| 22 | | (Starts Testing Server) |
|---|
| 23 | | |
|---|
| 24 | `-- StartTestingHost.sh or Start Testing Host.bat |
|---|
| 25 | (Starts Testing Host Controller or running scheduled tests.) |
|---|
| 26 | |
|---|
| 27 | ---------------------------------- |
|---|
| 28 | 2. Quick Installation Instructions |
|---|
| 29 | ---------------------------------- |
|---|
| 30 | |
|---|
| 31 | Please see IT Mill Testing Tools Manual for detailed installation |
|---|
| 32 | instructions. |
|---|
| 33 | |
|---|
| 34 | Below are installation instructions or Windows, Mac OS X, and Linux. The |
|---|
| 35 | Linux package is suitable also for Unix systems, such as Solaris. |
|---|
| 36 | |
|---|
| 37 | ------------ |
|---|
| 38 | 2.1. Windows |
|---|
| 39 | ------------ |
|---|
| 40 | |
|---|
| 41 | Download the installation package itmill-testingtools-x.x.x-windows.zip |
|---|
| 42 | and follow the following steps. |
|---|
| 43 | |
|---|
| 44 | 1. Uncompress the installation package in some suitable folder. The contents |
|---|
| 45 | will be uncompressed under itmill-testingtools-x.x.x folder. |
|---|
| 46 | |
|---|
| 47 | 2. Open the installation folder with a file browser and double-click on the |
|---|
| 48 | Start Testing Server.bat file. This starts the server in a command |
|---|
| 49 | window. It displays the port number of the server, 8099 by default. |
|---|
| 50 | |
|---|
| 51 | 3. Open URL http://localhost:8099/TestingToolsServer/ with a web browser |
|---|
| 52 | (or some other address if you installed the server on another computer). |
|---|
| 53 | |
|---|
| 54 | ------------- |
|---|
| 55 | 2.2. Mac OS X |
|---|
| 56 | ------------- |
|---|
| 57 | |
|---|
| 58 | Download the installation package itmill-testingtools-x.x.x-mac.zip and |
|---|
| 59 | follow the following steps. |
|---|
| 60 | |
|---|
| 61 | 1. Uncompress the installation package in some suitable folder. The contents |
|---|
| 62 | will be uncompressed under itmill-testingtools-x.x.x folder. |
|---|
| 63 | |
|---|
| 64 | 2. Open a terminal window, change to the installation folder, and run command |
|---|
| 65 | âsh StartTestingServer.shâ. The server starts and displays the port number |
|---|
| 66 | of the server on the screen, 8099 by default. |
|---|
| 67 | |
|---|
| 68 | 3. Open URL http://localhost:8099/TestingToolsServer/ with a web browser (or |
|---|
| 69 | some other address if you installed the server on another computer). |
|---|
| 70 | |
|---|
| 71 | Before testing a target application, you need to configure the application for |
|---|
| 72 | the Testing Tools. Please see below for quick configuration or the manual for |
|---|
| 73 | detailed instructions. |
|---|
| 74 | |
|---|
| 75 | ---------------------- |
|---|
| 76 | 2.3. Linux and Solaris |
|---|
| 77 | ---------------------- |
|---|
| 78 | |
|---|
| 79 | The installation package for Linux is suitable also for Solaris and other |
|---|
| 80 | Unix-based operating systems. You need to have a Java Runtime Environment |
|---|
| 81 | installed and the path defined in the JAVA_HOME environment variable. |
|---|
| 82 | |
|---|
| 83 | Download the installation package itmill-testingtools-x.x.x-linux.zip and |
|---|
| 84 | follow the following steps. |
|---|
| 85 | |
|---|
| 86 | 1. Uncompress the installation package in some suitable folder. The contents |
|---|
| 87 | will be uncompressed under itmill-testingtools-x.x.x folder. |
|---|
| 88 | |
|---|
| 89 | 2. Open a terminal window, change to the installation folder, and run |
|---|
| 90 | command âsh StartTestingServer.shâ. The server starts and displays |
|---|
| 91 | the port number of the server on the screen, 8099 by default. |
|---|
| 92 | |
|---|
| 93 | 3. Open URL http://localhost:8099/TestingToolsServer/ with a web browser |
|---|
| 94 | (or some other address if you installed the server on another computer). |
|---|
| 95 | |
|---|
| 96 | Before testing a target application, you need to configure the application for |
|---|
| 97 | the Testing Tools. Please see below for quick configuration or the manual for |
|---|
| 98 | detailed instructions. |
|---|
| 99 | |
|---|
| 100 | ----------------------------------- |
|---|
| 101 | 3. Quick Configuration Instructions |
|---|
| 102 | ----------------------------------- |
|---|
| 103 | |
|---|
| 104 | These instructions assume that you run the testing server and the application |
|---|
| 105 | to be tested in the same server. Please see IT Mill Testing Tools Manual |
|---|
| 106 | for detailed installation instructions. |
|---|
| 107 | |
|---|
| 108 | ---------------------------------------- |
|---|
| 109 | 3.1. Activation of IT Mill Testing Tools |
|---|
| 110 | ---------------------------------------- |
|---|
| 111 | |
|---|
| 112 | You need to activate IT Mill Testing Tools for your web application(s) by adding |
|---|
| 113 | following parameter to web.xml deployment descriptor of the application you want |
|---|
| 114 | to test: |
|---|
| 115 | |
|---|
| 116 | <web-app> |
|---|
| 117 | ⊠|
|---|
| 118 | <context-param> |
|---|
| 119 | <param-name>testingToolsActive</param-name> |
|---|
| 120 | <param-value>true</param-value> |
|---|
| 121 | <description>IT Mill Testing Tools activation</description> |
|---|
| 122 | </context-param> |
|---|
| 123 | ⊠|
|---|
| 124 | </web-app> |
|---|
| 125 | |
|---|
| 126 | The context-wide parameter is common for all the applications in the context. |
|---|
| 127 | If the Testing Tools Server is located on the same host as the IT Mill Toolkit |
|---|
| 128 | applications that you want to test, no further configuration is required. |
|---|