locked
Lync 2013 'Persistent Chat Server Resource Kit' is not generating message load. RRS feed

  • Question

  • We are running load with 'Persistent Chat Server Resource Kit'.
    (a) It is generating user join-leave events.
    (b) It is not generating any message event load

    Below are the configuration files for reference.

    LoaderProcess.exe.config

    <?xml version="1.0"?>
    <configuration>
      <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
      </startup>
      <system.serviceModel>
        <behaviors>
          <endpointBehaviors>
            <behavior name="Debug">
              <callbackDebug includeExceptionDetailInFaults="true" />
            </behavior>
          </endpointBehaviors>
        </behaviors>
        <bindings>
          <customBinding>
            <binding name="customTcpBinding" receiveTimeout="3.00:00:00"
              sendTimeout="00:05:00">
              <binaryMessageEncoding />
              <reliableSession inactivityTimeout="2.00:00:00" maxPendingChannels="20"
                maxRetryCount="16" maxTransferWindowSize="1024" ordered="false"
                reliableMessagingVersion="Default" />
              <tcpTransport maxPendingConnections="10" maxPendingAccepts="10"
                listenBacklog="10">
                <connectionPoolSettings idleTimeout="1.00:00:00" />
              </tcpTransport>
            </binding>
          </customBinding>
        </bindings>
        <client>
          <endpoint address="net.tcp://Win2012LT8.mydomain.com:4277/Controller/Service/"
            behaviorConfiguration="Debug" binding="customBinding" bindingConfiguration="customTcpBinding"
            contract="Microsoft.Rtc.Chat.ResKit.Stress.Controller.IService"
            name="Service" />
        </client>
      </system.serviceModel>
      <runtime>
        <gcServer enabled="true" />
      </runtime>
    </configuration>
    

    StressLauncher.exe.config

    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
        <configSections>
            <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
                <section name="Microsoft.Rtc.Chat.ResKit.Stress.Launcher.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
            </sectionGroup>
            <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
                <section name="Microsoft.Rtc.Chat.ResKit.Stress.Launcher.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
            </sectionGroup>
        </configSections>
        <startup> 
            <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
        </startup>
        <userSettings>
            <Microsoft.Rtc.Chat.ResKit.Stress.Launcher.Properties.Settings>
                <setting name="NumUsers" serializeAs="String">
                    <value>100</value>
                </setting>
                <setting name="TargetSizeSmall" serializeAs="String">
                    <value>10</value>
                </setting>
                <setting name="TargetSizeMedium" serializeAs="String">
                    <value>7</value>
                </setting>
                <setting name="TargetSizeLarge" serializeAs="String">
                    <value>3</value>
                </setting>
                <setting name="SigninsPerMinute" serializeAs="String">
                    <value>10</value>
                </setting>
                <setting name="MessageRateSmall" serializeAs="String">
                    <value>0.0017</value>
                </setting>
                <setting name="MessageRateMedium" serializeAs="String">
                    <value>0.017</value>
                </setting>
                <setting name="MessageRateLarge" serializeAs="String">
                    <value>0.0035</value>
                </setting>
                <setting name="DayHours" serializeAs="String">
                    <value>8</value>
                </setting>
                <setting name="JoinsSmall" serializeAs="String">
                    <value>10</value>
                </setting>
                <setting name="JoinsMedium" serializeAs="String">
                    <value>2</value>
                </setting>
                <setting name="JoinsLarge" serializeAs="String">
                    <value>2</value>
                </setting>
                <setting name="PresenceEnabled" serializeAs="String">
                    <value>True</value>
                </setting>
                <setting name="MinPollSize" serializeAs="String">
                    <value>10</value>
                </setting>
                <setting name="MaxPollSize" serializeAs="String">
                    <value>40</value>
                </setting>
                <setting name="PollInterval" serializeAs="String">
                    <value>00:04:00</value>
                </setting>
            </Microsoft.Rtc.Chat.ResKit.Stress.Launcher.Properties.Settings>
        </userSettings>
        <applicationSettings>
            <Microsoft.Rtc.Chat.ResKit.Stress.Launcher.Properties.Settings>
                <setting name="LoaderBinary" serializeAs="String">
                    <value>\\Win2012LT8.mydomain.com\ChatStressTool\LoaderProcess.exe</value>
                </setting>
                <setting name="AdminUser" serializeAs="String">
                    <value>mydomain\administrator</value>
                </setting>
                <setting name="AdminPassword" serializeAs="String">
                    <value>FaceTime@123</value>
                </setting>
                <setting name="ChannelCategory" serializeAs="String">
                    <value>PerfCategory10KUser1</value>
                </setting>
                <setting name="UserNamePattern" serializeAs="String">
                    <value>PerfP1U{0}</value>
                </setting>
                <setting name="UserPasswordPattern" serializeAs="String">
                    <value>Facetime@123</value>
                </setting>
                <setting name="Domain" serializeAs="String">
                    <value>mydomain.com</value>
                </setting>
                <setting name="ConnectionString" serializeAs="String">
                    <value>Data Source=p2gcdb.mydomain.com;Initial Catalog=mgc;User Id=sa;Password=FaceTime@123</value>
                </setting>
                <setting name="UserIndexStart" serializeAs="String">
                    <value>1</value>
                </setting>
                <setting name="LyncFQDN" serializeAs="String">
                    <value>pool1.mydomain.com</value>
                </setting>
                <setting name="Machines" serializeAs="Xml">
                    <value>
                        <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                            <string>Win2012LT8.mydomain.com</string>
                            <!-- <string>loader2</string> -->
                            <!-- <string>loader3</string> -->
                        </ArrayOfString>
                    </value>
                </setting>
            </Microsoft.Rtc.Chat.ResKit.Stress.Launcher.Properties.Settings>
        </applicationSettings>
      <system.serviceModel>
        <bindings>
          <customBinding>
            <binding name="customTcpBinding" receiveTimeout="3.00:00:00"
              sendTimeout="00:05:00">
              <binaryMessageEncoding />
              <reliableSession inactivityTimeout="2.00:00:00" maxPendingChannels="20"
                maxRetryCount="16" maxTransferWindowSize="1024" ordered="false"
                reliableMessagingVersion="Default" />
              <tcpTransport maxPendingConnections="10" maxPendingAccepts="10"
                listenBacklog="10">
                <connectionPoolSettings idleTimeout="1.00:00:00" />
              </tcpTransport>
            </binding>
          </customBinding>
        </bindings>
        <client/>
        <services>
          <service behaviorConfiguration="Behavior" name="Microsoft.Rtc.Chat.ResKit.Stress.Controller.Service">
            <endpoint address="" binding="customBinding" bindingConfiguration="customTcpBinding"
              contract="Microsoft.Rtc.Chat.ResKit.Stress.Controller.IService">
              <identity>
                <dns value="localhost" />
              </identity>
            </endpoint>
            <host>
              <baseAddresses>
                <add baseAddress="net.tcp://Win2012LT8.mydomain.com:4277/Controller/Service/" />
              </baseAddresses>
              <timeouts closeTimeout="00:00:15" />
            </host>
          </service>
        </services>
        <behaviors>
          <serviceBehaviors>
            <behavior name="Behavior">
              <serviceMetadata />
              <serviceDebug includeExceptionDetailInFaults="true" />
              <serviceThrottling maxConcurrentCalls="250" />
            </behavior>
          </serviceBehaviors>
        </behaviors>
      </system.serviceModel>
      <runtime>
        <gcServer enabled="true" />
      </runtime>
    </configuration>

    Thursday, February 22, 2018 6:45 AM

All replies

  • Hi,

     

    Would you give me more information about the “generating any message event load”.

     

    Did you install PsExec.exe and copy PsExec.exe to the following path: \Program Files\ Microsoft Lync Server 2013\Persistent Chat Server Resource Kit\ChatStressTool?

     

    Can you send IM in the persistent chat normally?

     

    The user account under which the tool is run must have Read access to the Persistent Chat back-end database and Active Directory Domain Services.

     

    You just change “controller.contoso.com” to the controller machine’s FQDN in LoaderProcess.exe.config.make sure Win2012LT8.mydomain.com was your DC’s FQDN.

     

    Please double check the setting and refer to the following link.

    https://technet.microsoft.com/en-us/library/jj945599(v=ocs.15).aspx


    Best Regards,
    Leon Lu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Friday, February 23, 2018 3:16 AM
  • Are there any update for this issue, if the reply is helpful to you, please try to mark it as an answer, it will help others who has similar issue.


    Best Regards,
    Leon Lu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Tuesday, February 27, 2018 1:06 AM
  • I still awaiting an answer for this issue. The issue still open.
    Tuesday, July 10, 2018 5:43 AM
  • Please find below the answers to your questions.

    Did you install PsExec.exe and copy PsExec.exe to the following path: \Program Files\ Microsoft Lync Server 2013\Persistent Chat Server Resource Kit\ChatStressTool?
    Yes.

    Can you send IM in the persistent chat normally?
    Yes. Sending messages through 'SfB Server Stress and Config Tool' also working for IM, conference AV etc.

    The user account under which the tool is run must have Read access to the Persistent Chat back-end database and Active Directory Domain Services.
    Didn't check this specifically. But these users are able to send, receive, read Persistent chat messages.

    You just change “controller.contoso.com” to the controller machine’s FQDN in LoaderProcess.exe.config.make sure Win2012LT8.mydomain.com was your DC’s FQDN.
    Hi, I have multiple references of Win2012LT8.mydomain.com in both files, can you please let me know which <g class="gr_ gr_20 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="20" id="20">occurance</g>(s) I need to modify?
    File LoaderProcess.exe.config
    <endpoint address="net.tcp://Win2012LT8.mydomain.com:4277/Controller/Service/"
    File StressLauncher.exe.config
    <value>\\Win2012LT8.mydomain.com\ChatStressTool\LoaderProcess.exe</value>
    <string>Win2012LT8.mydomain.com</string>
    <add baseAddress="net.tcp://Win2012LT8.mydomain.com:4277/Controller/Service/" />


    Tuesday, July 10, 2018 6:24 AM