As we know, Testsigma Agent is required for Hybrid Executions on local machines.


Here's the latest build of Testsigma Agent(including all the dependencies). Given below are the steps to be followed in order to update the Agent to latest version from your old version manually:


Windows - Testsigma Agent Windows

Mac - Testsigma Agent Mac

Linux - Testsigma Agent Linux


For Windows


Let us assume that Testsigma Agent is located in the folder "C:\Users\[your_username]\Documents\Testsigma-Agent" where [your_username] is to be replaced with your Windows username.

In order to update the Testsigma Agent to latest version from old version, we need to do the following steps:


1. Stop the Apache tomcat server if it's already running on the local machine. Else skip to Step 2.

  • Open a Command prompt(CMD) window if not open already.
  • Navigate to the Apache bin directory inside Testsigma folder using the command cd C:\Users\[your_username]\Documents\Testsigma-Agent\apache-tomcat\bin
  • Type shutdown.bat and press Enter.


2. Go back up to the Testsigma-Agent folder and delete all the content inside.


3. Download the latest auto-update release of Testsigma Agent given above.


4. Extract the contents from the downloaded zip file to the Testsigma-Agent folder.


5. Switch to the previously opened Command Prompt(CMD) window.


6. Restart the Apache Tomcat server by typing startup.bat and pressing Enter key.


For Mac/Linux


Let us assume that Testsigma Agent is located in the folder "/home/<your_username>/Documents/Testsigma-Agent" where <your_username> is to be replaced with your account username. In order to update the Testsigma Agent to latest version from old version, we need to do the following steps:


1. Stop the Apache tomcat server if it's already running on the local machine. Else skip to Step 2.

  • Open a Command prompt(CMD) window if not open already.
  • Navigate to the Apache bin directory inside Testsigma folder using the command cd /home/<your_username>/Documents/Testsigma-Agent/apache-tomcat/bin
  • Type shutdown.sh and press Enter.


2. Go back up to the Testsigma Folder using command cd ./../.. and delete all the contents inside.


3. Download the latest release of Testsigma Agent given above.


4. Extract the contents from the downloaded zip file inside the Testsigma-Agent folder.


5. Switch to the previously opened Terminal/Shell window.


6. Restart the Apache Tomcat server by typing startup.sh and pressing Enter key.

    

Final Steps

    

Some of our users have reported that they are facing Auto update issues. This is due to a bug with the Path environment resolution in Windows. Once all the above steps are done, please follow the steps in below article to avoid Agent Auto update errors

How to fix errors on Testsigma Agent Auto-Update script?