Tagged articles
1 articles
Page 1 of 1
FunTester
FunTester
Jul 17, 2019 · Backend Development

Fixing Moco API POST JSON Parameter Extraction with a Custom JsonExtractor

When using Moco API for interface virtualization, the default extractor cannot handle POST requests with JSON bodies, so a custom JsonExtractor is created to read the request content, parse the JSON, and return the desired parameter value.

API mockingGroovyHttpRequestExtractor
0 likes · 4 min read
Fixing Moco API POST JSON Parameter Extraction with a Custom JsonExtractor