Otii 2 was shipped with otiicli that was used to run Lua-scripts, act as a server and handle user management.
The CLI tool in Otii 3 - otii_server, does only act as a server. Otii 3 does not support Lua and the user management must be done from the test scripts.
You can also start the TCP server using otii_server, the command line version of Otii.
The server is packaged within the application and to find where it is located on your system, select Help › Find otii_server in Otii 3.
If you run otii_server with the --help option you will see all available options:
To start a server run the command:
The server is by default listening on host address 127.0.0.1 and port 1905. If you want to change the default settings, or need to add settings for a proxy, create a config.json file:
and start the server with:
The server will run until you stop it by pressing Ctrl-C.
In a future release Otii will ship with tools that will make it possible to run otii_server as a Windows Service, or a daemon in Ubuntu and macOS.