The latest version of Testsigma Agent has automatic update feature embedded into it. However, it is still in beta version and rarely, the auto update of the agent might fail due to some configuration issues.


In such cases, we might need to update the Agent manually.


Note: Virtual Machines are not recommended for Hybrid Executions though they can be used. We would suggest you to use real Local Machines for hassle-free executions.


Given below are the steps to be followed in order to update the Agent to latest version manually.


For Windows

Here's the latest build of Testsigma Agent(common for Windows, Mac or Linux)

Testsigma Agent


Let us assume that Apache Tomcat working directory is C:\Users\<username>\Documents\Testsigma-Agent\apache-tomcat


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


1. Stop the apache tomcat server if its already running on the local machine. Else skip to Step 2.

  • Open a Command prompt window if not open already.


  • Navigate to the bin sub-directory inside your Apache Tomcat server directory.
    cd C:\Users\<username>\Documents\Testsigma-Agent\apache-tomcat\bin


  • Execute the shutdown.bat script by typing the following command and pressing Enter.
    shutdown.bat


Note: Do not close this window yet. You may minimize it till needed again.


2. Go to the Testsigma-Agent folder.


3. delete apache-tomcat folders.


4. Download the latest release from the link - Testsigma Agent


5. Extract the contents from the downloaded zip file.


6. Copy the contents to Testsigma folder.


7. Switch to the previously opened CMD prompt window.


8. Restart the Apache Tomcat server by typing the following command and pressing Enter key.

startup.bat


For Mac/Linux


Let us assume that Apache Tomcat working directory is ~/documents/testsigma/apache-tomcat


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


1. Stop the apache tomcat server if its already running on the local machine. Else skip to Step 2.

  • Open a Terminal window if not open already.


  • Navigate to the bin sub-directory inside Apache Tomcat server directory.
    cd ~/documents/testsigma/apache-tomcat/bin


  • Execute the shutdown.sh script by typing the following command and pressing Enter.
    shutdown.sh


Note: Do not close this window yet. You may minimize it till needed again.


2. Go to the Testsigma folder.


3. delete apache-tomcat folders.


4. Download the latest release from the link - Testsigma Agent


5. Extract the contents from the downloaded zip file.


6. Copy the contents to Testsigma folder.


7. Switch to the previously opened Terminal window.


8. Restart the Apache Tomcat server by typing the following command and pressing Enter key.

startup.sh