Member-only story
Running API Tests Automatically with Bitbucket Pipelines
Hey Folks, Testing is a critical part of continuous integration and continuous delivery. And if you’re practicing continuous deployment it will be the last line of defense against bugs before changes get released to your customers. Setting up your test in CI/CD pipelines and running them automatically whenever there is new release will save your time to test manually or running your automated test manually. There are many CI/CD tools present in the market but today we will learn about Bitbucket Pipelines and how to setup them to run your API tests automatically.
Bitbucket Pipelines:
According to Atlassian, Bitbucket Pipelines is an integrated CI/CD service built into Bitbucket. It allows you to automatically build, test, and even deploy your code based on a configuration file in your repository. Essentially, we create containers in the cloud for you. Inside these containers, you can run commands (like you might on a local machine) but with all the advantages of a fresh system, customized and configured for your needs.
API Automation Test Suite using Python
In this tutorial we are going to run API test developed in Python using requests module. You can have look to our tests on GitHub by clicking on…