Crates.io | apirquest_bin |
lib.rs | apirquest_bin |
version | |
source | src |
created_at | 2025-03-09 20:47:11.039031+00 |
updated_at | 2025-03-30 16:55:03.087804+00 |
description | ApiRquest is a library for testing Api Rest. Written in Rust, it allows you to use the Rhai scripting language to increase test flexibility. It uses Gherkin syntax for test scenarios. |
homepage | |
repository | https://gitlab.com/denix190/apirquest |
max_upload_size | |
id | 1585844 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
apiRquest_bin is the command line interface to apiRquest_core. There are two uses for apiRquest, the first being the generation of a scenario from an OpenApi file or the execution of the scenario.
The following example generates a scenario for the createObject
operation from the OpenApi description file api_restful_api.yaml
.
apirquest_bin -l config/log4rs.yaml generate --openapi-file api_restful_api.yaml --operation createObject --output-file api_restful_api.feature
apirquest_bin -l config/log4rs.yaml run --script features/api_restful_api.feature
apirquest_bin -l config/log4rs.yaml run --script features/api_restful_api.feature --tags @scenario_post
apirquest_bin --help
ApiRquest is a tool for testing Api Rest.
Written in Rust, it allows you to use the Rhai scripting language to increase test flexibility.
It uses Gherkin syntax for test scenarios.
Usage: apirquest_bin [OPTIONS] [COMMAND]
Commands:
generate Generates a new API request.
run Runs a single test request
help Print this message or the help of the given subcommand(s)
Options:
-l, --log <log>
Location of the log file
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
Send your bug reports, questions and discussions or open a ticket on https://gitlab.com/denix190/apirquest/-/issues