3

I'm in charge of the automation for a hotels search/book XML API. My experience is mostly with SOATest and a bit of soapUI. I would like to know if there is a better approach to do it, I'm looking to create a robust, maintainable, easy to parametrize and efficient automation suite. Using SOATest, for instance, I've found myself limited by the supported version of the built-in python interpreter (pretty old version), so some modules were old, or worst, didn't exist. I would like to know if developing a script using modules that provide me the interface with the XML API through HTTP like mechanize for Perl/Ruby or using a tool like soapUI/SOATest is the best approach. Or maybe there is another way I'm not aware of, hope you guys can help and provide advice with your experience.

1
  • Although you mentioned soapUI, your XML API that does not use SOAP, right?
    – user246
    Commented Feb 7, 2012 at 23:37

1 Answer 1

2

I've found soapUI good for a lot of things, especially when I'm first exploring a service, but at the end of the day, I'm personally not a big fan of it for full, maintainable test suites. I've also no experience whatsoever with SOATest. The best solution that I've found so far is use your language and test runner of choice, a BDD library if you so choose, and write the suite yourself. The only time I've run into issues with this is when it came down to time, and how to integrate with other services if data needs to be synchronized between multiple services that aren't easy to automate.

This allows you to use parameters, URI's, etc that off the shelf tools may not allow you to perform as well as gives you more fine grained control over what you're tests are doing.

2
  • Thanks Lyndon, by the way, is it possible with soapUI free version to develop extension scripts so you can, for instance, parse an xml response, get some node values, add logic to calculate and store output into some kind of soapUI context variables so you can use it in later xml validations?
    – ggiunta
    Commented Feb 10, 2012 at 15:53
  • Sorry for the late reply. I really haven't done anything using/building any extensions for soapUI. I'll certainly ask around to some co-workers with more experience with it however. Commented Feb 13, 2012 at 6:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.