Skip to content

Starting the hub server

Bryan Oakley edited this page Jan 19, 2015 · 2 revisions

To start the robot framework hub as a standalone server, open up a prompt and run the following command:

$ python -m rfhub

This will launch the server, which will listen on port 7070. The server will have access to all built-in keywords, as well as some common installed libraries. For example, if you have Selenium2Library installed, it will be found by the hub.

You can have the hub scan additional folders for resource files and libraries by providing the path one or more folders on the command line.

For example, if you have keywords in /projects/automation/keywords, you could start the server like this:

$ python -m rfhub /projects/automation/keywords

Defining the network interface

By default the hub runs on localhost, meaning it can only be accessed from that machine. You can specify a different interface with the --interface (or -i) option if you want to expose the hub to other systems on your network. For example:

$ python -m rfhub --interface 0.0.0.0 /projects/automation/keywords
Clone this wiki locally