Click here to Skip to main content
15,881,568 members
Articles / DevOps / Load Testing

Measuring and Monitoring WCF Web Service Performance

Rate me:
Please Sign up or sign in to vote.
5.00/5 (17 votes)
4 Oct 2012GPL310 min read 55.2K   2.2K   47  
Using ServiceMon to obtain performance statistics for web services
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.30703</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{CE00CFE6-7D8A-4063-BB54-F11B40423023}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Kaleida.UnitTests</RootNamespace>
    <AssemblyName>Kaleida.ServiceMonitor.UnitTests</AssemblyName>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <PlatformTarget>AnyCPU</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="Antlr3.Runtime, Version=3.1.0.39723, Culture=neutral, PublicKeyToken=3a9cab8f8d22bfb7, processorArchitecture=MSIL" />
    <Reference Include="JetBrains.Annotations, Version=4.5.1274.1, Culture=neutral, PublicKeyToken=1010a0d8d6380325, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\bin\JetBrains.Annotations.dll</HintPath>
    </Reference>
    <Reference Include="log4net">
      <HintPath>..\bin\log4net.dll</HintPath>
    </Reference>
    <Reference Include="nunit.framework, Version=2.5.10.11092, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\BuildTools\nUnit\nunit.framework.dll</HintPath>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.ComponentModel.DataAnnotations" />
    <Reference Include="System.Core" />
    <Reference Include="System.Data.Entity" />
    <Reference Include="System.Drawing" />
    <Reference Include="System.IdentityModel" />
    <Reference Include="System.Runtime.Serialization" />
    <Reference Include="System.ServiceModel" />
    <Reference Include="System.Web" />
    <Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies\System.Web.Mvc.dll</HintPath>
    </Reference>
    <Reference Include="System.Xml.Linq" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="..\CommonAssemblyInfo.cs">
      <Link>Properties\CommonAssemblyInfo.cs</Link>
    </Compile>
    <Compile Include="Framework\DurationParserTests.cs" />
    <Compile Include="Framework\ScheduledTimeTests.cs" />
    <Compile Include="Framework\StringExtensionsTests.cs" />
    <Compile Include="Model\CodePlexWebVersionCheckTests.cs" />
    <Compile Include="Model\DateTimeExtensionsTests.cs" />
    <Compile Include="Model\Email\HtmlMessageBuilderTests.cs" />
    <Compile Include="Model\Layout\StatusWindowLayoutStrategyTests.cs" />
    <Compile Include="Model\MockConfiguration.cs" />
    <Compile Include="Model\Parsing\ParserTests.cs" />
    <Compile Include="Model\Runtime\DefaultStatePresentationTests.cs" />
    <Compile Include="Model\Runtime\OperationTests.cs" />
    <Compile Include="Model\Runtime\ReflectionExtensionsTests.cs" />
    <Compile Include="Model\Runtime\ReflectionOperationFactoryTests.cs" />
    <Compile Include="Model\Runtime\ScriptCompilerTests.cs" />
    <Compile Include="Model\ScriptSourceTests.cs" />
    <Compile Include="Model\Statistics\ProcessingStatisticsTests.cs" />
    <Compile Include="Model\StringUIExtensionsTests.cs" />
    <Compile Include="Model\ThresholdChangeEmailerTests.cs" />
    <Compile Include="Operations\MustBeLessThanTests.cs" />
    <Compile Include="Operations\MustEqualTests.cs" />
    <Compile Include="Scripts\ExampleScriptBuildTests.cs" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\Kaleida.ServiceMonitor.Framework\Framework.csproj">
      <Project>{53659F84-28B7-41AD-B807-51C0F83A4F7F}</Project>
      <Name>Framework</Name>
    </ProjectReference>
    <ProjectReference Include="..\Kaleida.ServiceMonitor.Model\Model.csproj">
      <Project>{FDDFB7A3-3D74-4F84-A4D2-CD644C9A5EAF}</Project>
      <Name>Model</Name>
    </ProjectReference>
    <ProjectReference Include="..\Kaleida.ServiceMonitor.Operations\Operations.csproj">
      <Project>{52E5ECA2-BA6B-4665-B21B-6AA1AACE8798}</Project>
      <Name>Operations</Name>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup />
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <PropertyGroup>
    <PostBuildEvent>COPY "$(TargetPath)" "$(SolutionDir)bin"
COPY "$(SolutionDir)bin\Scripts\*.mscr" "$(TargetDir)"</PostBuildEvent>
  </PropertyGroup>
  <PropertyGroup>
    <PreBuildEvent>
    </PreBuildEvent>
  </PropertyGroup>
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)


Written By
Architect BlackJet Software Ltd
United Kingdom United Kingdom
Stuart Wheelwright is the Principal Architect and Software Developer at BlackJet Software Ltd.

He has over 16 years commercial experience producing robust, maintainable, web-based solutions and bespoke systems for Microsoft platforms.

His latest project is Shopping UK, an elegantly simple shopping list for iPhone.

Comments and Discussions