Testing Web Service with SOAPUI

Source: Internet
Author: User
Tags soapui

This article reproduced: http://blog.csdn.net/pan_tian/article/details/10301197

How to test the written webservice? You can certainly write code to test it, but it's too cumbersome, and you'll have to take the time to learn about the APIs associated with webservice calls in each language. This is a recommended tool for WebService development-SoapUI, you can quickly test whether your webservice is developing correctly without needing to know the underlying details.

SOAPUI is an open source test tool that examines, invokes, and implements Web service functionality through Soap/http, and also performs performance testing on WebService.

soapui:http://sourceforge.net/projects/soapui/files/

(Soapui also has a paid pro version, for general developers, if only debugging, open source free version is sufficient)

Demo

First create a new Soapui Project, enter the address of the WSDL in the initial Wsdl/wadl

When project is established, SOAPUI generates the left-hand list tree based on the WSDL format, including cux_0_ws_server_prg_binding as the WSDL Binding,invokefmsws as operation in the Binding. Double-click Request1 to see the contents of the SOAP request message.

Fill in the request message with the necessary information, and in the lower left corner of the request properies user name, password and Wss-pasword type, and then click the Green button, you can generate a SOAP response message on the right.

Just a brief introduction to SOAPUI, mainly used to view the interface provided by the Web service, as well as the results returned, SOAPUI is much more than that, and it can perform functional and performance tests on the Web service.

Parameter description of SOAPUI: http://www.soapui.org/Working-with-soapUI/preferences.html

Learn more about what you can read: Http://www.51testing.com/ddimg/uploadsoft/20100204/SoapUI.pdf

Also share several public webservice sites, you can randomly recruit a few services to test

Http://www.webservicex.net/WS/wscatlist.aspx

http://www.service-repository.com/

Http://www.webxml.com.cn/zh_cn/index.aspx

Performance stress test of WebService with SOAPUI

http://blog.csdn.net/fangxing80/article/details/26940845

Testing Web Service with SOAPUI

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.