Service Test 11 or QTP — What’s the deal?
I am often asked questions like, “Why do I need Service Test 11?” or “What's the difference between QTP with the Web Service Add-in and Service Test 11?” So here are my answers. I hope they’re helpful.
QTP or Service Test?
QuickTest Pro is great for functional testing of applications that have user interfaces. Service Test 11 was designed from the ground up to hand headless testing (applications that do not have a user interface).
This makes ST ideal for web service testing, since it is one of the technologies it was created specifically for. Yes — I know that QTP had a “Web Service” add-in, but if you have used it for any amount of time, you know it’s just not up to the task of handling complex web services. The add-in is old and was designed when SOA was still relatively new, so it doesn’t have all of the desired functionality most folks are generally looking for.
Service Test is Easier to Use
For web service testing in general, I've found ST much easier to use than QTP. QTP has a clunky testing flow for web service and has odd, poorly documented web service methods that make it difficult to achieve certain functionalities. ST is, in essence, just dragging and dropping “operations” onto a canvas area and setting parameters. To see what I'm referring to check out my videos:VIDEO – How to test a web service using QTP with the web service add-in and VIDEO – Automation Awesomeness — How to test a web service in HP's new Service Test 11
Unlike QTP, Service Test also has the following features:
- Script can be used as performance test in LoadRunner
- Built-in support for XPath expressions
- Built-in support for Soap Fault testing (this is great for negative testing)
- Built-in support for REST Services
- Built-in support for JMS testing
- Built-in scenarios for configuring security in Web Service calls
Also — with HP's new Unified License you have the option of integrating Service Test and QTP so one has the ability to call the other.
If you’re serious about web service testing, I would recommend Service Test 11.10 over QTP. Ultimately, however, the decision is one you have to make for yourself. Utilizing QTP with the web service works may work fine for you. But my feeling is that HP will find a way to either kill off the add-in by never updating it, or morphing the two products into one… so the moral of the story, in my opinion, is that you might as well get on board now!