Commit f1bf3875 f1bf38754afc2c94c404660d38c703536d9fa7c0 by Christian Gerdes

Initial commit

1 parent 2088cc92
Showing 33 changed files with 1661 additions and 0 deletions
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="httpBindingAddress" value="http://localhost:8080" />
</appSettings>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="True"/>
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
\ No newline at end of file
<?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)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ConsoleHostApp</RootNamespace>
<AssemblyName>ConsoleHostApp</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.configuration" />
<Reference Include="System.Core" />
<Reference Include="System.ServiceModel" />
<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="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PerformanceService\PerformanceService.csproj">
<Project>{298113F4-7126-4E1A-ADD1-F6C5327370E8}</Project>
<Name>PerformanceService</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using PerformanceService;
using System.Configuration;
namespace ConsoleHostApp
{
class Program
{
static void Main(string[] args)
{
// Start the EmailValidator Service
Type serviceType = typeof(EmailValidator);
string httpBindingAddress = ConfigurationManager.AppSettings["httpBindingAddress"];
Uri serviceUri = new Uri(httpBindingAddress + "/EmailValidator");
ServiceHost host = new ServiceHost(serviceType, serviceUri);
host.Open();
// Output some info...
#region Output dispatchers listening
foreach (Uri uri in host.BaseAddresses)
{
Console.WriteLine("\t{0}", uri.ToString());
}
Console.WriteLine();
Console.WriteLine("Number of dispatchers listening : {0}", host.ChannelDispatchers.Count);
foreach (System.ServiceModel.Dispatcher.ChannelDispatcher dispatcher in host.ChannelDispatchers)
{
Console.WriteLine("\t{0}, {1}", dispatcher.Listener.Uri.ToString(), dispatcher.BindingName);
}
Console.WriteLine();
Console.WriteLine("Press <ENTER> to terminate Host");
Console.ReadLine();
#endregion
}
}
}
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ConsoleHostApp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("ConsoleHostApp")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("9c49e1d8-b195-4b96-a5c6-89905cd367c5")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.LoadTesting;
namespace PluginLib
{
public class LoadtestContextCopy : ILoadTestPlugin
{
// Summary:
// Initializes the load test plug-in.
//
// Parameters:
// loadTest:
// The load test to be executed.
LoadTest m_loadTest;
public void Initialize(LoadTest loadTest)
{
m_loadTest = loadTest;
m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStarting);
}
void loadTestStarting(object sender, TestStartingEventArgs e)
{
foreach (string key in m_loadTest.Context.Keys)
{
e.TestContextProperties.Add(key, m_loadTest.Context[key]);
}
}
}
}
<?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>{226AB0FE-47CF-4C69-8330-C86327AA4246}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PluginLib</RootNamespace>
<AssemblyName>LoadTestLib</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>
</SccProjectName>
<SccLocalPath>
</SccLocalPath>
<SccAuxPath>
</SccAuxPath>
<SccProvider>
</SccProvider>
</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>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.VisualStudio.QualityTools.LoadTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Core" />
<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="LoadTestContextCopy.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SetTestUser.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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>
\ No newline at end of file
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("LoadTestLib")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Siemens")]
[assembly: AssemblyProduct("LoadTestLib")]
[assembly: AssemblyCopyright("Copyright © Siemens 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("38a50875-fe88-472f-b2eb-272d9255cb5f")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.LoadTesting;
using System.ComponentModel;
using System.IO;
using System.Collections.Specialized;
namespace PluginLib
{
[DisplayName("Set Parameter In Context")]
[Description("Sätter en parameter i testcontextet för alla eller vissa tester i mixen hämtat från en CSV fil")]
public class SetTestUser : ILoadTestPlugin
{
// Summary:
// Initializes the load test plug-in.
//
// Parameters:
// loadTest:
// The load test to be executed.
private string myConnectionString;
private string myLogFileString;
private string myParameterName;
private string myTestNames;
private bool myUseRandom = true;
private bool myUseUnique = false;
private bool myUseUniqueIteration = false;
private bool myLogToFile = false;
private bool mySeqLoop = false;
private StringCollection myParams = new StringCollection();
private Random random = new Random();
private LoadTest m_loadTest;
[DisplayName("Endast dessa Tester")]
[Description("Ange de tester som ska få denna parameter. Lämna blankt för alla tester. Testets namn måste annars finnas i denna sträng för att få parametervärdet.")]
[DefaultValue("")]
public string Test_Names
{
get { return myTestNames; }
set { myTestNames = value.ToLower(); }
}
[DisplayName("Sökväg till CSV fil")]
[Description("Ange den fullständiga sökvägen till CSV filen. Observera att filen behöver finnas på alla agenterna också om du inte kör lokalt.")]
[DefaultValue("C:\\Userdata.csv")]
public string Connection_String
{
get { return myConnectionString; }
set { myConnectionString = value; }
}
[DisplayName("Context Parameter Namn")]
[Description("Ange namnet på parametern som vi ska lägga till i TestContext")]
[DefaultValue("UserName")]
public string Parameter_Name
{
get { return myParameterName; }
set { myParameterName = value; }
}
[DisplayName("Logga fungerande till")]
[Description("Ange den fullständiga sökvägen till logg filen. Om filen finns kommer den inte skrivas över utan läggas till i slutet.")]
[DefaultValue("C:\\Temp\\Fungerande.log")]
[CategoryAttribute("Loggning")]
public string LogFilePathString
{
get { return myLogFileString; }
set { myLogFileString = value; }
}
[DisplayName("Välj slumpmässigt?")]
[Description("Ange True om du vill välja en slumpmässig användare. False går igenom listan sekventiellt.")]
[DefaultValue(true)]
public bool Use_Random
{
get { return myUseRandom; }
set { myUseRandom = value; }
}
[DisplayName("Välj unikt per VU?")]
[Description("Ange True om du vill att varje LoadTest VU ska ha sitt eget unika värde och återanvända detta i varje iteration. Stänger av slumpmässigt val.")]
[DefaultValue(false)]
public bool Use_Unique
{
get { return myUseUnique; }
set { myUseUnique = value; }
}
[DisplayName("Välj unikt per Iteration?")]
[Description("Ange True om du vill att varje LoadTest VU ska ha sitt eget unika värde för varje iteration, dvs aldrig återanvändas av någon under testet.")]
[DefaultValue(false)]
public bool Use_UniqueIteration
{
get { return myUseUniqueIteration; }
set { myUseUniqueIteration = value; }
}
[DisplayName("Välj sekventiell loop?")]
[Description("Ange true om du vill börja om från början om sekventiell läsning får slut på värden. Gäller även Unik läsning.")]
[DefaultValue(false)]
public bool Use_Loop
{
get { return mySeqLoop; }
set { mySeqLoop = value; }
}
[DisplayName("Logga fungerande till fil?")]
[Description("Ange True om du vill att poster vars tester slutar i Pass ska loggas till fil (c:\\fungerande.log). Om filen redan finns läggs de till i slutet.")]
[DefaultValue(false)]
[CategoryAttribute("Loggning")]
public bool Log_To_File
{
get { return myLogToFile; }
set { myLogToFile = value; }
}
public void Initialize(LoadTest loadTest)
{
// Vi bör läsa in alla värden här
this.initUserArray(myConnectionString);
if (myParams.Count > 0)
{
m_loadTest = loadTest;
if (myUseUniqueIteration)
m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingUniqueIteration);
else if(myUseUnique)
m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingUnique);
else if (myUseRandom)
m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingRandom);
else
m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingSeq);
}
if (myLogToFile)
{
m_loadTest.TestFinished += new EventHandler<TestFinishedEventArgs>(loadTestEndLogger);
}
}
void loadTestEndLogger(object sender, TestFinishedEventArgs e)
{
// Log the user to logfile if the test is passed
if (e.Result.Passed)
{
File.AppendAllText(myLogFileString, e.UserContext[myParameterName].ToString() + "\r\n");
}
}
void loadTestStartingRandom(object sender, TestStartingEventArgs e)
{
// Check that its the right script
if (myTestNames.Length > 0 && !myTestNames.Contains(e.TestName.ToLower())) return;
// Add a context parameter to the starting test
string user = this.getRandomUser();
e.TestContextProperties.Add(myParameterName, user);
e.UserContext[myParameterName] = user;
}
void loadTestStartingSeq(object sender, TestStartingEventArgs e)
{
// Check that its the right script
if (myTestNames.Length > 0 && !myTestNames.Contains(e.TestName.ToLower())) return;
// Add a context parameter to the starting test
string user = this.getSeqUser(e.UserContext.CompletedTestCount);
e.TestContextProperties.Add(myParameterName, user);
e.UserContext[myParameterName] = user;
}
void loadTestStartingUnique(object sender, TestStartingEventArgs e)
{
// Check that its the right script
if (myTestNames.Length > 0 && !myTestNames.Contains(e.TestName.ToLower())) return;
// Add a context parameter to the starting test
string user = this.getSeqUser(e.UserContext.UserId);
e.TestContextProperties.Add(myParameterName, user);
e.UserContext[myParameterName] = user;
}
void loadTestStartingUniqueIteration(object sender, TestStartingEventArgs e)
{
// Check that its the right script
if (myTestNames.Length > 0 && !myTestNames.Contains(e.TestName.ToLower())) return;
// Add a context parameter to the starting test
string user = this.getSeqUser(e.TestIterationNumber - 1);
e.TestContextProperties.Add(myParameterName, user);
e.UserContext[myParameterName] = user;
}
string getRandomUser()
{
int randomIndex = random.Next(myParams.Count - 1);
return myParams[randomIndex];
}
string getSeqUser(int seqIndex)
{
if (seqIndex < myParams.Count)
return myParams[seqIndex];
else
{
if (mySeqLoop)
return myParams[seqIndex % myParams.Count];
else
return myParams[myParams.Count - 1];
}
}
bool initUserArray(string path)
{
if (path.Length > 0)
{
StreamReader re = File.OpenText(path);
string input = null;
while ((input = re.ReadLine()) != null)
{
myParams.Add(input);
}
re.Close();
return true;
}
else return false;
}
}
}
No preview for this file type
<?xml version="1.0" encoding="UTF-8"?>
<TestSettings name="Local" id="df2338c8-420f-4a05-9bb3-48c6f2903d23" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Description>These are default test settings for a local test run.</Description>
<Deployment enabled="false" />
<Execution>
<TestTypeSpecific />
<AgentRule name="Execution Agents">
</AgentRule>
</Execution>
</TestSettings>
\ No newline at end of file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Text.RegularExpressions;
using System.Collections.Specialized;
using System.Runtime.CompilerServices;
namespace PerformanceService
{
[ServiceContract]
public interface IEmailValidator
{
[OperationContract]
bool ValidateAddress(string emailAddress);
[OperationContract]
int RegisterAdress(string emailAddress);
[OperationContract]
string GetAdress(int userID);
[OperationContract]
bool checkIfFull();
[OperationContract]
bool checkIfFull2();
}
// Implementation
public class EmailValidator : IEmailValidator
{
public bool ValidateAddress(string emailAddress)
{
Console.WriteLine("Validating: {0}", emailAddress);
string pattern = @"^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@(([0-9a-zA-Z])+([-\w]*[0-9a-zA-Z])*\.)+[a-zA-Z]{2,9})$";
Random random = new Random();
System.Threading.Thread.Sleep(random.Next(50, 250));
return Regex.IsMatch(emailAddress, pattern);
}
public Int32 RegisterAdress(string emailAdress)
{
int userID = 0;
myRegistry.add();
return userID;
}
public string GetAdress(int userID)
{
string emailAdress = "thisisatest@testamera.com";
return emailAdress;
}
public bool checkIfFull()
{
if (myRegistry.checkIfFull() > 1) return false; else return true;
}
public bool checkIfFull2()
{
if (myRegistry.checkIfFull2() > 1) return false; else return true;
}
}
public class myRegistry
{
static int _val1 = 1, _val2 = 1, _val3 = 1;
private static StringCollection myParams = new StringCollection();
public static int checkIfFull()
{
Random random = new Random();
_val1 = 1; _val2 = 1; _val3 = 0;
if (_val2 != 0)
{
System.Threading.Thread.Sleep(random.Next(50, 100));
_val3 = (_val1 / _val2);
}
_val2 = 0;
System.Threading.Thread.Sleep(random.Next(50, 100));
return _val3;
}
[MethodImpl(MethodImplOptions.Synchronized)]
public static int checkIfFull2()
{
Random random = new Random();
_val1 = 1; _val2 = 1; _val3 = 0;
if (_val2 != 0)
{
System.Threading.Thread.Sleep(random.Next(50, 100));
_val3 = (_val1 / _val2);
}
_val2 = 0;
System.Threading.Thread.Sleep(random.Next(50, 100));
return _val3;
}
public static void add()
{
Random random = new Random();
string str1 = "";
for (int x = 0; x < 5000; x++)
{
str1 = str1 + "abc123abc123 ";
}
myParams.Add(str1);
System.Threading.Thread.Sleep(random.Next(50, 100));
}
}
}
<?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>{298113F4-7126-4E1A-ADD1-F6C5327370E8}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PerformanceService</RootNamespace>
<AssemblyName>PerformanceService</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>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.ServiceModel" />
<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="EmailValidator.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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>
\ No newline at end of file
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PerformanceService")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("PerformanceService")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("b1639d23-c73e-40f4-be3d-b5fd78bc002b")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
<?xml version="1.0" encoding="utf-8"?>
<WebTest Name="AF01_Validate" Id="f596d6df-4c34-45cb-a0d4-ff04847890dd" Owner="" Priority="2147483647" Enabled="True" CssProjectStructure="" CssIteration="" Timeout="0" WorkItemIds="" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010" Description="" CredentialUserName="" CredentialPassword="" PreAuthenticate="True" Proxy="default" StopOnError="False" RecordedResultFile="AF01_Validate.6a8db5ff-429b-4974-af50-cb343710eaca.rec.webtestresult" ResultsLocale="">
<Items>
<Request Method="POST" Guid="cec260fa-0c7c-4925-82a9-3ecad0512156" Version="1.1" Url="http://localhost:8080/EmailValidator" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False">
<Headers>
<Header Name="SOAPAction" Value="http://tempuri.org/IEmailValidator/ValidateAddress" />
</Headers>
<StringHttpBody ContentType="text/xml" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABWAGEAbABpAGQAYQB0AGUAQQBkAGQAcgBlAHMAcwAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4APABlAG0AYQBpAGwAQQBkAGQAcgBlAHMAcwA+AGMAaAByAGkAcwB0AGkAYQBuAEAAZwBlAHIAZABlAHMALgBzAGUAPAAvAGUAbQBhAGkAbABBAGQAZAByAGUAcwBzAD4APAAvAFYAYQBsAGkAZABhAHQAZQBBAGQAZAByAGUAcwBzAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody>
</Request>
</Items>
</WebTest>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<WebTest Name="AF02_CheckIfFull" Id="83c79875-4fb1-4e24-bf08-8f100b5065ce" Owner="" Priority="2147483647" Enabled="True" CssProjectStructure="" CssIteration="" Timeout="0" WorkItemIds="" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010" Description="" CredentialUserName="" CredentialPassword="" PreAuthenticate="True" Proxy="default" StopOnError="False" RecordedResultFile="AF01_Validate.6a8db5ff-429b-4974-af50-cb343710eaca.rec.webtestresult" ResultsLocale="">
<Items>
<Request Method="POST" Guid="cec260fa-0c7c-4925-82a9-3ecad0512156" Version="1.1" Url="http://localhost:8080/EmailValidator" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False">
<Headers>
<Header Name="SOAPAction" Value="http://tempuri.org/IEmailValidator/checkIfFull" />
</Headers>
<StringHttpBody ContentType="text/xml" InsertByteOrderMark="False">PABzAG8AYQBwAGUAbgB2ADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwBvAGEAcABlAG4AdgA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAIAB4AG0AbABuAHMAOgB0AGUAbQA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4ADQAKACAAIAAgADwAcwBvAGEAcABlAG4AdgA6AEgAZQBhAGQAZQByAC8APgANAAoAIAAgACAAPABzAG8AYQBwAGUAbgB2ADoAQgBvAGQAeQA+AA0ACgAgACAAIAAgACAAIAA8AHQAZQBtADoAYwBoAGUAYwBrAEkAZgBGAHUAbABsAC8APgANAAoAIAAgACAAPAAvAHMAbwBhAHAAZQBuAHYAOgBCAG8AZAB5AD4ADQAKADwALwBzAG8AYQBwAGUAbgB2ADoARQBuAHYAZQBsAG8AcABlAD4A</StringHttpBody>
</Request>
</Items>
</WebTest>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<WebTest Name="AF02_CheckIfFull2" Id="60a8ff89-c9d5-46b9-bb91-0f6220db8b49" Owner="" Priority="2147483647" Enabled="True" CssProjectStructure="" CssIteration="" Timeout="0" WorkItemIds="" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010" Description="" CredentialUserName="" CredentialPassword="" PreAuthenticate="True" Proxy="default" StopOnError="False" RecordedResultFile="AF01_Validate.6a8db5ff-429b-4974-af50-cb343710eaca.rec.webtestresult" ResultsLocale="">
<Items>
<Request Method="POST" Guid="cec260fa-0c7c-4925-82a9-3ecad0512156" Version="1.1" Url="http://localhost:8080/EmailValidator" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False">
<Headers>
<Header Name="SOAPAction" Value="http://tempuri.org/IEmailValidator/checkIfFull2" />
</Headers>
<StringHttpBody ContentType="text/xml" InsertByteOrderMark="False">PABzAG8AYQBwAGUAbgB2ADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwBvAGEAcABlAG4AdgA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAIAB4AG0AbABuAHMAOgB0AGUAbQA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4ADQAKACAAIAAgADwAcwBvAGEAcABlAG4AdgA6AEgAZQBhAGQAZQByAC8APgANAAoAIAAgACAAPABzAG8AYQBwAGUAbgB2ADoAQgBvAGQAeQA+AA0ACgAgACAAIAAgACAAIAA8AHQAZQBtADoAYwBoAGUAYwBrAEkAZgBGAHUAbABsADIALwA+AA0ACgAgACAAIAA8AC8AcwBvAGEAcABlAG4AdgA6AEIAbwBkAHkAPgANAAoAPAAvAHMAbwBhAHAAZQBuAHYAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody>
</Request>
</Items>
</WebTest>
\ No newline at end of file
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PerformanceTestProject
{
/// <summary>
/// Summary description for EmailValidatorPerfTest
/// </summary>
[TestClass]
public class EmailValidatorPerfTest
{
public EmailValidatorPerfTest()
{
//
// TODO: Add constructor logic here
//
}
private TestContext testContextInstance;
/// <summary>
///Gets or sets the test context which provides
///information about and functionality for the current test run.
///</summary>
public TestContext TestContext
{
get
{
return testContextInstance;
}
set
{
testContextInstance = value;
}
}
#region Additional test attributes
//
// You can use the following additional attributes as you write your tests:
//
// Use ClassInitialize to run code before running the first test in the class
// [ClassInitialize()]
// public static void MyClassInitialize(TestContext testContext) { }
//
// Use ClassCleanup to run code after all tests in a class have run
// [ClassCleanup()]
// public static void MyClassCleanup() { }
//
// Use TestInitialize to run code before running each test
// [TestInitialize()]
// public void MyTestInitialize() { }
//
// Use TestCleanup to run code after each test has run
// [TestCleanup()]
// public void MyTestCleanup() { }
//
#endregion
[TestMethod]
public void AF01_Validate()
{
// Skapa en instans av klienten till tjänsten (gör inget anrop)
TestContext.WriteLine("Skapar klienten..");
EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient();
myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator");
// Simulera lite betänketid
System.Threading.Thread.Sleep(0);
// Logga vad vi gör...
TestContext.WriteLine("Anropar Validate med indata: " + "christian@gerdes.se");
// Skapa timer
TestContext.BeginTimer("01_ValidateCall");
// Utför anrop mot tjänsten
bool response = myClient.ValidateAddress("christian@gerdes.se");
// Stoppa Timer
TestContext.EndTimer("01_ValidateCall");
// Verifiera svaret
TestContext.WriteLine("Svaret som mottogs är: " + response.ToString());
Assert.IsTrue(response, "Verifiering av epostadress misslyckades");
// Stäng instansen
TestContext.WriteLine("Stänger klienten..");
myClient.Close();
}
[TestMethod]
public void AF02_CheckIfFull()
{
if (TestContext.Properties["TT"] == null)
TestContext.Properties.Add("TT", "500");
// Skapa en instans av klienten till tjänsten (gör inget anrop)
TestContext.WriteLine("Skapar klienten..");
EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient();
myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator");
// Läs TT från context
int myTT = int.Parse(TestContext.Properties["TT"].ToString());
TestContext.WriteLine("Använder TT: " + myTT + " ms");
// Simulera lite betänketid
System.Threading.Thread.Sleep(myTT);
// Logga vad vi gör...
TestContext.WriteLine("Anropar CheckIfFull");
// Skapa timer
TestContext.BeginTimer("01_CheckIfFull");
// Utför anrop mot tjänsten
bool response = myClient.checkIfFull();
// Stoppa Timer
TestContext.EndTimer("01_CheckIfFull");
// Verifiera svaret
TestContext.WriteLine("Svaret som mottogs är: " + response.ToString());
Assert.IsTrue(response, "CheckIfFull anropet misslyckades, svaret ej True");
// Stäng instansen
TestContext.WriteLine("Stänger klienten..");
myClient.Close();
}
[TestMethod]
public void AF03_Register()
{
if (TestContext.Properties["TT"] == null)
TestContext.Properties.Add("TT", "500");
// Skapa en instans av klienten till tjänsten (gör inget anrop)
TestContext.WriteLine("Skapar klienten..");
EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient();
myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator");
// Läs TT från context
int myTT = int.Parse(TestContext.Properties["TT"].ToString());
TestContext.WriteLine("Använder TT: " + myTT + " ms");
// Simulera lite betänketid
System.Threading.Thread.Sleep(myTT);
// Logga vad vi gör...
TestContext.WriteLine("Anropar CheckIfFull");
// Skapa timer
TestContext.BeginTimer("03_Register");
// Utför anrop mot tjänsten
int response = myClient.RegisterAdress("christian.gerdes@lightsinline.se");
// Stoppa Timer
TestContext.EndTimer("03_Register");
// Verifiera svaret
TestContext.WriteLine("Svaret som mottogs är: " + response.ToString());
if(response != 0)
Assert.Fail("CheckIfFull anropet misslyckades, svaret ej True");
// Stäng instansen
TestContext.WriteLine("Stänger klienten..");
myClient.Close();
}
}
}
<?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>
</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>PerformanceTestProject</RootNamespace>
<AssemblyName>PerformanceTestProject</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
<IsCodedUITest>False</IsCodedUITest>
<TestProjectType>WebTest</TestProjectType>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>4.0</OldToolsVersion>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</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>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.VisualStudio.QualityTools.LoadTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies">
<Visible>False</Visible>
</CodeAnalysisDependentAssemblyPaths>
</ItemGroup>
<ItemGroup>
<Compile Include="EmailValidatorPerfTest.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Service References\EmailValidatorServiceReference\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.svcmap</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<ItemGroup>
<None Include="AF02_CheckIfFull2.webtest">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="AF02_CheckIfFull.webtest">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="AF01_Validate.webtest">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="app.config" />
<None Include="EmailValidator.loadtest">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<WCFMetadataStorage Include="Service References\EmailValidatorServiceReference\" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\EmailValidatorServiceReference\configuration91.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\EmailValidatorServiceReference\configuration.svcinfo" />
</ItemGroup>
<ItemGroup>
<None Include="Service References\EmailValidatorServiceReference\EmailValidator1.wsdl" />
<None Include="Service References\EmailValidatorServiceReference\EmailValidator2.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\EmailValidatorServiceReference\EmailValidator21.xsd">
<SubType>Designer</SubType>
</None>
<None Include="Service References\EmailValidatorServiceReference\Reference.svcmap">
<Generator>WCF Proxy Generator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\LoadTestLib\LoadTestLib\PluginLib.csproj">
<Project>{226AB0FE-47CF-4C69-8330-C86327AA4246}</Project>
<Name>PluginLib</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="Service References\EmailValidatorServiceReference\EmailValidator1.disco" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.4.5">
<Visible>False</Visible>
<ProductName>Windows Installer 4.5</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<Choose>
<When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
<ItemGroup>
<Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<Private>False</Private>
</Reference>
<Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<Private>False</Private>
</Reference>
<Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<Private>False</Private>
</Reference>
<Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<Private>False</Private>
</Reference>
</ItemGroup>
</When>
</Choose>
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- 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>
\ No newline at end of file
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("PerformanceTestProject")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("PerformanceTestProject")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1ece9ef0-115b-449d-84c7-84d6b806ce72")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
<?xml version="1.0" encoding="utf-8"?>
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
<contractRef ref="http://vmwinsrv8:8080/EmailValidator?wsdl" docRef="http://vmwinsrv8:8080/EmailValidator" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
</discovery>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="EmailValidator" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xsd:schema targetNamespace="http://tempuri.org/Imports">
<xsd:import schemaLocation="http://vmwinsrv8:8080/EmailValidator?xsd=xsd0" namespace="http://tempuri.org/" />
<xsd:import schemaLocation="http://vmwinsrv8:8080/EmailValidator?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
</xsd:schema>
</wsdl:types>
<wsdl:message name="IEmailValidator_ValidateAddress_InputMessage">
<wsdl:part name="parameters" element="tns:ValidateAddress" />
</wsdl:message>
<wsdl:message name="IEmailValidator_ValidateAddress_OutputMessage">
<wsdl:part name="parameters" element="tns:ValidateAddressResponse" />
</wsdl:message>
<wsdl:message name="IEmailValidator_RegisterAdress_InputMessage">
<wsdl:part name="parameters" element="tns:RegisterAdress" />
</wsdl:message>
<wsdl:message name="IEmailValidator_RegisterAdress_OutputMessage">
<wsdl:part name="parameters" element="tns:RegisterAdressResponse" />
</wsdl:message>
<wsdl:message name="IEmailValidator_GetAdress_InputMessage">
<wsdl:part name="parameters" element="tns:GetAdress" />
</wsdl:message>
<wsdl:message name="IEmailValidator_GetAdress_OutputMessage">
<wsdl:part name="parameters" element="tns:GetAdressResponse" />
</wsdl:message>
<wsdl:message name="IEmailValidator_checkIfFull_InputMessage">
<wsdl:part name="parameters" element="tns:checkIfFull" />
</wsdl:message>
<wsdl:message name="IEmailValidator_checkIfFull_OutputMessage">
<wsdl:part name="parameters" element="tns:checkIfFullResponse" />
</wsdl:message>
<wsdl:message name="IEmailValidator_checkIfFull2_InputMessage">
<wsdl:part name="parameters" element="tns:checkIfFull2" />
</wsdl:message>
<wsdl:message name="IEmailValidator_checkIfFull2_OutputMessage">
<wsdl:part name="parameters" element="tns:checkIfFull2Response" />
</wsdl:message>
<wsdl:portType name="IEmailValidator">
<wsdl:operation name="ValidateAddress">
<wsdl:input wsaw:Action="http://tempuri.org/IEmailValidator/ValidateAddress" message="tns:IEmailValidator_ValidateAddress_InputMessage" />
<wsdl:output wsaw:Action="http://tempuri.org/IEmailValidator/ValidateAddressResponse" message="tns:IEmailValidator_ValidateAddress_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="RegisterAdress">
<wsdl:input wsaw:Action="http://tempuri.org/IEmailValidator/RegisterAdress" message="tns:IEmailValidator_RegisterAdress_InputMessage" />
<wsdl:output wsaw:Action="http://tempuri.org/IEmailValidator/RegisterAdressResponse" message="tns:IEmailValidator_RegisterAdress_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="GetAdress">
<wsdl:input wsaw:Action="http://tempuri.org/IEmailValidator/GetAdress" message="tns:IEmailValidator_GetAdress_InputMessage" />
<wsdl:output wsaw:Action="http://tempuri.org/IEmailValidator/GetAdressResponse" message="tns:IEmailValidator_GetAdress_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="checkIfFull">
<wsdl:input wsaw:Action="http://tempuri.org/IEmailValidator/checkIfFull" message="tns:IEmailValidator_checkIfFull_InputMessage" />
<wsdl:output wsaw:Action="http://tempuri.org/IEmailValidator/checkIfFullResponse" message="tns:IEmailValidator_checkIfFull_OutputMessage" />
</wsdl:operation>
<wsdl:operation name="checkIfFull2">
<wsdl:input wsaw:Action="http://tempuri.org/IEmailValidator/checkIfFull2" message="tns:IEmailValidator_checkIfFull2_InputMessage" />
<wsdl:output wsaw:Action="http://tempuri.org/IEmailValidator/checkIfFull2Response" message="tns:IEmailValidator_checkIfFull2_OutputMessage" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="BasicHttpBinding_IEmailValidator" type="tns:IEmailValidator">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="ValidateAddress">
<soap:operation soapAction="http://tempuri.org/IEmailValidator/ValidateAddress" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="RegisterAdress">
<soap:operation soapAction="http://tempuri.org/IEmailValidator/RegisterAdress" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="GetAdress">
<soap:operation soapAction="http://tempuri.org/IEmailValidator/GetAdress" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="checkIfFull">
<soap:operation soapAction="http://tempuri.org/IEmailValidator/checkIfFull" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="checkIfFull2">
<soap:operation soapAction="http://tempuri.org/IEmailValidator/checkIfFull2" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="EmailValidator">
<wsdl:port name="BasicHttpBinding_IEmailValidator" binding="tns:BasicHttpBinding_IEmailValidator">
<soap:address location="http://vmwinsrv8:8080/EmailValidator" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="ValidateAddress">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="emailAddress" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ValidateAddressResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="ValidateAddressResult" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RegisterAdress">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="emailAddress" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RegisterAdressResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="RegisterAdressResult" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetAdress">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="userID" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GetAdressResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="GetAdressResult" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="checkIfFull">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="checkIfFullResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="checkIfFullResult" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="checkIfFull2">
<xs:complexType>
<xs:sequence />
</xs:complexType>
</xs:element>
<xs:element name="checkIfFull2Response">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="checkIfFull2Result" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
\ No newline at end of file
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace PerformanceTestProject.EmailValidatorServiceReference {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="EmailValidatorServiceReference.IEmailValidator")]
public interface IEmailValidator {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmailValidator/ValidateAddress", ReplyAction="http://tempuri.org/IEmailValidator/ValidateAddressResponse")]
bool ValidateAddress(string emailAddress);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmailValidator/RegisterAdress", ReplyAction="http://tempuri.org/IEmailValidator/RegisterAdressResponse")]
int RegisterAdress(string emailAddress);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmailValidator/GetAdress", ReplyAction="http://tempuri.org/IEmailValidator/GetAdressResponse")]
string GetAdress(int userID);
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmailValidator/checkIfFull", ReplyAction="http://tempuri.org/IEmailValidator/checkIfFullResponse")]
bool checkIfFull();
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmailValidator/checkIfFull2", ReplyAction="http://tempuri.org/IEmailValidator/checkIfFull2Response")]
bool checkIfFull2();
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface IEmailValidatorChannel : PerformanceTestProject.EmailValidatorServiceReference.IEmailValidator, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class EmailValidatorClient : System.ServiceModel.ClientBase<PerformanceTestProject.EmailValidatorServiceReference.IEmailValidator>, PerformanceTestProject.EmailValidatorServiceReference.IEmailValidator {
public EmailValidatorClient() {
}
public EmailValidatorClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public EmailValidatorClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public EmailValidatorClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public EmailValidatorClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public bool ValidateAddress(string emailAddress) {
return base.Channel.ValidateAddress(emailAddress);
}
public int RegisterAdress(string emailAddress) {
return base.Channel.RegisterAdress(emailAddress);
}
public string GetAdress(int userID) {
return base.Channel.GetAdress(userID);
}
public bool checkIfFull() {
return base.Channel.checkIfFull();
}
public bool checkIfFull2() {
return base.Channel.checkIfFull2();
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="1092dbc4-7399-493c-8c22-c14b718f76fe" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
<ClientOptions>
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
<EnableDataBinding>true</EnableDataBinding>
<ExcludedTypes />
<ImportXmlTypes>false</ImportXmlTypes>
<GenerateInternalTypes>false</GenerateInternalTypes>
<GenerateMessageContracts>false</GenerateMessageContracts>
<NamespaceMappings />
<CollectionMappings />
<GenerateSerializableTypes>true</GenerateSerializableTypes>
<Serializer>Auto</Serializer>
<UseSerializerForFaults>true</UseSerializerForFaults>
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
<ReferencedAssemblies />
<ReferencedDataContractTypes />
<ServiceContractMappings />
</ClientOptions>
<MetadataSources>
<MetadataSource Address="http://vmwinsrv8:8080/EmailValidator" Protocol="http" SourceId="1" />
</MetadataSources>
<Metadata>
<MetadataFile FileName="EmailValidator2.xsd" MetadataType="Schema" ID="4b9991d3-2162-4bc7-9277-4d5297e13ebb" SourceId="1" SourceUrl="http://vmwinsrv8:8080/EmailValidator?xsd=xsd0" />
<MetadataFile FileName="EmailValidator1.disco" MetadataType="Disco" ID="b2c0a6d7-ea5e-4557-b583-502714c3ccc3" SourceId="1" SourceUrl="http://vmwinsrv8:8080/EmailValidator?disco" />
<MetadataFile FileName="EmailValidator21.xsd" MetadataType="Schema" ID="fd22d22e-236d-4cee-864d-44441569f21b" SourceId="1" SourceUrl="http://vmwinsrv8:8080/EmailValidator?xsd=xsd1" />
<MetadataFile FileName="EmailValidator1.wsdl" MetadataType="Wsdl" ID="66f0a180-8560-4d2f-94cd-b73ebb76c6f6" SourceId="1" SourceUrl="http://vmwinsrv8:8080/EmailValidator?wsdl" />
</Metadata>
<Extensions>
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
</Extensions>
</ReferenceGroup>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
<behaviors />
<bindings>
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data name=&quot;BasicHttpBinding_IEmailValidator&quot; /&gt;" bindingType="basicHttpBinding" name="BasicHttpBinding_IEmailValidator" />
</bindings>
<endpoints>
<endpoint normalizedDigest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://vmwinsrv8:8080/EmailValidator&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_IEmailValidator&quot; contract=&quot;EmailValidatorServiceReference.IEmailValidator&quot; name=&quot;BasicHttpBinding_IEmailValidator&quot; /&gt;" digest="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-16&quot;?&gt;&lt;Data address=&quot;http://vmwinsrv8:8080/EmailValidator&quot; binding=&quot;basicHttpBinding&quot; bindingConfiguration=&quot;BasicHttpBinding_IEmailValidator&quot; contract=&quot;EmailValidatorServiceReference.IEmailValidator&quot; name=&quot;BasicHttpBinding_IEmailValidator&quot; /&gt;" contractName="EmailValidatorServiceReference.IEmailValidator" name="BasicHttpBinding_IEmailValidator" />
</endpoints>
</configurationSnapshot>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<diagnostics performanceCounters="ServiceOnly" />
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IEmailValidator" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://vmwinsrv8:8080/EmailValidator" binding="basicHttpBinding"
bindingConfiguration="BasicHttpBinding_IEmailValidator" contract="EmailValidatorServiceReference.IEmailValidator"
name="BasicHttpBinding_IEmailValidator" />
</client>
</system.serviceModel>
</configuration>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<TestSettings name="Taurus" id="2f8ab51a-cbad-4cf1-aab3-ae44b1596084" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Description>These are default test settings for a local test run.</Description>
<RemoteController name="taurus.lightsinline.se" />
<Execution location="Remote">
<TestTypeSpecific>
<UnitTestRunConfig testTypeId="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b">
<AssemblyResolution>
<TestDirectory useLoadContext="true" />
</AssemblyResolution>
</UnitTestRunConfig>
<WebTestRunConfiguration testTypeId="4e7599fa-5ecb-43e9-a887-cd63cf72d207">
<Browser name="Internet Explorer 7.0">
<Headers>
<Header name="User-Agent" value="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" />
<Header name="Accept" value="*/*" />
<Header name="Accept-Language" value="{{$IEAcceptLanguage}}" />
<Header name="Accept-Encoding" value="GZIP" />
</Headers>
</Browser>
</WebTestRunConfiguration>
</TestTypeSpecific>
<AgentRule name="AllAgentsDefaultRole">
</AgentRule>
</Execution>
</TestSettings>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<TestSettings name="Trace and Test Impact" id="1dea9a0f-0409-4efc-a227-6644f4af8aea" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Description>These are test settings for Trace and Test Impact.</Description>
<Execution>
<TestTypeSpecific />
<AgentRule name="Execution Agents">
<DataCollectors>
<DataCollector uri="datacollector://microsoft/SystemInfo/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TestTools.DataCollection.SystemInfo.SystemInfoDataCollector, Microsoft.VisualStudio.TestTools.DataCollection.SystemInfo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="System Information">
</DataCollector>
<DataCollector uri="datacollector://microsoft/ActionLog/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TestTools.ManualTest.ActionLog.ActionLogPlugin, Microsoft.VisualStudio.TestTools.ManualTest.ActionLog, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="Actions">
</DataCollector>
<DataCollector uri="datacollector://microsoft/HttpProxy/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TraceCollector.HttpProxyCollector, Microsoft.VisualStudio.TraceCollector, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="ASP.NET Client Proxy for IntelliTrace and Test Impact">
</DataCollector>
<DataCollector uri="datacollector://microsoft/TestImpact/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TraceCollector.TestImpactDataCollector, Microsoft.VisualStudio.TraceCollector, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="Test Impact">
</DataCollector>
<DataCollector uri="datacollector://microsoft/TraceDebugger/1.0" assemblyQualifiedName="Microsoft.VisualStudio.TraceCollector.TraceDebuggerDataCollector, Microsoft.VisualStudio.TraceCollector, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" friendlyName="IntelliTrace">
</DataCollector>
</DataCollectors>
</AgentRule>
</Execution>
</TestSettings>
\ No newline at end of file

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8784D56B-3A97-4F31-9E2F-36A6099C8D8E}"
ProjectSection(SolutionItems) = preProject
Local.testsettings = Local.testsettings
Taurus.testsettings = Taurus.testsettings
TraceAndTestImpact.testsettings = TraceAndTestImpact.testsettings
WCFPerformanceServiceDemo.vsmdi = WCFPerformanceServiceDemo.vsmdi
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PerformanceService", "PerformanceService\PerformanceService.csproj", "{298113F4-7126-4E1A-ADD1-F6C5327370E8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleHostApp", "ConsoleHostApp\ConsoleHostApp.csproj", "{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PerformanceTestProject", "PerformanceTestProject\PerformanceTestProject.csproj", "{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PluginLib", "LoadTestLib\LoadTestLib\PluginLib.csproj", "{226AB0FE-47CF-4C69-8330-C86327AA4246}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{298113F4-7126-4E1A-ADD1-F6C5327370E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{298113F4-7126-4E1A-ADD1-F6C5327370E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{298113F4-7126-4E1A-ADD1-F6C5327370E8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{298113F4-7126-4E1A-ADD1-F6C5327370E8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{298113F4-7126-4E1A-ADD1-F6C5327370E8}.Debug|x86.ActiveCfg = Debug|Any CPU
{298113F4-7126-4E1A-ADD1-F6C5327370E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{298113F4-7126-4E1A-ADD1-F6C5327370E8}.Release|Any CPU.Build.0 = Release|Any CPU
{298113F4-7126-4E1A-ADD1-F6C5327370E8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{298113F4-7126-4E1A-ADD1-F6C5327370E8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{298113F4-7126-4E1A-ADD1-F6C5327370E8}.Release|x86.ActiveCfg = Release|Any CPU
{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}.Debug|Any CPU.ActiveCfg = Debug|x86
{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}.Debug|Mixed Platforms.Build.0 = Debug|x86
{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}.Debug|x86.ActiveCfg = Debug|x86
{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}.Debug|x86.Build.0 = Debug|x86
{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}.Release|Any CPU.ActiveCfg = Release|x86
{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}.Release|Mixed Platforms.ActiveCfg = Release|x86
{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}.Release|Mixed Platforms.Build.0 = Release|x86
{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}.Release|x86.ActiveCfg = Release|x86
{111EAA75-6E7A-48CA-8C9D-56EC2FE08BB2}.Release|x86.Build.0 = Release|x86
{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}.Debug|x86.ActiveCfg = Debug|Any CPU
{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}.Release|Any CPU.Build.0 = Release|Any CPU
{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{BF25A2FB-91ED-4BE2-8772-FC5E2380B86D}.Release|x86.ActiveCfg = Release|Any CPU
{226AB0FE-47CF-4C69-8330-C86327AA4246}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{226AB0FE-47CF-4C69-8330-C86327AA4246}.Debug|Any CPU.Build.0 = Debug|Any CPU
{226AB0FE-47CF-4C69-8330-C86327AA4246}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{226AB0FE-47CF-4C69-8330-C86327AA4246}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{226AB0FE-47CF-4C69-8330-C86327AA4246}.Debug|x86.ActiveCfg = Debug|Any CPU
{226AB0FE-47CF-4C69-8330-C86327AA4246}.Release|Any CPU.ActiveCfg = Release|Any CPU
{226AB0FE-47CF-4C69-8330-C86327AA4246}.Release|Any CPU.Build.0 = Release|Any CPU
{226AB0FE-47CF-4C69-8330-C86327AA4246}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{226AB0FE-47CF-4C69-8330-C86327AA4246}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{226AB0FE-47CF-4C69-8330-C86327AA4246}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(TestCaseManagementSettings) = postSolution
CategoryFile = WCFPerformanceServiceDemo.vsmdi
EndGlobalSection
EndGlobal
<?xml version="1.0" encoding="UTF-8"?>
<TestLists xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<TestList name="Lists of Tests" id="8c43106b-9dc1-4907-a29f-aa66a61bf5b6">
<RunConfiguration id="df2338c8-420f-4a05-9bb3-48c6f2903d23" name="Local" storage="local.testsettings" type="Microsoft.VisualStudio.TestTools.Common.TestRunConfiguration, Microsoft.VisualStudio.QualityTools.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</TestList>
</TestLists>
\ No newline at end of file