I’m creating a test component for my application and would like to test the wcf service endpoints to ensure that they’re up and working. I’m planning to call the service with dummy data to check if it’s working. I need the following:
1. Is there a better way than using dummy data?
2. How to call a local service? Can I use the HttpWebRequest to post data to it by providing relative path? Or else, can I add a service reference using relative path?
I’m creating a test component for my application and would like to test the
Share
You could have a
PingorEchomethod.I would just add a service reference to your test component to your service.