Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an Enforced mode where everything must be mocked. #78

Open
jamielennox opened this issue Jun 21, 2013 · 6 comments
Open

Create an Enforced mode where everything must be mocked. #78

jamielennox opened this issue Jun 21, 2013 · 6 comments

Comments

@jamielennox
Copy link

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.

@rosscdh
Copy link

rosscdh commented Oct 24, 2013

👍 or a way to record all outgoing traffic?

@deni64k
Copy link

deni64k commented Jan 10, 2014

That would be great!

@rosscdh
Copy link

rosscdh commented Jan 10, 2014

I have a branch I'm using locally; Ill spend some time getting it right and outputting to a specified logger perhaps?

@rgbkrk
Copy link
Contributor

rgbkrk commented Jan 10, 2014

That would be nice for seeing what packages are calling out to other services too.

@rosscdh
Copy link

rosscdh commented Jan 10, 2014

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 notifications@github.comwrote:

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//issues/78#issuecomment-32030134
.

@rgbkrk
Copy link
Contributor

rgbkrk commented Jan 10, 2014

Yeah, that beats pulling up wireshark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants