title: How to test a WCF Webservice with JMeter?
body: <p>I have a WCF Webservice hosted on IIS which exposes a single method that takes three integer parameters. I have a simple, console based client which can call this method. </p>
  
  <pre><code>int InsertNewOrder(short quantity, int custID, int productID);
  </code></pre>
  
  <p>If my understanding is correct, I need to provide JMeter a SOAP envelope with the details of the method to be called and parameters to be passed. I have seen many examples similar to below:</p>
  
  <pre><code>&lt;soapenv:Envelope xmlns:soapenv="schemas.xmlsoap.org/soap/envelope/"&gt;; 
  &lt;soapenv:Body&gt;
  &lt;ns2:InsertNewOrder xmlns:ns2="?????"&gt; 
  &lt;ns2:Param1&gt;${1}&lt;/ns2:Param1&gt; 
  &lt;ns2:Param1&gt;${1}&lt;/ns2:Param1&gt; 
  &lt;ns2:Param1&gt;${1}&lt;/ns2:Param1&gt; 
  &lt;/ns2:InsertNewOrder&gt;  
  &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>However, from looking at my WSDL doc, I don't see where it refers to any of the parameters needed to pass to the method. I've also used Fiddler to examine the client's soap messages to the service. Again, I don't see where it's passing the parameters. As a result, I don't know how to create a simple SOAP envelope I can use with JMeter to test this service.</p>
  
  <p>Can anyone advise as to why the WSDL doc does not provide any details of the method parameters, or explain how I can create the necessary SOAP envelope for use with JMeter? </p>
  
  <p>I am coding in C# using VS 2010, JMeter 2.4, IIS v6, wsHttpBinding. </p>