internap / python-mockserver-friendly-client

Friendly python client to James D. Bloom's awesome MockServer
Apache License 2.0
14 stars 12 forks source link

Get copy of request that mock server received #16

Open andrew-boutin opened 6 years ago

andrew-boutin commented 6 years ago

Requesting the ability to get a copy of the request that was sent to the mock server. This would be useful for extra validation in tests. Example: verifying something that is randomized fits a certain format.

andrew-boutin commented 6 years ago

Related to http://www.mock-server.com/mock_server/mockserver_clients.html#rest-api curl -v -X PUT "http://localhost:1080/retrieve?type=REQUESTS" -d '{ "path": "/some/path", "method": "POST" }'

m-aciek commented 4 years ago

It looks like it's implemented in #26.