Thinking of a workflow for testing REST API clients where you snapshot responses to requests made in tests and use the snapshot for a mocked response later.
Is there anything out there to help with that in @rustlang ?
Some kind of insta+mockito mashup?
-
-
I may attempt some sort of Rube Goldberg version involving mitmproxy and some macros to build mocks from the logging done there. Might get me going.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@algo_luca have you considered supporting Java WireMock's JSON stub format so that recordings could be imported? Would also enable stubs generated from Spring Cloud Contract, Pact, and Swagger (via http://mocklab.io ) to be used. -
I should look at the json stub format! I bet I can match it (mostly) with mitmproxy. Would be a nice way to sort of bootstrap some of the dev effort in a forward-looking way.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Writing about stuff to learn how it works, mostly in Rust.
Lead Engineer at
Are you looking for something similar to the "playback" functionality in the original Java WireMock?