> For the complete documentation index, see [llms.txt](https://docs.cennso.com/test-tools/tpload/latest/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/test-tools/tpload/latest/interactive-mode/rampup.md).

# Run the RampUp test using TPLoad CLI

To start the RampUp test, run the `tpload-cli start` command. You can specify the following flags:

| Flag | Description | Default value |
|---|---|---|
| `--server` | Endpoint of the TPLoad API | `"127.0.0.1:8900"` |
| `--flows-count` | Sets the number of flows for a single session. | `1` |
| `--sessions` | Sets the number of sessions for the test. | `100000` |
| `--hold-time` | Sets the duration of the test. | `1h` |
| `--create-limits` | Sets the rate for the session creation. | `100` |
| `--delete-limits` | Sets the rate for the session deletion. | `100` |
| `--left-speed` | Sets the desired throughput for Generator-left. | `100kpps` |
| `--left-profile` | Sets the traffic profile for Generator-left, for example, the upload direction. | `imix` |
| `--right-speed` | Sets the desired throughput for Generator-right. | `200kpps` |
| `--right-profile` | Sets the traffic profile for Generator-right, for example, the download direction. | `imix` |

See the example:
```bash
tpload-cli start \
  --server 127.0.0.1:8900  \
  --flows-count 1 --sessions 1000 --hold-time 4h \
  --left-profile imix --left-speed 100Kpps \
  --right-profile imix --right-speed 100Kpps \
  --create-limits 100 --delete-limits 100   
```

## Update the load profile

With the interactive mode, you can update the load profile during the test run. For this purpose, use the `update-load-profile` subcommand with the possible flags:

| Flag | Description | Default value |
|---|---|---|
| `--server` | Endpoint of the TPLoad API | `"127.0.0.1:8900"` |
| `--left-speed` | Sets the desired throughput for Generator-left. | - |
| `--left-profile` | Sets the traffic profile for Generator-left, for example, the upload direction. | - |
| `--left-rate-multiplier` | Traffic rate multiplier for Generator-left. For example, `--left-speed 10k --left-rate-multiplier 2` results in the throughput of 20k pps. | `1` |
| `--right-speed` | Sets the desired throughput for Generator-right. | - |
| `--right-profile` | Sets the traffic profile for Generator-right, for example, the download direction. | - |
| `--right-rate-multiplier` | Traffic rate multiplier for Generator-right. | `1` |

You can use any number of flags and only the used ones are updated.
See the example of adjusting the upload speed:
```bash
tpload-cli update-load-profile \
   --server 127.0.0.1:8900 --left-speed 150kpps
```

## Get the current load profile

With the `status` subcommand, you can see the current configuration of the load profile:

```bash
tpload-cli status --server 127.0.0.1:8900
```

## Stop the test

To stop the test earlier than `host-time`, use the `stop` subcommand:

```bash
tpload-cli stop --server 127.0.0.1:8900 
```
