Visão Geral
O Curso API Testing with Python and Postman/Requests oferece uma abordagem completa para o teste automatizado e manual de APIs RESTful utilizando as ferramentas Postman e o módulo Requests do Python. O participante aprenderá a validar endpoints, estruturar coleções de testes, automatizar requisições e integrar testes de API em pipelines de CI/CD, garantindo desempenho, segurança e confiabilidade das aplicações modernas.
Objetivo
Após realizar este curso API Testing with Python and Postman/Requests, você será capaz de:
- Compreender os fundamentos do teste de APIs RESTful
- Executar testes manuais e automatizados de APIs com Postman e Python
- Validar respostas, status codes e payloads
- Automatizar testes usando o módulo Requests e frameworks complementares
- Integrar testes de API em pipelines de integração contínua
Publico Alvo
- Desenvolvedores, engenheiros de software, analistas de QA, testadores e profissionais DevOps que desejam aprender a testar e automatizar APIs de forma eficiente e escalável.
Pre-Requisitos
- Conhecimentos básicos de Python
- Noções de APIs REST e protocolos HTTP
- Familiaridade com ferramentas de desenvolvimento e testes
Materiais
Inglês/Português + Exercícios + Lab Pratico
Conteúdo Programatico
-
Introduction to API Testing
- What is an API and why testing is important
- Understanding REST architecture and HTTP methods
- Overview of API testing lifecycle
Postman Fundamentals
- Setting up and exploring Postman interface
- Creating requests, collections, and environments
- Writing and running basic tests in Postman
Advanced Postman Testing
- Using variables and scripts (Pre-request & Test scripts)
- Data-driven testing with Postman
- Generating and sharing Postman collections
Getting Started with Python and Requests
- Installing and configuring Python and Requests module
- Sending GET, POST, PUT, DELETE requests
- Handling headers, parameters, and authentication
Validating API Responses with Python
- Parsing JSON and XML responses
- Assertions and validation logic
- Handling errors and timeouts
Automating API Tests with Pytest and Requests
- Structuring test cases and suites
- Using fixtures and parametrization
- Running automated test pipelines
Working with Authentication and Authorization
- Testing APIs with Basic Auth, Bearer Tokens, and OAuth 2.0
- Secure handling of credentials and tokens
API Performance and Load Testing Overview
- Measuring response times
- Introduction to load testing with Postman and third-party tools
Continuous Integration and Reporting
- Integrating API tests in CI/CD (Jenkins, GitLab, GitHub Actions)
- Generating reports and tracking results
Best Practices and Troubleshooting
- Writing maintainable API tests
- Common pitfalls in API testing
- Versioning and environment management
TENHO INTERESSE