-
Notifications
You must be signed in to change notification settings - Fork 102
Test agent setup on MacOS
OliverShen edited this page Jun 8, 2023
·
14 revisions
Step 1:
Download the application.yml
following the Guideline: Download the agent configuration.
Step 2:
Run installer.sh: Unzip this HydraLab_Agent_Installer_Mac.zip
, copy the application.yml
to the uncompressed folder, and run the installer.sh
:
chmod 755 installer.sh
./installer.sh
And after the install finished, you should be able to see the agent service running and registered to your Hydra Lab center service.
Note: To restart the service, run the
restartAgent.sh
script in the same folder.
chmod 755 restartAgent.sh
./restartAgent.sh
Other references:
-
installer.sh
details: installer.sh, the shell will automatically:- Install dependencies like appium, Node.JS, OpenJDK11, Android SDK, supervisor, etc., leveraging the brew package manager.
- Copy the
jar
,sh
, (executables),ini
, andYAML
(configurations) files to$userHome/Library/Server/HydraLab
. - And register the
java -jar agent.jar
as a MacOS supervisor service, and then start it.
- Running a JAR file as a background service in MAC OS
Introduction:
User manual:
- Deploy Center Docker Container
- Deploy Agent Docker Container
- Test agent setup
- One-Line-Installer Agent Setup
- [DEPRECATED]Deploy a test agent service
- Trigger a test task run in the Hydra Lab test service
- Create an Appium UI Test Automation Project
- Create test build and run XCTest
- Test Task Customization
- FAQ
Developer guideline:
- Start Services with Default Configuration
- Dev Environment Setup
- Technical Design
- Integrate Hydra Lab test center with Microsoft AAD authentication service
- Upgrade the test agent service from center service
News: