Contact Free trial Login

API Functional Monitoring with the Blackbox Automated Testing (BAT) CLI

You can use API functional monitoring to run a test or suite of tests on an API. API functional monitoring is based on Blackbox Automated Testing (BAT).

Using API functional monitoring, you can automate testing and get test reports. You can test before pushing code into your repository and before deploying to production. Tests can verify API functionality and validate results the API generates. You can monitor APIs at each stage of the software development life cycle and in production.

The prerequisites for performing API functional testing and scheduling are:

  • Deployed API

    You can deploy an API on Anypoint Platform or your own server.

  • Installation of BAT.

  • A YAML configuration file (manifest file).

  • At least one test file.

    • You write files in Behavior Driven Development (BDD) syntax using a code or text editor, such as IntelliJ.

    • You save the files using the .dwl extension for processing by DataWeave.

Additional prerequisites for monitoring scheduled tests in the cloud are:

  • An account on Anypoint Platform.

  • A reporting tool supported by BAT.

BAT Playground

The BAT playground is a web application you can use to familiarize yourself with Behavior Driven Development (BDD) syntax. In the playground, you can run playground-provided tests or your own.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.