SOAPUI and WebService Interface test

Source: Internet
Author: User
Tags soap soapui wsdl

One, the difference between Web service (SOAP) and HTTP interface 1. What is a Web service? WebService is the meaning of Web services, the corresponding application layer protocol is soap (equivalent to the HTTP protocol), can be understood as remote call technology. 2. FeaturesThe format of the request principal content (Request message) sent by the client is in XML formatThe format of the response body content (response message) returned by the interface is in XML format3. Is Web service relative to HTTP (post/get) good?
  • Interface implementation of the methods and requirements of the parameters at a glance
  • Don't worry about capitalization.
  • Don't worry about Chinese urlencode problem
  • The code does not have to declare the authentication (account, password) parameters
  • Pass parameters can be arrays, objects, etc...
4. Is the Web service relative to HTTP (post/get) fast? The speed may be reduced due to XML parsing. 5. Introduction of WSDLis the WebService interface corresponding to the WSDL file, the file is described in XML format how to call, can be regarded as WebService interface document (instruction manual). For example:http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?wsdl  second, using SOAPUI for WebService interface test Soapui is an open source test tool that examines, invokes, and implements the functionality/load/Compliance testing of Web service through Soap/http. Because less is used in actual test work, this article simply writes out the usage.  1. New SOAP Project 2, import the WSDL (directly fill in the WSDL address above), the name will be entered automatically.  3 . Open any request message, change the parameters at the place of greeting, click the green small arrow to send the request.  

SOAPUI and WebService Interface test

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.