How To Test SOAP over JMS Web Services With SOAPUI

Developers tend to enjoy the happy time testing SOAP over HTTP web services using SOAPUI, however, SOAP over JMS Web Services Testing is not that easy.


Admittedly, SOAPUI is incapable of doing this job alone, we need Hermes JMS come into play.  Luckily, Hermes JMS is free and open source.


Prerequisites: SOAPUI 4 or greater version.

First, download and install Hermes JMS and configure its installation path in SOAPUI, then SOAPUI has necessary knowledge of where the Hermes JMS is.

Second, create JMS  session in Hermes.  (To be filled, left blank intentionally.)

Third, add JMS endpoint in SOAPUI project.


JMS authentication. (Problem)


Add JMS Property in SOAPUI. In our case, we developed Web Services with IBM AST 6.1, we have to add JMS Property in SOAPUI:targetService/endpointURL.


Another noteworthy stuff, we should set replyTo attribute in SOAPUI JMS Headers setting, otherwise a certain error would throw from onMessage() method.



Reference: 

1. SOAPUI Hermes Integration. http://www.soapui.org/JMS/getting-started.html


你可能感兴趣的:(Web,jms,IBM,SOAP,download,testing)