Test Development Learning Exchange
Test Development Learning Exchange
Apr 16, 2026 · Backend Development

Simplify API Testing with a Python @extract_value Decorator

Learn how to create and use a Python @extract_value decorator that automatically pulls specific fields from API responses, stores them in a global context, and lets subsequent test steps access these values without manual extraction, complete with step-by-step code examples and common pitfalls.

API testingAutomationCode Example
0 likes · 8 min read
Simplify API Testing with a Python @extract_value Decorator
FunTester
FunTester
Apr 8, 2023 · Backend Development

Master JSON Extraction in Python with JsonPath: A Practical Guide

This tutorial shows how to install the JsonPath library, retrieve JSON data from an API, and use both traditional indexing and powerful JsonPath expressions—including filters, wildcards, and slicing—to efficiently extract nested values for automated testing.

API testingAutomationJSON extraction
0 likes · 7 min read
Master JSON Extraction in Python with JsonPath: A Practical Guide
FunTester
FunTester
Aug 11, 2019 · Backend Development

How to Fix JSON Parameter Extraction in Moco API Mocking for POST Requests

This article explains why the default Moco example fails to extract JSON parameters from POST requests, walks through the source inspection that reveals the limitation, and provides a custom JsonExtractor implementation with Groovy helper methods to correctly match JSON payloads.

API mockingBackend testingGroovy
0 likes · 4 min read
How to Fix JSON Parameter Extraction in Moco API Mocking for POST Requests