This sample application simulates a multiple-user load on the Group Chat Server. It assumes that all users are created and are SIP-enabled. The necessary category and chat rooms are created if they do not already exist on the Group Chat Server.
To set up the project in Microsoft Visual Studio 2008
-
On the Microsoft Visual Studio 2008 Filemenu, point to Newand then choose Project. The New Projectdialog box appears.
-
In the Project typespane, choose Visual C#and then choose Windows.
-
In the Templatespane, choose Console Application.
-
Type the name of the project in the Nametext box and then click OK. Visual Studio creates a new project.
To add the source code to the project
-
Replace Program.cs with the SampleLoadTest.cs.
-
Add SampleCommon.cs to the project.
-
Press F5 to run the application in Debug mode.
Requirements
-
Microsoft Visual Studio 2008 development system
-
.NET Framework 3.5 SP1 (installed automatically with Visual Studio 2008)
-
UcmaRedist.msi
-
UcgcRedist.msi