When writing Integration Tests for WCF Services, you have 2 options to access SUT(system under test)
1. Inproc – Test Classes are calling methods from application DLLs directly.
2. External – Tests are calling external services using client proxy with specified URL.
If you own the code of the service, the Inproc method is preferred as it is allow to test units rather the whole object as black-box.
If your tests are external clients of the service determined by URL, you need to have the service installed somewhere, e.g. on the test server.
So you need to use your services URL to run your external tests.
I’ve asked our team in a future when creating new/modifying existing test methods to use inproc approach rather than external clients.