Skip to content

Need info on remote execution with hub and node machines  #610

Closed

Description

@samagarw

I checked the link : https://github.com/AppiumTestDistribution/appium-device-farm/wiki/Remote-Execution

But there it is mentioned hub config as :

{
"server": {
"port": 31337,
"plugin": {
"device-farm": {
"platform": "both", //If both android and iOS devices/simulator/emulators needs to be considered
"remote": ["https://1.1.1.1:4723"] //Add the remote host and port the appium server running in node machine.
}
}
}
}

How come node machine is started before the hub machine . We need to register nodes in hub machine right .

What does remote represents in this hub config .

Also in the node config why do we need to pass device-farm plugin :

appium server -ka 800 --use-plugins=device-farm --config ./node-config.json -pa /wd/hub

Also you have mentioned that hub is started on port 31337 but the .gif attached has port 4723 in url .

Activity

  1. saikrishna321 commented on Jan 20, 2023

    @saikrishna321
    Member

    @samagarw You need to start the appium server in the node machine with the plugin first as the plugin will gather all the devices and maintain the session.

    Remote in the hub config represent the node IPs and it will connect to those IPs to gather device information and proxy all the webdriver commands.

    Gif in the readMe is just an example. Which ever port number your starting the Hub you need to access the same to view the dashboard

  2. locked and limited conversation to collaborators on Jan 23, 2023
  3. converted this issue into a discussion #612 on Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions