Using LoadGen to test Wcf-NetTCP binding

Posted: July 31, 2009  |  Categories: BizTalk Uncategorized
Tags: LoadGen WCF

 

I have just returned from holiday and have had to do a lot of performance monitoring on WCF adapters. It took me a while to work out the settings in the LoadGenConsole.exe to test a WCF-NetTCP binding so i thought I would reproduce it here. ( See http://connectedthoughts.wordpress.com/2007/11/05/loadgen-2007-and-a-simple-biztalk-wcf-test/ for good guide on how to use LoadGen to  test WCF adapters ).

<?xml version="1.0" ?>
<configuration>
  <system.serviceModel>

    <client>

      <endpoint name="WcfgetPremiumEndPoint"

                address="http://localhost/BizTalkWcfgetPremiumService/WcfgetPremiumService.svc"

                binding="basicHttpBinding"

                bindingConfiguration="WcfgetPremiumEndBinding"

                contract="WcfTransport.IChannelAsyncNonTransactional"/>
      <endpoint name="WcfnetTCPgetPremiumEndPoint"

          address="net.tcp://localhost/WCFgetPremium.NetTCP"

          binding="netTcpBinding"

          bindingConfiguration="WcfnetTCPgetPremiumEndBinding"

          contract="WcfTransport.IChannelAsyncNonTransactional"/>

    </client>

    <bindings>

      <basicHttpBinding>

        <binding name="WcfgetPremiumEndBinding"

                openTimeout="23:59:59" receiveTimeout="23:59:59" closeTimeout="23:59:59" sendTimeout="23:59:59">

          <security mode="None">

          </security>

        </binding>

      </basicHttpBinding>

      <netTcpBinding>

        <binding name="WcfnetTCPgetPremiumEndBinding"

                openTimeout="23:59:59" receiveTimeout="23:59:59" closeTimeout="23:59:59" sendTimeout="23:59:59">

          <security mode="Transport">

          </security>

        </binding>

      </netTcpBinding>

    </bindings>

  </system.serviceModel>
    <system.net>
        <defaultProxy>
            <proxy autoDetect="false"/>
        </defaultProxy>

        <connectionManagement>
            <add address = "*" maxconnection = "400" />
        </connectionManagement>
    </system.net>

    <!–<system.diagnostics>
        <trace autoflush="true" indentsize="4">
            <listeners>
                <add name="LogConsoleListener" type="System.Diagnostics.ConsoleTraceListener"/>
            </listeners>
        </trace>
    </system.diagnostics>–>

</configuration>

turbo360

Back to Top