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. Please 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 E:\Testsigma\apache-tomcat-xxxx


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 E:\Testsigma\apache-tomcat-xxxx\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 'webapps' directory inside Apache tomcat working directory.


3. Delete the 'agent.war' file and 'agent' folder inside the 'webapps' folder.


4. Download the latest release of agent.war file from the link - Testsigma Agent


5. Extract the agent.war file from the downloaded zip file.


6. Copy the agent.war file to 'webapps' directory.


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-xxxx


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-xxxx/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 'webapps' directory inside Apache tomcat working directory.


3. Delete the 'agent.war' file and 'agent' folder inside the webapps folder.


4. Download the latest release of agent.war file given above.


5. Extract the agent.war file from the downloaded zip file.


6. Copy the agent.war file to webapps directory.


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