This message was deleted.
# help
s
This message was deleted.
l
Hi, I think you will have to provide a little more information to be able to help. What is it that isn't working, are there any logs, what are you stubbing and how, are there any exceptions etc.
On thing I am a little confused about is that you look to be trying to mock the whole url path -
<http://appointments/v2/external/appointment?environment=5606>
. Normally you would mock the path your code tries to call -
/v2/external/appointment?environment=5606
This way the base url would be configured differently for your tests compared to your production code. Production code would be configured to use
<http://appointments>
and your tests would be configured to use a base url of your wiremock instance
Is there any chance you can put a small project together to reproduce the issue so I can help diagnose the issue.
Excellent. What was the solution ?