Before just answering: Use SoapUI. Please read the Question, because I tried SoapUI.
I have a lot big wsdl Files. Every Method works like this:
First do a synchronous Call:
- Request: Please do
fooand send Request toURI: XY - Response: Ok, your Job has
UUID: abc
After the Job is done, my Sevice will respond to URI: XY, by sending only a request Message synchronously:
- Request: Ok I finished your Job with the
UUID: abcand the result isbar
We needed to use this behavior, because we have a pool where all answers will be stored and are identified by UUID.
Do you know a possibility to test such a SOAP Service?
I tried:
- SOAP UI
- BPEL Unit (I think it should be possible with BPEL Unit but I can’t make it work properly)
Please don’t recommend writing my own JAVA tests, because I have more than 100 methods to test.
Also the Tests need to be run and the results need to be analyzed automatically in a Test-suite, I can’t do this for 100 Methods by hand everytime I change the code of the Web Service.
I’m one of the SoapUI Guys, so you’ll probably HATE my answer…
But the solution is using SoapUI; more specifically using MockResponse TestSteps. SoapUI is NOT very strong when it comes to BPEL testing, but using MockResponse Steps you can fix it.
Look here: http://www.soapui.org/SOAP-and-WSDL/testing-asynchronous-services.html. Even though all calls are done synchronously, this can still be considered asynch testing since we have more than plain request/response.
I also know that Oracle has got a great write up on this.