Run all commads from the root repo folder using PowerShell
.\stub\build.ps1
docker-compose -f .\stub\exampleUsage\docker-compose.yaml up
navigate to: http://localhost:45899/hello
- Develop HTTP stubs in
wiremocksStubs
folder following Wiremock's Stubbing JSON API - Build
- Run the dev container
.\stub\dev\up.ps1
- Change stubs
- To reflect the changes on Wiremock's server you need to reset the mappings
.\stub\dev\resetMappings.ps1
- Start recording by configuring the proxy URI
.\stub\dev\record.ps1 -proxyUri "http://hub.docker.com"
- Send requests to the service using WireShark proxy
Invoke-WebRequest "http://localhost:48080/repository/docker/vtrifonovdocker/http-web-api-container"
- Results are recorded in folder
.\stub\wiremockStubs