friendsofgo / killgrave

Simple way to generate mock servers written in Go

Home Page:https://friendsofgo.github.io/killgrave/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Record proxy server feature

joanlopez opened this issue · comments

(Straightly related with #33)

Context

A really very-well feature for Killgrave would be to be able to create "responses" (configuration) itself on-the-fly.

The idea is to let the user to configure only the imposter's request and then let Killgrave do the magic: fill the response section (within imposter) by going to the "real" implementation and getting the response.

Proposed implementation

That feature could be implemented on a two-steps development:

  • Firstly, developing a module responsible of that magic (able to create configuration from an HTTP response).
  • Secondly, allowing a new choice (record) for the proxy_server's mode configuration that would allow the user to enable that recording (just for the missing endpoints).

Hi,
this sounds like a good issue for some first steps in killgrave.
If you don't mind, I would like to tackle this one.

BR,
donbachi

Hi @donbachi,

I assigned you, so it's time to 🚀
Please, feel free to ping us if you have any doubt or need.

Thanks!!!