This is a tool which generates code to test the code generated by Autorest for microservices. It has a proxy which can be accessed at http://localhost:9000/ which records all the request made to the microservice.
The proxy can be accessed using docker as shown below :
$ docker -e base=http://uri:port/to/service/to/test -p 9000:9000 your-docker-image
this will run your docker container and your proxy will be available at port localhost 9000 of the container, and it should forward to http://uri:port/to/service/to/test
The proxy can also be launched without using docker , by making the following changes in program.cs :
Change : string[] arr2 = {"http://localhost:9000/", Environment.GetEnvironmentVariable("base")};
to
string[] arr2 = {"http://localhost:9000/", "http://uri:port/to/service/to/test"};
In both the cases, the generated code can be accessed using :
$ curl http://localhost:5000/generate/csharp > MyTests.cs
Example generated code and the swagger file corresponding to it has been put up in the same repository.