Tag

api-testing

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Mar 20, 2025 · Backend Development

Python Requests Tutorial for API Chained Calls and Automated Testing

This article demonstrates how to use Python's requests library to perform chained API calls—login, create user, retrieve user details, and update user information—while handling exceptions, logging, and environment configuration for robust automated testing.

BackendRequestsTesting
0 likes · 7 min read
Python Requests Tutorial for API Chained Calls and Automated Testing
Test Development Learning Exchange
Test Development Learning Exchange
Aug 28, 2024 · Fundamentals

Python Decorators for API Testing: Retry, Timeout, Logging, Caching, Validation, and More

This article introduces Python decorators—such as retry, timeout, logging, caching, response validation, parameterization, exception handling, performance monitoring, permission checking, and composite usage—and provides complete code examples showing how they simplify and strengthen automated API testing.

PythonTimeoutapi-testing
0 likes · 10 min read
Python Decorators for API Testing: Retry, Timeout, Logging, Caching, Validation, and More
Test Development Learning Exchange
Test Development Learning Exchange
Jun 3, 2024 · Backend Development

Efficient API Automation Testing Practices with Python

This article presents ten practical strategies for improving efficiency, maintainability, and reusability in Python API automation testing, covering session reuse, parameterization, mocking, exception handling, fixtures, concurrency, data‑driven tests, response validation, conditional execution, and scheduled test runs.

PythonRequestsapi-testing
0 likes · 8 min read
Efficient API Automation Testing Practices with Python
Test Development Learning Exchange
Test Development Learning Exchange
Jun 1, 2024 · Backend Development

Using Python Generator Functions for Efficient API Automation Testing

This article demonstrates how Python generator functions can be applied in API automation testing to process large data streams, batch requests, infinite sequences, file handling, dynamic test data generation, recursive file traversal, lazy calculations, data filtering, response processing, retry logic, and test report creation, thereby improving memory efficiency and test flexibility.

GeneratorMemory ManagementPython
0 likes · 6 min read
Using Python Generator Functions for Efficient API Automation Testing
Test Development Learning Exchange
Test Development Learning Exchange
Jun 1, 2024 · Fundamentals

Using pytest fixtures for API automation testing in Python

This article demonstrates how to leverage pytest fixtures to manage resources such as authentication tokens, database connections, temporary directories, API clients, environment variables, services, configuration files, caches, user roles, and HTTP headers, providing reusable and maintainable test code examples.

Pythonapi-testingautomation
0 likes · 6 min read
Using pytest fixtures for API automation testing in Python