Menu

qTest Automation Agent Host 1.3.8 Upgrade Guide on Mac

In this article, we will walk you through how to upgrade your automation agent host version 1.3.7, or 1.3.7.1, to 1.3.8 on Mac machine.

Download qTest Automation Agent Host 1.3.8

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

2. Open Terminal

3. Change current directory to /usr/local:

$ cd /usr/local

4. Extract the bundle:

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

Upgrade Automation Agent 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 Agent 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 Agent 1.3.8, follow this article: Install and Configure the Automation Agent Host

4. Run the backup command to copy data and configurations of the Automation Agent 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 agent 1.3.7 to automation agent 1.3.8

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

Example:

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

Start qTest Automation Agent 1.3.8

Start the agent from Terminal:

$ ./agentctl start

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

Subscribe To Our Blog
Powered by Zendesk