...
- Copy the [INSTALLATION_DIR]\integration\coverage\agent directory to the machine were where IIS is installed and the web application is deployed.
- Run a console as an Administrator
Invoke the Agent Client tool on this machine to enable runtime coverage collection inside IIS:
Code Block agent_client.exe
You may need to configure the Agent Client with additional options, see Agent Client Options.
agent_client initializes the environment for the web server (IIS) and behaves like a service, enabling you to execute tests and collect coverage. The service is ready and waiting for commands as long as the following message is printed to the output:
Code Block Write 'exit' and hit Enter to close agent_client
Info A test session and test can be started even if the tested website or application has not been loaded yet.
- Ensure that port 8050 (default port for the coverage agent) allows HTTP traffic in firewall settings on this machine. You can change the coverage agent port number if the default port is unavailable.
- Open the website or application.
Go to the following address to check the status of the coverage agent:
http://host:8050/status
You should receive the following response:Code Block {"session":null,"test":null}
...