WSDL detailed and JMeter test in WebService

Source: Internet
Author: User
Tags soapui wsdl

Let's start with a brief explanation of what WSDL is.

A WSDL document typically contains 8 important elements, definitions, types, import, message, PortType, operation, binding, service element. These elements are nested within the definitions element, and definitions is the root element of the WSDL document. Diagram of the outer structure of the WSDL document:

The basic element of the WSDL service's Interaction: Types (Message type): A container for a data type definition that uses some type of system (such as XSD). Message: An abstract typed definition of communication data that consists of one or more parts. Part: Message parameter PortType (port type): specific protocol and data format specification for a particular port type. , it consists of one or more operation. Operation: Abstract description of operations supported by the service, WSDL defines four operations: 1. One-way (one-way): Endpoint receive information, 3. Request-Response (Solicit-response): The endpoint sends a message, and then receives the related message; 4. Notification (NOTIFICATION[2]): Endpoint sends message. Binding: The specific protocol and data format specification for a specific port type. Port: A single endpoint defined as a combination of bindings and network addresses. Service: A collection of related ports, including their associated interfaces, operations, messages, and so on. There may also be multilayer structures inside the outer structure.

Small series in the test process has encountered many styles of interface is commonly known as "WebService" interface type, for this type of interface testing tools, LR, SoapUI, JMeter ... Where the WebService type interface supports the highest level of interface testing tools to belong to Soapui, let's talk about how JMeter is tested today. The Jmeter;jmeter uses the 3.2 version of the Soap/xml to cancel the Request in version 3.2, which can be tested directly using HTTP Request-body Data.

As for how to test, the analysis can be concluded that there are two parts, the above part is we need to initiate the request class, which contains the parameter name, parameter type, interface name .... As for the interface address is the URL address of this page, copy and paste directly. Fill in the relevant parameters will be completed. Compared to other types of interfaces, WebService type interface is relatively simple, is a bit cumbersome. is a member interface, here also to say, about similar interface must be added information head!!!! Otherwise, it will go wrong

WSDL detailed and JMeter test in WebService

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.