HTTPretty
HTTPretty copied to clipboard
Create an Enforced mode where everything must be mocked.
Whilst this shouldn't apply all the time if i'm mocking my HTTP traffic then chances are I want all my HTTP traffic mocked.
There should be a way to tell HTTPretty that if you receive a call that is not mocked throw an error rather than pass it on to the real source.
:+1: or a way to record all outgoing traffic?
That would be great!
I have a branch I'm using locally; Ill spend some time getting it right and outputting to a specified logger perhaps?
That would be nice for seeing what packages are calling out to other services too.
Exactly the thought behind it..
my use case was that I had a whole number of service calling out to linkedin, google, facebook, usps and a few others and needed to see who they were and what they were sending.
On Fri, Jan 10, 2014 at 3:15 PM, Kyle Kelley [email protected]:
That would be nice for seeing what packages are calling out to other services too.
— Reply to this email directly or view it on GitHubhttps://github.com/gabrielfalcao/HTTPretty/issues/78#issuecomment-32030134 .
Yeah, that beats pulling up wireshark.