Menu

qTest Automation Host 1.3.8 Upgrade Guide on Linux

In this article, we will walk you through how to upgrade your Automation Host version 1.3.7, or 1.3.7.1, to 1.3.8 on Linux machine.

Download qTest Automation Host 1.3.8

1. Go to this page Download Automation Host and download the qTest Automation 1.3.8 for Linux

2. Open Terminal

3. Change current directory to /usr/local:

$ cd /usr/local

4. Extract the bundle:

$ tar -zxf agentctl-1.3.8-linux-x64-full.tgz

Upgrade Automation Host to 1.3.8

1. If your current Automation Host 1.3.7 is running in Terminal, press Ctrl + C to stop it

2. Open Terminal and navigate to extracted Automation Host 1.3.8 folder

$ cd /usr/local/agentctl-1.3.8

3. Execute below command to configure the agent 1.3.8

$ ./agentctl  config -Phost=[ip_address] -Pport=[agent_port] -Pqtest.url=[qtest_url] -Pqtest.username=[qtest_username] -Pqtest.password=[qtest_password]

Note: -Phost and -Pport parameters are optional

  • If you do not specify -Phost parameter, localhost will be used
  • If do you not specify -Pport parameter, 6789 will be used

Example:

$ ./agentctl config -Pqtest.url=https://demo.qtestnet.com -Pqtest.username=demouser1@qasymphony.com -Pqtest.password=n0thIng4y0u

For more detail about how to configure qTest Automation Host 1.3.8, follow this article: Install and Configure the Automation Host

4. Run the backup command to copy data and configurations of the Automation Host 1.3.7

$ ./agentctl backup -Plocation=[directory_of_qtest_automation_host_1.3.7]

Example:

$ ./agentctl backup -Plocation=/usr/local/qtest-automation-1.3.7

If the command was successful, a backup file will be created at /usr/local/agentctl-1.3.8/backup/agentctl_bk.zip.

5. Next execute below command to copy data and configurations of automation host 1.3.7 to automation host 1.3.8

$ ./agentctl restore -Pbackup-file=[/path/to/backup file]

Example:

$ ./agentctl restore -Pbackup-file=/usr/local/agentctl-1.3.8/backup/agentctl_bk.zip

Start qTest Automation Host 1.3.8

Start the agent from Terminal: $ ./agentctl start

Note: if you want the automation host to be started automatically when the system starts, you need to install it as a service by following this article: Install Automation Host as a Service

Powered by Zendesk