Python API Testing and Automation

Trainer: Bas Dijkstra

 
 

API Testing and Automation in Python Training

In a world where software systems are rapidly becoming ever more distributed, knowing how to test and write automation for APIs is quickly becoming an indispensable skill for any modern software tester.


There are a lot of tools and libraries out there that can help you write and run tests for APIs, in various programming languages. Using the pytest unit testing framework and the requests HTTP library in Python is among the most tried and tested approaches for creating versatile and powerful API tests.


But how do you get started writing these tests? What do you need to know?


In this free 4-hour instructor-led workshop, Bas Dijkstra, Director of Academy at Inspired Testing and experienced software testing and automation consultant, will show you how to get started writing API tests in Python using pytest and requests.


And since this is a workshop, there will be plenty of hands-on exercises for you to learn this invaluable skill in the only way that really works: by getting your hands dirty and trying it out yourself!


 

Hi, I'm Candice,
How can I help?

Agenda

  • Setting up your development project
  • Writing and running your first API tests in Python
  • Asserting on status codes, response headers and response body elements
  • Creating data-driven tests
  • Working with JSON and XML request and response payloads
  • Running our tests as part of a CI/CD pipeline

 

What to bring?