how to map request to server to point to local host, alternative for charles map remote

191 views
Skip to first unread message

bharat...@gmail.com

unread,
Jul 15, 2017, 4:31:45 AM7/15/17
to mountebank-discuss
Currently, I have mountebank configuration in such a way that I have pointed my AUT to my
local host, when ever I need to redirect to the original server I use a proxy configuration in mountebank.

I there any way that I can directly point my AUT to my original services, if the predicate matches redirect those request to the local mountebank server, This is similar configuration "map rewrite" in Charles proxy.

Note: Ideally I should be able to point my app to the local server, but unfortunately that's not possible in my case.

Brandon Byars

unread,
Jul 19, 2017, 9:36:50 PM7/19/17
to bharat...@gmail.com, mountebank-discuss
Hi there,
Unfortunately no, mountebank doesn't operate as an O/S level proxy, so the expectation is that you can configure your AUT to point to mountebank. You can use it in conjunction with a "map rewrite" in Charles, although that obviously duplicates configuration. If you can't change the configuration, can you perhaps workaround it through a change to the hosts file on the test machine that repoints the AUT domain to localhost?
-Brandon


--
You received this message because you are subscribed to the Google Groups "mountebank-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mountebank-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Message has been deleted

bharat...@gmail.com

unread,
Jul 20, 2017, 1:55:09 PM7/20/17
to mountebank-discuss, bharat...@gmail.com

Thanks for the response and suggestion, This solves my search.
Will let you know if there is any issues.

Reply all
Reply to author
Forward
0 new messages