1 WebService
Simple development of WebService, reference documentation
Http://www.cnblogs.com/xwdreamer/archive/2011/12/07/2296914.html
WebService does not fight a war package, is running the test in eclipse (this piece has time to add)
2 Jmeter
2.1 Creating thread groups (SetUp thread Group)
2.2 Create sampler under Thread Group (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 running WSDL),
Click the type name for soap, such as: Calculateservicesoap11binding, click Plus (add), appear
Enter the x, Y value and click Go
In the bottom right box, see the results, click Source, fetch the SOAP Request Envelope ( for this, around half a day)
<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 Adding listeners: Viewing the result tree
Run the script, a simple webservice how to run the complete in JMeter
Scripting enhancements, parameterization
Add symbol: CSV Data Set Config
FileName: Data file path
Variable name: Parameter name (multiple arguments separated by commas)
Parametric setup diagram
Data files
Simple example of using JMeter test WebService