...
To attach the Coverage Agent to the AUT, you need to launch the IIS Manager tool shipped with dotTEST on the machine where IIS is installed and the AUT is deployed.
- Deploying Deploy the AUT to the application server.
- Copy the [DOTTEST_INSTALLATION_DIR]\integration\IIS directory to the machine were IIS is installed and the AUT is deployed.
- Run a console as Administrator.
Invoke the following command to launch the IIS Manager tool:
Code Block dottest_iismanager.exe
Go to the following address to check the status of the coverage agent:
http://host:8050/status
. If the Coverage Agent is attached, you should receive the following response:Code Block {"session":null,"test":null}
...
To attach the Coverage Agent to the AUT, you need to add Jtest's -javaagen
t VM argument to the startup script of the server where the AUT is deployed.
- Deploying Deploy the AUT to the application server.
- Extract the contents of the monitor.zip package you generated (see Generating Static Coverage with Jtest) to the server machine. The package contains the agent.sh/agent.bat script.
Run the agent.sh/agent.bat script to print the Jtest Java agent VM argument to the console:
Code Block Jtest Agent VM argument: -javaagent:"[path to agent dir]\agent.jar"=settings="[path to agent properties file]\agent.properties",runtimeData="[path to monitor dir]\monitor\ runtime_coverage"
- Add the
-javaagent
argument to the application server’s startup script. - Restart the server.
Go to the following address to check the status of the coverage agent:
http://host:8050/status
. If the Coverage Agent is attached, you should receive the following response:Code Block {"test":null,"session":null,"testCase":null}
...