Testing TCP/IP RO Svc with TestComplete

I see you have a service tester, but I was wanting to run a test using on our TCP/IP service using TestComplete. Are there any white papers for doing that?

TestComplete lets you run unit or functional tests. Newer versions also have support for testing web services:

http://smartbear.com/products/qa-tools/automated-testing/testing-web-services/

So you can either use unit tests that target your web service, or script functional tests against your client UI, or you can import your WSDL directly into TestComplete and test your web service methods that way.

You can also use something like soapUI for service testing, which is a great tool:

http://www.soapui.org/

You can import your WSDL and then execute service requests and validate their responses. You can also do load testing.

If you need to specifically test your TCP/IP channel though, or want to avoid testing via SOAP over HTTP, you’re probably going to need to use either the unit testing or the functional testing in TestComplete, as TestComplete isn’t going to know how to communicate with the other channels and message formats.

Hello,
You wrote:

I see you have a service tester, but I was wanting to run a test using
on our TCP/IP service using TestComplete. Are there any white papers for doing that?

We don’t test our RO servers with TestComplete. We use only ServiceTester for this purpose.

nwoolls:

Do you have TestComplete but prefer to use ServiceTester? If so, can you (or anyone else) comment on the difference and reason(s) why you would choose ServiceTester.

Thank you,

Ed Dressel

I could be wrong, I honestly haven’t used ServiceTester much, but last I knew there were issues either passing in or receiving complex arrays of structs with Service Tester (I cannot remember which, it was something along those lines).

More importantly, as far as I understand, while ServiceTester is a way to easily test your service methods, it is not meant to be a comprehensive utility for doing automated testing of web services. Again, that is just my understanding.

For instance, can ServiceTester be made to call one method, get back results, then use the results of that method to call subsequent ones? All the time validating responses based on either simple or not-so-simple rules?

As far as I can tell, and from what I recall, ServiceTester lets you call individual methods, and then lets you call that single method either once or in a loop with optional threading - basically stress testing.

Both soapUI and TestComplete can do all of these things and more. I’m not trying to discourage the use of ServiceTester and hopefully am not doing something equal to talking about competitors on a forum. I honestly don’t think ServiceTester competes with things like soapUI and TestComplete that were designed to facilitate comprehensive automated testing and validation.