Check will run all the transactions defined in
apid.yaml in the current directory. It can optionally take a path
-c|--config flag. If the path is a directory all yaml files in the directory will be loaded.
To get familiar with the syntax of a config file, see Reference
check takes all the transactions that you have specified in the yaml. The steps in each transaction are executed
sequentially. If a step fails, then the whole transaction is aborted and the rest of the steps are ignored.
If a transaction fails, this will be reported in the console and the next transaction will be started.
apid check apid check --config ./tests/e2e/apid.yaml
The output should look something like:
simple-transaction: OK health-endpoint-test-get OK echo-endpoint-test-post successful transactions: 1/1 failed transactions: 0/1
You can head over to our FAQ page