Related Documentation
Made by
Kong Inc.
Supported Gateway Topologies
hybrid db-less traditional
Supported Konnect Deployments
hybrid cloud-gateways serverless
Compatible Protocols
grpc grpcs http https

3.10.0.0

Release date 2025/03/27

Bugfix

  • Fixed an issue where random delays were out of range.

3.7.0.0

Release date 2024/05/28

Feature

  • Add the custom_base_path field to specifiy a custom base path. It will be used with the deck file namespace feature

3.6.0.0

Release date 2024/02/12

Bugfix

  • Fix an issue where valid recursive schemas are always rejected.

  • Fix an issue where the plugin failed to return the mock response when resposnes contains default or wildcard codes like 2XX.

3.5.0.2

Release date 2023/12/21

Bugfix

  • Fix an issue where valid recursive schemas are always rejected.

3.5.0.0

Release date 2023/11/08

Feature

  • Introduces a new property include_base_path to indicate whether to include the base path when performing the path match evaluation.

Bugfix

  • Fix the issue that path parameter cannot match non-ascii characters.

3.4.3.1

Release date 2023/12/15

Bugfix

  • Fix the issue that path parameter cannot match non-ascii characters.

3.4.0.0

Release date 2023/08/09

Bugfix

  • Fixed an issue where the plugin threw an error when the arbitrary elements were defined in the path node.

3.2.1.0

Release date 2023/02/28

Bugfix

  • Fixed UUID pattern matching.

3.1.0.0

Release date 2022/12/06

Feature

  • Added the included_status_codes and random_status_code fields. These allow you to configure the HTTP status codes for the plugin.

  • The plugin now lets you auto-generate a random response based on the schema definition without defining examples.

  • You can now control behavior or obtain a specific response by sending behavioral headers: X-Kong-Mocking-Delay, X-Kong-Mocking-Example-Id, and X-Kong-Mocking-Status-Code.

  • This plugin now supports:

    • MIME types priority match
    • All HTTP codes
    • $ref
  • MIME types priority match

  • All HTTP codes

  • $ref

Bugfix

  • Fixed an issue with accept headers not being split and not working with wildcards. The ;q= (q-factor weighting) of accept headers is now supported.

3.0.0.0

Release date 2022/09/09

Bugfix

  • Fixed an issue where 204 responses were not handled correctly and you would see the following error:"No examples exist in API specification for this resource".

  • 204 response specs now support empty content elements.

2.8.2.3

Release date 2023/01/06

Bugfix

  • Fixed UUID pattern matching.

2.8.1.3

Release date 2022/08/05

Bugfix

  • Fixed an issue where the plugin didn’t accept empty values in examples.

2.8.1.2

Release date 2022/07/15

Bugfix

  • Fixed an issue where 204 responses were not handled correctly and you would see the following error:"No examples exist in API specification for this resource".

  • 204 response specs now support empty content elements.

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!