What you are looking at is a black box and white box testing app and tools that support both.
For web services that return the correct answer, you can perform a black box test by checking the data in the returned response. SoapUI is the best tool for this.
For APIs that do not behave as pure functions, you perform white windows by checking its side effects like saving, event generation, logging, etc. For this, you like programmable tools and SoapUI may or may not be the right option.
We work both in our work and after evaluating several tools / frameworks (SoapUI, RSSPec, Robotframework), I chose Spock . Why spock?
- This allows you to write BDD style detection tests
- We are a Java store and we want to use the same familiar language for automation, but with simplified syntactic sugar. And spock is all groovy.
- Excellent Webdriver / Selenium 2 support (including PageFactory) with Geb
- It is built on top of JUNIT, so all JUNIT plugins can be used (code coverage, hudson / jenkins integration, etc.).
- Many webservice and XML DSL APIs (no need to work with XPATH for simple scripts)
- Simplified setup (unlike robotframework, it does not require python, jython setup)
etc....
Aravind R. yarram
source share