How To Test SOAP over JMS Web Services With SOAPUI

本文介绍如何结合使用SOAPUI和Hermes JMS进行SOAP over JMS Web服务的测试。首先介绍了安装配置Hermes JMS的步骤,然后详细讲解了在SOAPUI中创建JMS会话及配置JMS属性的方法。

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


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值