/// Loggar alla transaktioners svarstider som context parametrar
/// </summary>
[DisplayName("Set Test Info As Header")]
[Description("(C) Copyright 2017 LIGHTS IN LINE AB\r\nAdds name information from transactions, pages, tests into a header in requests so that it can be used to group upon in tools like AppDynamics, DynaTrace, etc.")]
publicclassSetTestInfoAsHeader:WebTestPlugin
{
[DisplayName("Header Prefix")]
[Description("Prefix of the header to be added on requests")]
[DefaultValue("X-Sipoz")]
publicStringHeaderName{get;set;}
[DisplayName("Tests")]
[Description("Add the Test name as a header with <prefix>-TestName")]
[DefaultValue(true)]
publicboolonTransaction{get;set;}
[DisplayName("Transactions")]
[Description("Add the transaction name as a header with <prefix>-TransactionName")]
<ValidationRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidateResponseUrl, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DisplayName="Response URL" Description="Validates that the response URL after redirects are followed is the same as the recorded response URL. QueryString parameters are ignored." Level="Low" ExectuionOrder="BeforeDependents" />
<WebTestPlugin Classname="LIL_VSTT_Plugins.SetTestInfoAsHeader, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Set Test Info As Header" Description="(C) Copyright 2017 LIGHTS IN LINE AB
Adds name information from transactions, pages, tests into a header in requests so that it can be used to group upon in tools like AppDynamics, DynaTrace, etc.">