testmace-cli
console utility for running tests right from a TestMace project for you to improve automated processes, including API testing. Its possible use cases are:-e <project_environment_name>
and --environment <project_environment_name>
- allow to specify what environment variables to use while running tests. The name should correspond to one of the project's environments.-r <reporter_type>
and --reporter <reporter_type>
- allow to specify what kind of test reports you want to see. You can use junit
reporter_type
, which generates the result in the JUnit XML format.-p <project_id>
or --project <project_id>
- a cloud project identifier . You can find it on the particular project cloud sync control panel.-t <access_token>
or --token <access_token>
- an authorization token that you need to use the cloud sync feature. You can manage authorisation tokens in the user's profile on the cloud sync control panel.--reporter=junit
key, the report will be generated in the JUnit XML format. It gives you a more detailed report of successful and failed requests and tests. Reports of this kind can be visualized by special programs (e. g. XUnit Viewer) and CI/CD systems (e.g. Jenkins).Link
node you should specify the relative path to the link node. properties here are the keys and values of this node's variables. Every test and HTTP-request is represented asTestCase in reports.