If you run load tests across multiple agents using the command line, it can be difficult to keep track of what agents are available. To help you with that, ReadyAPI includes the agentavailability
command-line tool.
The tool is located in the <ReadyAPI>/bin
directory. The file name is agentavailability.bat
(Windows) or agentavailability.sh
(Linux and macOS).
The command line has the following syntax:
agentavailability.bat [-a <list of agents>] [-f <file with list of agents>]
Important
Only one of the arguments must be used for one command, either -a
or -f
.
After you send the command, the tool will return the list of checked agents and their statuses. Possible statuses are:
idle – The agent is detected and no scenario is running on it.
running – The agent is detected and is currently busy with running a scenario.
not available – No agent was detected at this address and on this port.