SoapUI测试WebService接口

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SoapUI测试WebService接口相关的知识,希望对你有一定的参考价值。

 

技术分享图片

 

 

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接口的主要内容,如果未能解决你的问题,请参考以下文章

SoapUI之webservice接口测试

webservice接口测试,使用SoapUI工具进行接口测试

soapui与webservice接口测试

SoapUI测试WebService接口

有谁遇到过在soapui测试webservice接口时输入汉字为乱码,编码我都改了许多种了都不行。

使用Jmeter测试WebService接口