Feature request: Return parameterized http error

20 views
Skip to first unread message

Handerson Gomes

unread,
Jul 18, 2012, 12:15:01 PM7/18/12
to reque...@googlegroups.com
Hey Jeff, RequestBin is quite nice and it helped me test a few things not easily possible before.

I understand the scope of RequestBin is to inspect requests, but today I wished that it would also return some HTTP status code based on parameters.

For example:
http://requestb.in/oh0b?reqBinReturnStatusCode=500 
would return a 500 error.

I would use this to test how a HTTP Client handles HTTP errors.

Another parameter I could use is setting a response time to something like 3 secs, so I can also test the request timeout. 

Unfortunately I don't know Python otherwise I would fork and implement it myself.

Either way, thanks for providing such a nice service.

Cheers,
Handerson

Jeff Lindsay

unread,
Jul 18, 2012, 2:31:25 PM7/18/12
to reque...@googlegroups.com
Perhaps you can use this instead: http://httpbin.org/
--
Jeff Lindsay
http://progrium.com

Handerson Gomes

unread,
Jul 18, 2012, 4:08:14 PM7/18/12
to reque...@googlegroups.com
Just Perfect!

I new this was out there somewhere.

Thanks a lot!
Handerson
Reply all
Reply to author
Forward
0 new messages