Note that there are some explanatory texts on larger screens.

plurals
  1. POWCF - Testing a Referenced 3rd party Service
    primarykey
    data
    text
    <p>I've been trying to do some research on this topic as I assume this scenario occurs frequently, but I haven't found anything too relevant. We have a 3rd party service from our client that we interact with. We have their WSDLs, have made service references and developed our side of the project, but we do NOT actually have access to their services for testing. What is the best way to go about testing our code? Here are the options I am aware of:</p> <ol> <li>Soap UI - This tool allows you to create Mock Services from a WSDL. You can specify reply messages that will be returned for different method invocations, but as far as I am aware, it is entirely <em>random</em> which reply will be used.</li> <li>Manually Created Mock Service - I found that I needed more control over the test service. Specifically, I wanted to do input validation and return the proper data. Therefore, I built my own mock service that extends a service interface that I generated from the client's WSDL using the /serverInterface from the <a href="http://msdn.microsoft.com/en-us/library/7h3ystb6%28v=vs.80%29.aspx" rel="nofollow">WSDl.exe tool</a>.</li> </ol> <p>Is there a better way to do this kind of testing? I felt very limited by option 1, but option 2 seems kind of intensive. My coworker has scoffed at option 2 because of the amount of work, and has mentioned that we should be using Visual Studio to perform testing. Does such a testing tool in visual studio exist? If so, would it be limited in the same way as Soap UI, where we would be subject to duplicate reply messages?</p> <p>Thanks!</p> <p>Update: To clarify, regarding the Visual Studio testing questions: I know that there is a test suite in VS and there are things like web tests, but what about a mock service? I havent seen anything to indicate the existence of this kind of testing tool.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload