Facing issue with running Hoverfly in simulate mode #1192
-
Hi Team, I'm not sure if this is the right place to put my problem, guide me if this isn't the right place. I'm running hoverfly in docker container with following config hoverfly:
I'm hitting the proxy using following curl
Simulation json: Question: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@td-bhanunadar you are starting hoverfly with the To learn more about running hoverfly as a proxy, you can see here: https://docs.hoverfly.io/en/latest/pages/keyconcepts/proxyserver.html |
Beta Was this translation helpful? Give feedback.
Hi @td-bhanunadar I see, you are trying to use hoverfly as a webserver, so using
-webserver
flag in docker is ok then. However you are setting it as a proxy usingcurl
:curl -v --proxy http://localhost:8500 http://dummy-dev.com/api/v1/dummypath
which is not right.if the hoverfly is running as webserver for simulating, you should call it directly:
curl -v http://localhost:8500/api/v1/dummypath