Kong Service Virtualization

Third Party

Mock request and response pairs

Use the Kong Service Virtualization plugin to mock two request-response pairs.
Trigger each mock by including the test name in the X-VirtualRequest header, for example:

X-VirtualRequest: TestCase1 or X-VirtualRequest: TestCase2.

Prerequisites

  • The Kong Service Virtualization plugin is installed.

Set up the plugin

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!