Practical Guide: Building a Mock Server with Python and Flask

Mocking involves simulating API endpoints. In API testing, mocking is used when certain interfaces are difficult or impossible to construct or retrieve. A mock endpoint can be used to replace these real ones. 2. Typical Use Cases for Mocking When dependent APIs are not yet imlpemented When dependent APIs respond slowly Simulating various error ...

Posted on Thu, 08 Oct 2026 16:35:16 +0000 by brokeDUstudent

Effective Strategies for Implementing API Automation Testing

Understanding API Testing API testing validates interactions between system components through defined interfaces, focusing on data exchange, process control, and logical dependencies. Common protocols enclude HTTP, WebService, Dubbo, Thrift, and Socket. Testing categories encompass functional, performance, stability, and security validation. W ...

Posted on Tue, 06 Oct 2026 16:15:11 +0000 by hongco

Extracting Values from JSON Responses in JMeter Using JSON Path

Overview Apache JMeter enables the extraction of specific values from JSON responses for use in subsequent requests. This capability relies on JSON Path expressions to navigate and retrieve data from structured JSON content. Setting Up Common Request Parameters When working with multiple HTTP samplers, common configuration values like server IP ...

Posted on Thu, 01 Oct 2026 16:33:59 +0000 by csueiras

Two Free, Open-Source API Debugging Tools: Hoppscotch and HTTPie

Hoppscotch is a browser-based API debugging and testing tool with near-full Postman feature parity. Key capabilities include request creation, persistence, real-time API docs generation, team collaboration, proxy configuration, WebSocket/SSE support, GraphQL querying, and MQTT cleint connectivity. It eliminates Postman’s common pain points such ...

Posted on Sun, 13 Sep 2026 16:44:40 +0000 by CoolAsCarlito

Building API Automation Test Framework with Python Requests

This framework implements automated interface testing using Python's unittest module combined with the requests library for HTTP operations. Project Structure aototest/ ├── Common/ # Utility classes: database helpers, file operations ├── Config/ # Configuration: environment URLs, credentials, DB connections ├── Data/ ...

Posted on Sun, 19 Jul 2026 16:59:10 +0000 by businessman332211

Mastering JSON Data Extraction in JMeter Tests

The JMeter JSON Extractor is a robust post-processor designed for retrieving specific data points from JSON-formatted responses using JSONPath expressions. Similar to other extractors like the Regular Expression Extractor, it must be added as a child element to an HTTP Sampler or any other sampler that returns JSON data. JSON Extractor Configur ...

Posted on Sun, 07 Jun 2026 17:34:41 +0000 by n00byboy

Building an API Automation Framework with Excel and Requests

Framework Overview Managing API test cases across multiple endpoints often leads to scattered Python files that become difficult to maintain. When an API changes, developers must locate and update corresponding test files individually. This framework addresses the problem by centralizing test data in Excel files, allowing test case updates with ...

Posted on Tue, 19 May 2026 11:53:19 +0000 by phphelpme

Interacting with HTTP APIs Using Python Requests

InstallationInstall the package using pip:pip install requestsCore HTTP MethodsMethodDescriptiondelete(url, args)Sends a DELETE requestget(url, params, args)Sends a GET requesthead(url, args)Sends a HEAD requestpatch(url, data, args)Sends a PATCH requestpost(url, data, , args)Sends a POST requestput(url, data, args)Sends a PUT requestrequest(me ...

Posted on Sun, 10 May 2026 20:27:58 +0000 by JayFM