首页 > Web开发 > 详细

SoapUI测试WebService接口

时间:2018-07-01 18:39:16      阅读:253      评论:0      收藏:0      [点我收藏+]
 

技术分享图片

 

 

Getting Started

Getting started with some ad-hoc testing of a SOAP service is straight forward; select the “New Project” option from the File menu, which will prompt the following dialog:

技术分享图片

Paste the WSDL path http://www.webservicex.com/CurrencyConvertor.asmx?wsdl into the Initial WSDL/WADL field (the Project Name will be extracted from this) and press OK. SoapUI will work a bit and create the project with the imported WSDL available in the navigator. Go straight to the first “Request 1” request generated for the Conversion Rate operation and double-click it, which opens the following window:

技术分享图片

Now all you have to do is enter the codes for the desired currencies and press the green arrow on the top left to submit the request to the target service, which will return a nice response for you:

技术分享图片

 

可以右键项目增加WSDL地址。

技术分享图片

 

如果一个接口的访问是要依赖于登录之后才能访问的,SoapUI也是支持的!

SoapUI测试WebService接口

原文:https://www.cnblogs.com/yangcx666/p/9250767.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!