CLI Usage
APITestka provides a full command-line interface for CI/CD integration.
Commands
Execute a single JSON action file:
python -m je_api_testka -e test_actions.json
Execute all JSON files in a directory:
python -m je_api_testka -d path/to/json_dir
Execute a JSON string directly:
python -m je_api_testka --execute_str '[["AT_test_api_method", {"http_method": "get", "test_url": "http://httpbin.org/get"}]]'
Create a new project with templates:
python -m je_api_testka -c MyProject
CLI Flags
Flag |
Description |
|---|---|
|
Execute a single JSON action file |
|
Execute all JSON files in a directory |
|
Execute a JSON string directly |
|
Create a project directory with template files |