Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

  1. Deploying Deploy the AUT to the application server.
  2. Copy the [DOTTEST_INSTALLATION_DIR]\integration\IIS directory to the machine were IIS is installed and the AUT is deployed.
  3. Run a console as Administrator.
  4. Invoke the following command to launch the IIS Manager tool:

    Code Block
    dottest_iismanager.exe
  5. 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 -javaagent VM argument to the startup script of the server where the AUT is deployed.

  1. Deploying Deploy the AUT to the application server.
  2. 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.
  3. 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"
  4. Add the -javaagent argument to the application server’s startup script.
  5. Restart the server.
  6. 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}

...