# Start/Stop the runtime engine

This topic includes information on how start and stop the LeanFT runtime engine, as well as retrieve information on the runtime engine status.

In this topic:

## Start the runtime engine

You can run the LeanFT runtime engine to use as a stand-alone LeanFT machine, or as part of a LeanFT grid configuration.

For a grid configuration, run the LeanFT runtime engine as a grid on the grid machine, and run it as a node on the node machines. For more details on the LeanFT grid configuration, see LeanFT Grid.

Start the LeanFT runtime engine in one of the following ways:

Where | Run LeanFT as Stand-alone | Run LeanFT as Grid or Node
--- | --- | ---
In the IDE | From the LeanFT menu, select Enable LeanFT. The engine is automatically activated when you open your IDE with the LeanFT plugin for the first time. | NA
Start menu (Windows only) | Select LeanFT > LeanFT Runtime. | Select one of the following: LeanFT > LeanFT Grid > LeanFT Runtime (Grid) LeanFT > LeanFT Grid > LeanFT Runtime (Grid Node)
Command line | Windows: Run `leanft start` (located in <LeanFT installation>\bin). Linux: Run `./leanft start` (located in <LeanFT installation>/bin). Mac: Run `./leanft start` (located in the LeanFT installation directory). Note: You cannot run LeanFT in parallel to UFT or Sprinter. | Windows: Run `leanft.bat start --role=grid` or `leanft.bat start --role=node` (located in <LeanFT installation>\bin). Linux: Run `./leanft start --role=grid` or `./leanft start --role=node` (located in <LeanFT installation>/bin). Mac: Run `./leanft start --role=grid` or `./leanft start --role=node` (located in the LeanFT installation directory). Caution: Do not run the LeanFT runtime engine as a grid and a node on the same machine.

Note: LeanFT nodes connect to the LeanFT grid configured in their settings, regardless of whether LeanFT nodes are started before or after the grid.

Therefore, when you restart a LeanFT grid machine, you don't need to restart the nodes that were connected to it.

Back to top

## Stop the runtime engine

Stop the LeanFT runtime engine in one of the following ways:

From where | Deactivate the LeanFT runtime engine
--- | ---
In the IDE | From the LeanFT menu, select Disable LeanFT.
Task Bar / Start menu (Windows only) | Right-click the icon in the task bar and select Exit.
Command line | Windows: Run `leanft stop` (located in <LeanFT installation>\bin). Linux: Run `./leanft stop` (located in <LeanFT installation>/bin). Mac: Run `./leanft stop` (located in the LeanFT installation directory). Note: To stop the LeanFT grid or node runtime engine, add `--role=grid` or `--role=node` to the `stop` command.

Back to top

## Retrieve runtime engine status

You can retrieve the status of the LeanFT runtime engine on by running `leanft info`.

For engine status information on a LeanFT grid or node machine, run `leanft info --role=grid` or `leanft info --role=node`

This information includes the LeanFT version, the port in use, whether the engine is running, and whether there is a valid license.

Example: (linux)

    /opt/leanft/bin$ ./leanft info

    LeanFT runtime engine is currently running

    License: Seat DEMO, License expires in 40 days

    Port: 5095

    Version: 14.50.530, @ Copyright 2015 EntIT Software LLC

    Installation Folder: /opt/leanft

Back to top

https://admhelp.microfocus.com LeanFT 8942
Tips to improve your search results...TOC Lean Functional Testing Help Center LeanFT Help Center 14.50 - 14.53 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version:(Undefined variable: _rscC_Basic_Variables.FloatingTocShow)