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