---
updatedAt: 2025-06-03T20:37:59.000Z
agentTools:
  projectIndex: https://docs.ol-hub.com/llms.txt
---

# ol test method

Test a method using an existing test case or by providing a json input

## Syntax

ol test method \[OPTIONS]

## Options

**--project, -p**

Project name

**--method, -m**

Method name

**input, -i**

Input JSON file path

**--test-case, -tc**

Test case name

**--profiles**

Connection profiles separated by commas (",")

**--version, -v**

Project Version. The possible values are:

* int >= 0
* **latest**
* **last**
* **draft**

**--config-param, -c**

Configuration parameters to use. For example: --config-param key=value