Tagged articles
24 articles
Page 1 of 1
Test Development Learning Exchange
Test Development Learning Exchange
Jul 18, 2025 · Backend Development

Build a Flask Mock Payment Callback Service with Signature Verification

Learn how to create a local Flask-based mock payment callback server that validates signatures, returns standardized responses for platforms like WeChat and Alipay, includes a recommended project structure, detailed code examples, testing with pytest, and tips for extending functionality and exposing it via ngrok.

FlaskMock ServerPayment Callback
0 likes · 7 min read
Build a Flask Mock Payment Callback Service with Signature Verification
Snowball Engineer Team
Snowball Engineer Team
Sep 29, 2024 · Mobile Development

Building a Mobile Automated Testing Platform with Airtest and Poco

This article describes how a team built a custom automated testing platform for React Native mobile apps using Airtest and Poco, covering tool selection, script examples, platform architecture with React frontend and Python backend, and solutions for parallel execution and mock services.

AirtestFlaskMock Server
0 likes · 13 min read
Building a Mobile Automated Testing Platform with Airtest and Poco
Test Development Learning Exchange
Test Development Learning Exchange
Aug 21, 2024 · Backend Development

pytest-httpserver Tutorial: Installation and 10 Practical Testing Examples

This article introduces the pytest-httpserver plugin for launching a simple HTTP server during tests, provides installation instructions, and walks through ten practical examples covering GET, POST, headers, query parameters, request counting, error codes, redirects, file uploads, timeouts, and client certificate verification.

HTTP testingMock ServerPython
0 likes · 8 min read
pytest-httpserver Tutorial: Installation and 10 Practical Testing Examples
Test Development Learning Exchange
Test Development Learning Exchange
Apr 20, 2024 · Backend Development

Introduction to HTTPretty: Mocking HTTP Requests in Python

HTTPretty is a Python library for testing that enables lightweight, precise mocking of HTTP/HTTPS requests and responses, offering isolation, speed, complex scenario simulation, and data protection, illustrated with five practical code examples covering token retrieval, webhook handling, error simulation, timeout testing, and pagination.

APIHTTPrettyMock Server
0 likes · 8 min read
Introduction to HTTPretty: Mocking HTTP Requests in Python
Tencent Cloud Developer
Tencent Cloud Developer
Jan 19, 2022 · Cloud Computing

Quickly Building a Mock Server with Serverless Cloud Functions (SCF)

This guide shows how to quickly create a low‑cost, serverless mock server using Tencent Cloud's Serverless Cloud Function (SCF) by packaging the Moco JAR, a JSON response file, and a bootstrap script into a ZIP, deploying it as a Java 8 web function, and optionally using a one‑click template for instant setup and automatic scaling.

Cloud FunctionsDevOpsJava
0 likes · 6 min read
Quickly Building a Mock Server with Serverless Cloud Functions (SCF)
Top Architect
Top Architect
Oct 17, 2020 · Backend Development

Guide to Using lowcode-mock for Quick API Mocking with Koa

This article introduces lowcode-mock, a lightweight tool that forwards requests to backend without needing mock definitions or regex matching, explains installation via Yarn, demonstrates creating mock routes with Koa, generating mocks from YAPI or JSON, adding delay, handling HTTP error codes, and configuring proxy forwarding.

API mockingBackend DevelopmentKoa
0 likes · 7 min read
Guide to Using lowcode-mock for Quick API Mocking with Koa
Programmer DD
Programmer DD
Sep 23, 2020 · Backend Development

Quickly Set Up a No‑Mock, Regex‑Free API Proxy with Lowcode‑Mock

This guide shows how to install and run lowcode‑mock, create mock APIs with Koa, generate mock data from YAPI or JSON using the yapi‑code plugin, configure custom mock rules, simulate delays, handle HTTP error codes, and proxy requests to real back‑ends, all without needing regex‑based mocking.

API mockingKoaMock Server
0 likes · 6 min read
Quickly Set Up a No‑Mock, Regex‑Free API Proxy with Lowcode‑Mock
Java Backend Technology
Java Backend Technology
Sep 19, 2020 · Backend Development

Quickly Set Up a Zero‑Config Mock Server with lowcode-mock

This guide introduces lowcode-mock, a zero‑configuration mock server that forwards regex‑matched requests to backend endpoints, covering installation, startup, route creation, generating mocks from YAPI or JSON, adding delays, handling HTTP errors, and proxying requests, all with code examples.

API testingKoaMock Server
0 likes · 7 min read
Quickly Set Up a Zero‑Config Mock Server with lowcode-mock
FunTester
FunTester
Sep 2, 2019 · Backend Development

Build a Static Blog with Moco API in Just 5 Lines of Groovy

This tutorial shows how to use the Moco API framework with a concise Groovy script—just five lines of code—to set up a mock server that serves a static blog, covering server configuration, URL redirection, mounting of static resources, and a simple wait loop for termination.

Backend DevelopmentGroovyMoCo
0 likes · 3 min read
Build a Static Blog with Moco API in Just 5 Lines of Groovy
FunTester
FunTester
Aug 11, 2019 · Backend Development

Add Randomized Responses to Moco API Mock Server

This guide shows how to extend Moco with a custom RandomHandler that selects one of several predefined responses at runtime, providing full Java code, helper methods, and a usage example for building more realistic mock APIs.

APIJavaMoCo
0 likes · 5 min read
Add Randomized Responses to Moco API Mock Server
Ziru Technology
Ziru Technology
Aug 7, 2019 · Backend Development

Why MockServer Beats Other Mock Tools for Stable Backend Testing

To ensure stable and efficient single‑interface testing on our platform, we evaluated several mock frameworks—including RAP2, AnyProxy, Mock‑Server, and WireMock—and ultimately selected MockServer for its automatic protocol detection, simple configuration, extensive documentation, and built‑in fallback to real responses.

Backend testingMock ServerSoftware Testing
0 likes · 4 min read
Why MockServer Beats Other Mock Tools for Stable Backend Testing
Java Captain
Java Captain
Dec 9, 2018 · Backend Development

Using raml-mocker to Create Mock Servers for Front‑Back End Integration

The article discusses the pain points of front‑back end separation such as frequent API changes, outdated documentation, and late testing, and presents a solution based on contract‑driven development with raml-mocker, a Node.js tool that generates mock servers and API documentation to improve collaboration and testing efficiency.

API ContractBackend DevelopmentMock Server
0 likes · 6 min read
Using raml-mocker to Create Mock Servers for Front‑Back End Integration
Programmer DD
Programmer DD
Nov 22, 2018 · Backend Development

Why Does Front‑End/Back‑End Separation Increase Pain? Solutions with Raml‑Mocker

Front‑end developers often suffer from constantly changing back‑end APIs, outdated documentation, and testing that only starts near release, but by treating API specifications as contracts, using tools like Raml‑Mocker to generate mock servers and automate testing, teams can reduce rework, raise interface design quality, and streamline delivery.

APIMock Serverfrontend
0 likes · 10 min read
Why Does Front‑End/Back‑End Separation Increase Pain? Solutions with Raml‑Mocker
转转QA
转转QA
Nov 7, 2018 · Backend Development

Evolution of an API Interface Management and Mock Platform at Zhuanzhuan

The article chronicles the multi‑phase development of Zhuanzhuan's API documentation and mock platform, detailing how it grew from a simple wiki‑based list to an automated, IP‑aware mock system integrated with the Beetle CI pipeline to ensure interface consistency and reduce manual effort.

API ManagementDevOpsInterface Documentation
0 likes · 8 min read
Evolution of an API Interface Management and Mock Platform at Zhuanzhuan
JD Retail Technology
JD Retail Technology
Feb 5, 2018 · Backend Development

Design and Implementation of Footprint Platform, Mock Server Platform, and Pre‑release Gray Release Solution for Virtual Products

This article presents the challenges of virtual product development and describes three engineering solutions—a Footprint tracking system, a Mock Server platform, and a pre‑release gray‑release strategy—detailing their backgrounds, architectures, implementations, and operational benefits for improving debugging, testing, and deployment efficiency.

BackendMessage QueueMock Server
0 likes · 8 min read
Design and Implementation of Footprint Platform, Mock Server Platform, and Pre‑release Gray Release Solution for Virtual Products
Meituan Technology Team
Meituan Technology Team
Nov 25, 2016 · Mobile Development

UI Automation Testing for Mobile Apps: Tools, Challenges, and Implementation

The article explains why UI automation is essential for mobile apps, compares tools such as UIAutomator, Robotium and Appium (chosen for its cross‑platform support), addresses challenges like backend instability by using Appmock‑based mock servers, adopts the Page Object pattern, and shows how the suite cut testing time from half a day to twenty minutes, delivering lasting efficiency gains.

AppiumMock ServerPage Object
0 likes · 11 min read
UI Automation Testing for Mobile Apps: Tools, Challenges, and Implementation
Tencent TDS Service
Tencent TDS Service
Jun 2, 2016 · Mobile Development

Master Retrofit: From Basics to Advanced Customizations in Android

This comprehensive guide walks Android developers through Retrofit’s fundamentals, usage patterns, URL configuration, parameter handling, custom converters, call adapters, and advanced techniques like file uploads, mock servers, and RxJava integration, providing code examples and deep insights to master network requests efficiently.

AndroidCustom ConverterMock Server
0 likes · 22 min read
Master Retrofit: From Basics to Advanced Customizations in Android