Mock resty http on spec test

Hi im writing a test for plugins
Some of the plugins may call another service with resty http client

local http = require("resty.http")

how do i mock the response for that? thanks!


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ