I have been tasked with creating a framework for
testing the web services of a new project. Rather than buying an off the shelf solution such as LISA my manager wants me to roll my own using
JUnit and
Ant.
One idea I have is to create JUnit TestCases which have the XML requests and
SOAP calls as fixture objects, and test*() methods which make the requests and validate the responses. These test cases will be run by Ant from a <junit> task and the results aggregated into an HTML report via a <junitreport> task.
Does this sound reasonable, or is there a better way / best practice for doing this? I am new to web services with SOAP (I am used to doing web services using XML over HTTP) so perhaps there are SOAP-related issues I'm overlooking.
Thanks in advance for any suggestions.
--James