Closed jeremyandrews closed 4 years ago
At the moment this feature is not direclty provided by httpmock. Until now there was no use case for having multiple servers running in one test. I will consider adding such a feature in future though.
Thanks!
Is there a way to then create mock endpoints with this second server (and the default server at the same time)? I've not yet figured out how this would work.
Unfortunately not. This is why I have edited my previous comment. I realized that too late. Sorry for the confusion. I will add this feature to my todo list though.
This feature should be covered by #7.
Just following up to let you know this worked perfectly for my project: https://github.com/tag1consulting/goose/pull/112 -- thanks!
Thanks for the good feedback! Glad it worked for you!
I'm testing redirects, and would like to test redirecting between servers. Is it possible to start multiple mock servers on different ports?