Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
webmock-users
Conversations
About
webmock-users
Contact owners and managers
1–30 of 41
Mark all as read
Report group
0 selected
Adrian Booth
6/16/19
Proposal: Show request body diff to narrow test output
TLDR: Test output is often times very difficult to decipher as there can be too much noise. I'm
unread,
Proposal: Show request body diff to narrow test output
TLDR: Test output is often times very difficult to decipher as there can be too much noise. I'm
6/16/19
mohamed m
,
Bartosz Blimke
2
3/5/19
add remove callback to callback_registry
Hi Mohamed, I guess there was no need for it in the past. CallbackRegistry is not really part of
unread,
add remove callback to callback_registry
Hi Mohamed, I guess there was no need for it in the past. CallbackRegistry is not really part of
3/5/19
Dimitri Pekarovsky
,
Bartosz Blimke
2
7/23/18
testing tests and debugging debug
While it's not a clean solution, you can do the following to print the registered stubs: WebMock:
unread,
testing tests and debugging debug
While it's not a clean solution, you can do the following to print the registered stubs: WebMock:
7/23/18
sumanth madishetty
,
Aleksey Zapparov
2
7/8/18
Parsed response fields
Add "Content-Type" header with "application/json". Should do the trick. On Sun, 8
unread,
Parsed response fields
Add "Content-Type" header with "application/json". Should do the trick. On Sun, 8
7/8/18
Chris Schumann
,
Bartosz Blimke
3
6/18/18
Request block
Thanks for the add and the reply. I managed to muddle through it, and here's what worked for me:
unread,
Request block
Thanks for the add and the reply. I managed to muddle through it, and here's what worked for me:
6/18/18
AngelLeroy
, …
Mark Mohr
4
3/10/17
Problem stubbing HTTParty request response body
Thanks for this answer, Bartosz. Been beating me head against the wall all day. On Thursday, November
unread,
Problem stubbing HTTParty request response body
Thanks for this answer, Bartosz. Been beating me head against the wall all day. On Thursday, November
3/10/17
Brett Minnie
2
11/5/15
Trying to mock an api call with HMAC headers
Managed to simply the test down to the following so it now works: test "should put
unread,
Trying to mock an api call with HMAC headers
Managed to simply the test down to the following so it now works: test "should put
11/5/15
j...@invoca.com
5/13/15
Is this chain possible? to_raise(Exception).then.to_return(blah)
I'm trying to test an API wrapper, and it's supposed to retry the external call if the first
unread,
Is this chain possible? to_raise(Exception).then.to_return(blah)
I'm trying to test an API wrapper, and it's supposed to retry the external call if the first
5/13/15
Hunter Stevens
,
Bartosz Blimke
3
3/16/15
Does Webmock work on RSpec 3? If so, how
Thank you... My spec or related MVC files may not be up to date fully with Rails 4, causing something
unread,
Does Webmock work on RSpec 3? If so, how
Thank you... My spec or related MVC files may not be up to date fully with Rails 4, causing something
3/16/15
Andrew Havens
,
Bartosz Blimke
2
2/18/15
WebMock for TCP Socket connections?
Hi Andrew, I don't know of any gem that would be able to stub tcp connections. WebMock is only
unread,
WebMock for TCP Socket connections?
Hi Andrew, I don't know of any gem that would be able to stub tcp connections. WebMock is only
2/18/15
Hunter Stevens
,
Aleksey Zapparov
3
12/29/14
Having trouble with WebMock, not stubbing correctly
Expected response: 1. I make a stub request to an external API. This request returns a body
unread,
Having trouble with WebMock, not stubbing correctly
Expected response: 1. I make a stub request to an external API. This request returns a body
12/29/14
John
,
Aleksey Zapparov
2
12/18/14
Beginner Problems with WebMock and Rspec
There are two options: You can "spy" on requests or "mock" them. Or you can
unread,
Beginner Problems with WebMock and Rspec
There are two options: You can "spy" on requests or "mock" them. Or you can
12/18/14
Sriram Subramanian
, …
Pete Higgins
3
12/10/14
How do i log the request and response?
On Wed, Dec 10, 2014 at 4:38 AM, Sriram Subramanian <sriramsubra...@gmail.com> wrote:
unread,
How do i log the request and response?
On Wed, Dec 10, 2014 at 4:38 AM, Sriram Subramanian <sriramsubra...@gmail.com> wrote:
12/10/14
Vell
,
Bartosz Blimke
3
12/8/14
How to use basic stub_request in spec?
Thanks for the response Bartosz. I actually added it in the test itself as an initial test. My
unread,
How to use basic stub_request in spec?
Thanks for the response Bartosz. I actually added it in the test itself as an initial test. My
12/8/14
Chris Lorenzo
,
Bartosz Blimke
2
9/15/14
Feature Request - ability to remove stub
Why don't you tell VCR to return 401? 2014-09-15 20:39 GMT+02:00 Chris Lorenzo <chiefcll@gmail
unread,
Feature Request - ability to remove stub
Why don't you tell VCR to return 401? 2014-09-15 20:39 GMT+02:00 Chris Lorenzo <chiefcll@gmail
9/15/14
Chris Lorenzo
9/15/14
Feature Request: Allow then to take a block
Hi, I'd like to be able to do: stub_request(:any, %r|.*/rest/user.*|).to_return(:body => '
unread,
Feature Request: Allow then to take a block
Hi, I'd like to be able to do: stub_request(:any, %r|.*/rest/user.*|).to_return(:body => '
9/15/14
Dylan Lacey
,
Bartosz Blimke
2
7/30/14
Globally allowed addresses
Hi Dylan, I understand your requirements and I the solution you proposed makes sense in order to
unread,
Globally allowed addresses
Hi Dylan, I understand your requirements and I the solution you proposed makes sense in order to
7/30/14
guillot nicolas
,
Bartosz Blimke
3
10/14/13
how to use web mock and open-uri authentication ?
Thanks a lot it works ! Le samedi 12 octobre 2013 14:45:51 UTC+2, Bartosz Blimke a écrit : The basic
unread,
how to use web mock and open-uri authentication ?
Thanks a lot it works ! Le samedi 12 octobre 2013 14:45:51 UTC+2, Bartosz Blimke a écrit : The basic
10/14/13
Peter M Souter
,
Bartosz Blimke
3
9/14/13
Differences for webmock on 1.8.7, 1.9.3, 2.0.0
Hi Bartosz, Yep, ended up with trial and error and figured that out in the end. Working great now! :)
unread,
Differences for webmock on 1.8.7, 1.9.3, 2.0.0
Hi Bartosz, Yep, ended up with trial and error and figured that out in the end. Working great now! :)
9/14/13
Doug Reeder (CAS)
,
Bartosz Blimke
6
7/4/13
Beginner Problems with WebMock and Cucumber
https://github.com/bblimke/webmock/blob/master/lib/webmock/api.rb#L10 2013/7/3 Doug Reeder (CAS) <
unread,
Beginner Problems with WebMock and Cucumber
https://github.com/bblimke/webmock/blob/master/lib/webmock/api.rb#L10 2013/7/3 Doug Reeder (CAS) <
7/4/13
Rainer Kuhn
,
Bartosz Blimke
2
6/14/13
Re: Retrieving last request from WebMock
I'm afraid WebMock::RequestRegistry doesn't keep the order of requests. I suggest you add a
unread,
Re: Retrieving last request from WebMock
I'm afraid WebMock::RequestRegistry doesn't keep the order of requests. I suggest you add a
6/14/13
Ray
,
Pete Higgins
6
5/9/12
Need help testing response status codes
So it seems to be working, stub_request(:any, "www.example.com").to_return(:status => [
unread,
Need help testing response status codes
So it seems to be working, stub_request(:any, "www.example.com").to_return(:status => [
5/9/12
James
,
Bartosz Blimke
3
3/15/12
experience with Webmock and cucumber error
It seems to happen when I run cucumber, I think because I was missing the require 'webmock/
unread,
experience with Webmock and cucumber error
It seems to happen when I run cucumber, I think because I was missing the require 'webmock/
3/15/12
Rhett Sutphin
,
Bartosz Blimke
4
2/28/12
WebMock and url escaping/encoding
It would have to be configuration in webmock 1.x. Changing this behaviour in 1.x series would break
unread,
WebMock and url escaping/encoding
It would have to be configuration in webmock 1.x. Changing this behaviour in 1.x series would break
2/28/12
Florian Rosenberg
,
Bartosz Blimke
6
2/24/12
webmock and cucumber
I would test these two processes separately. In your cucumber I'd just ensure you are correctly
unread,
webmock and cucumber
I would test these two processes separately. In your cucumber I'd just ensure you are correctly
2/24/12
rfichoke
, …
James Conroy-Finn
4
12/6/11
Should WebMock compress multiple path separators (forward slashes) when matching URLs?
If the RFC says "single slash," then WebMock should definitely treat the addresses as
unread,
Should WebMock compress multiple path separators (forward slashes) when matching URLs?
If the RFC says "single slash," then WebMock should definitely treat the addresses as
12/6/11
Evgeniy Dolzhenko
, …
Bartosz Blimke
5
11/22/11
Feature request: should_request expectation
Hey, that's handy, thanks! On 11/22/2011 5:35 PM, Bartosz Blimke wrote: > Webmock by design
unread,
Feature request: should_request expectation
Hey, that's handy, thanks! On 11/22/2011 5:35 PM, Bartosz Blimke wrote: > Webmock by design
11/22/11
Div
,
James
2
5/28/11
With Rspec how can I make use of it?
Hi Div, Take a look in your log file to see where the undefined method error is coming from; paste
unread,
With Rspec how can I make use of it?
Hi Div, Take a look in your log file to see where the undefined method error is coming from; paste
5/28/11
James
5/18/11
Upgrading the development toolset
This message is intended more for developers and contributors to WebMock as it won't really
unread,
Upgrading the development toolset
This message is intended more for developers and contributors to WebMock as it won't really
5/18/11
Bartosz Blimke
4/29/11
WebMock is looking for a maintainer
I'm not able to maintain WebMock until the end of June 2011. It would be great if someone can
unread,
WebMock is looking for a maintainer
I'm not able to maintain WebMock until the end of June 2011. It would be great if someone can
4/29/11