Skip to content

da2gl/proto-mock-server

 
 

Repository files navigation

Simple protobuf mock server

1.Save "real" response body from Charles to file

Save real response from Charles to file

2.Turn on Map Remote tool in Charles

Add Map Remote Settings

3.Start local server

java -jar mock.jar -p <port> (optional, default 8080) -m <Protobuf message full type name> -f <file> -d <Descriptor file 1> .. <Descriptor file N>

Example:

java -jar ./out/artifacts/mock_jar/mock.jar -m bidmachine.protobuf.openrtb.Openrtb -f bidmachine.protobuf.openrtb.Openrtb.json -d bidmachine.desc google.desc

About

Simple protobuf mock server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%