API tests & Python for beginners

Hi all!

I am supposed to be maintaining and creating API tests in Python for our platform. I know about Postman and Swagger, and I’ve done a basic Python tutorial (some time ago).

I suppose I am looking for tutorials for beginners which apply directly to my situation rather than relating to any particular framework or tool. I can’t seem to find anything quite right, and would appreciate any suggestions! :slightly_smiling_face:

1 Like

You can have a look at PyTest. Here’s a short article about it: https://www.ontestautomation.com/writing-tests-for-restful-apis-in-python-using-requests-part-1-basic-tests/ Just a basic example without doing a full deepdive. Could check it out and see if it fits your needs?

If you are looking for Tutorials:
There is also a MoT course of it: https://www.ministryoftesting.com/dojo/courses/introduction-to-python-for-software-testers-dave-westerveld

Here’s also a playlist of testing RESTful api’s in Python: https://www.youtube.com/watch?v=3ts5fzmhN5o&list=PLIMhDiITmNrILoYaVsrxwteH6LqMr07uX

Also many online learning platforms like Udemy also offer Python for tester courses.

2 Likes

Thank you, these look really useful!