regurgitator is a lightweight, modular, extendable java framework that you configure to ‘regurgitate’ canned or clever responses to incoming requests; useful for quickly mocking or prototyping services without writing any code. simply configure, deploy and run.
start your reading here: regurgitator-all
regurgitator-extensions
provides additional steps
and contructs
to those already found in regurgitator-core
, adding capabilities for handling json
, xml
and templating (with freemarker
).
regurgitator-extensions provides the following steps:
json-parameter
(xml, json, yml) create a parameter, extracting its value using json-path
xml-parameter
(xml, json, yml) create a parameter, extracting its value using xpath
regurgitator-extensions provides the following constructs:
json-path-processor
(xml, json, yml) process a parameter value, extracting from it using json-path
xpath-processor
(xml, json, yml) process a parameter value, extracting from it using xpath
freemarker-processor
(xml, json, yml) process a parameter value, formatting the value using a freemarker
templatejson-schema-validator
(xml, json, yml) process a parameter value, validating it against a json
schemaxml-schema-validator
(xml, json, yml) process a parameter value, validating it against an xml
schemacontains-json-path
(xml, json, yml) checks a parameter’s value contains a sub-value, specified by json-path
expressioncontains-xpath
(xml, json, yml) checks a parameter’s value contains a sub-value, specified by xpath
expressionmeets-json-schema
(xml, json, yml) checks a parameter’s value meets the requirements to pass validation against a json
schemameets-xml-schema
(xml, json, yml) checks a parameter’s value meets the requirements to pass validation against an xml
schema