Update Agents

Elastic Execution Grid regularly offers updated Elastic Execution Grid Agent Agent machines are the machines on which you execute your tests. They host the Agent Service and the Runners. The Agent Service receives the Flow from the server and directs it to the required Runner. The Runner actually executes the test. versions with new and improved features. If you want to use these enhancements in your tests, you need to switch your Agents to the latest version.

To do so, follow the steps below:

  1. Make sure that the Agent you want to update isn't currently executing. If you update the Agent while it's executing, the execution either fails or cancels.

  2. Download the new Agent from the Downloads tab.

  3. On the Agent machine, stop the Agent service.

  4. Go to the directory that holds all files of the current Agent version. Create a backup of these files in a different directory.

  5. Delete the files in the current Agent directory.

  6. Extract the new Agent package into the current Agent directory.

  7. Configure the Agent in the new appsettings.yaml and RunnerConfig.yaml files.

    • Check for new settings or configurations.

    • Copy and paste unchanged settings or configurations from your backup files.

  8. Start the Agent.

What's next

Check your Agents in the Agents tab. Are all Agents up to date?