"Go" using JMeter Test WebService Simple Example

Source: Internet
Author: User
Tags soap wsdl

1, WebServiceTo develop WebService first, refer to document Http://www.cnblogs.com/xwdreamer/archive/2011/12/07/2296914.html WebService did not fight a war package, is running in eclipse Test(This piece has time 2,Jmeter 2.1 Create Thread Group (Setup thread Group) 2.2 Create sampler (SOAP/XML-RPC Request) 1) Set URL (WSDL path): http://localhost:8080/ WEBSERVICEPROJECT/SERVICES/CALCULATESERVICE?WSDL 2) Soap/xml-rpc Data (this block can be taken in IE run WSDL), click the name of the type SOAP, such as: Calculateservicesoap11binding, click Plus (Add), enter x, y value, click Go in the bottom right box status to see the results, click Source, Fetch SOAP Request Envelope (for this, around the half day) & Lt;soapenv:envelope xmlns:soapenv= "http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0= "http://wstest.com" xmlns: Xsd= "Http://www.w3.org/2001/XMLSchema" xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance" > <soapenv: body> <q0:plus> <q0:x>${a1}</q0:x> <q0:y>${a2}</q0:y> </q0:plus> </ Soapenv:body> </soapenv:Envelope> 2.3 Add listener: Look at the result tree run the script, a simple webservice how to run the completion script enhancement in JMeter, parametric Add component: CSV Data Set Config FileName: Data file Path variable name: parameter name (multiple parameters separated by commas) parameterized set graph data file

"Go" using JMeter Test WebService Simple Example

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.