WebTest5.webtest 11.7 KB
<?xml version="1.0" encoding="utf-8"?>
<WebTest Name="WebTest5" Id="63fe7ff5-9893-443c-a521-d7edfb0f4b6f" 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="WebTest5.10d2bf93-1ab4-4a60-b4ff-f80b74d5d7e4.rec.webtestresult" ResultsLocale="">
  <Items>
    <Request Method="GET" Guid="08f1a452-a418-42f5-b2b5-4af0b4edd606" Version="1.1" Url="https://u01915.kap.rsv.se:17021/webztv/public/startpage.html" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" />
    <Request Method="GET" Guid="f86097b6-80dc-469b-adcc-344272f85cd6" Version="1.1" Url="https://u01915.kap.rsv.se:17021/webztv/public/startpage.html" ThinkTime="4" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" />
    <Request Method="GET" Guid="b2898a9c-7e7b-466f-aac1-17005354a578" Version="1.1" Url="https://u01915.kap.rsv.se:17021/webztv/public/startpage.html" ThinkTime="4" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False">
      <CorrelationExtractionRules>
        <ExtractionRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ExtractText, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" VariableName="QueryStringParam6.method" DisplayName="" Description="">
          <RuleParameters>
            <RuleParameter Name="StartsWith" Value="?method=" />
            <RuleParameter Name="EndsWith" Value="&quot;" />
            <RuleParameter Name="Index" Value="1" />
            <RuleParameter Name="IgnoreCase" Value="False" />
            <RuleParameter Name="UseRegularExpression" Value="False" />
            <RuleParameter Name="HtmlDecode" Value="True" />
            <RuleParameter Name="Required" Value="False" />
          </RuleParameters>
        </ExtractionRule>
        <ExtractionRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ExtractText, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" VariableName="QueryStringParam8.method" DisplayName="" Description="">
          <RuleParameters>
            <RuleParameter Name="StartsWith" Value="?method=" />
            <RuleParameter Name="EndsWith" Value="&quot;" />
            <RuleParameter Name="Index" Value="1" />
            <RuleParameter Name="IgnoreCase" Value="False" />
            <RuleParameter Name="UseRegularExpression" Value="False" />
            <RuleParameter Name="HtmlDecode" Value="True" />
            <RuleParameter Name="Required" Value="False" />
          </RuleParameters>
        </ExtractionRule>
      </CorrelationExtractionRules>
    </Request>
    <Request Method="GET" Guid="484965f3-86e1-4ee6-a227-7d5c0b97dddd" Version="1.1" Url="https://u01915.kap.rsv.se:17021/webztv/login.do" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" ReportingName="" IgnoreHttpStatusCode="False">
      <DependentRequests>
        <Request Method="GET" Guid="00504724-ed20-48bc-9afb-9d047ab70c16" Version="1.1" Url="https://u01915.kap.rsv.se:17021/webztv/secure/rest/env/buildinfo" 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="Accept" Value="application/json, text/plain, */*" />
            <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
          </Headers>
        </Request>
        <Request Method="GET" Guid="8d83add9-d60e-4fe6-85ba-d2e73154b21a" Version="1.1" Url="https://u01915.kap.rsv.se:17021/webztv/secure/rest/env/userinfo" 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="Accept" Value="application/json, text/plain, */*" />
            <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
          </Headers>
        </Request>
        <Request Method="GET" Guid="70a80406-b288-40e6-b498-c322a0f69fba" Version="1.1" Url="https://u01915.kap.rsv.se:17021/webztv/secure/rest/env/userinfo" 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="Accept" Value="application/json, text/plain, */*" />
            <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
          </Headers>
        </Request>
        <Request Method="GET" Guid="ebe292e4-18c6-4626-82ef-afca812c8833" Version="1.1" Url="https://u01915.kap.rsv.se:17021/webztv/secure/rest/env/userinfo" ThinkTime="50" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False">
          <Headers>
            <Header Name="Accept" Value="application/json, text/plain, */*" />
            <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
          </Headers>
        </Request>
      </DependentRequests>
      <Headers>
        <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/public/startpage.html" />
      </Headers>
      <QueryStringParameters>
        <QueryStringParameter Name="method" Value="test" RecordedValue="test" CorrelationBinding="{{QueryStringParam6.method}}" UrlEncode="False" UseToGroupResults="False" />
      </QueryStringParameters>
    </Request>
    <Request Method="GET" Guid="09c60d4b-d764-49f5-9992-4e0ce1f0fecb" Version="1.1" Url="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test#" ReportingName="" IgnoreHttpStatusCode="False">
      <QueryStringParameters>
        <QueryStringParameter Name="method" Value="test" RecordedValue="test" CorrelationBinding="{{QueryStringParam8.method}}" UrlEncode="False" UseToGroupResults="False" />
      </QueryStringParameters>
    </Request>
    <Request Method="GET" Guid="0fe23c6d-8b15-433e-83b5-50399705fedb" Version="1.1" Url="https://u01915.kap.rsv.se:17021/webztv/secure/webservicetests.html" ThinkTime="9" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False">
      <Headers>
        <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
      </Headers>
    </Request>
    <Request Method="GET" Guid="57c5c6f4-6ec7-461e-85f2-5ff56e9a7a5f" Version="1.1" Url="https://u01915.kap.rsv.se:17021/webztv/secure/rest/ws/ztvtestws" 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="Accept" Value="application/json, text/plain, */*" />
        <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/webservicetests.html" />
      </Headers>
    </Request>
  </Items>
  <ContextParameters>
    <ContextParameter Name="Cert1" Value="U:\projekt\MjukaCertifikat\Interna certifikat_2016\P12\Auth - FN10007 EN10007.p12" />
    <ContextParameter Name="Cert2" Value="U:\projekt\MjukaCertifikat\Interna certifikat\P12\FN10001 EN10001-Auth.p12" />
  </ContextParameters>
  <ValidationRules>
    <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" />
    <ValidationRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidationRuleResponseTimeGoal, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DisplayName="Response Time Goal" Description="Validates that the response time for the request is less than or equal to the response time goal as specified on the request.  Response time goals of zero will be ignored." Level="Low" ExectuionOrder="AfterDependents">
      <RuleParameters>
        <RuleParameter Name="Tolerance" Value="0" />
      </RuleParameters>
    </ValidationRule>
  </ValidationRules>
  <WebTestPlugins>
    <WebTestPlugin Classname="LIL_VSTT_Plugins.ServiceManagerWebTestPlugin, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Service Manager Config" Description="(C) Copyright 2015 LIGHTS IN LINE AB&#xD;&#xA;Sätter config värden i Service Manager instansen för hela testet.">
      <RuleParameters>
        <RuleParameter Name="exp100" Value="True" />
        <RuleParameter Name="maxIdle" Value="100" />
        <RuleParameter Name="keepAlive" Value="False" />
        <RuleParameter Name="timeOut" Value="5000" />
        <RuleParameter Name="interVal" Value="1000" />
        <RuleParameter Name="useNagle" Value="False" />
        <RuleParameter Name="useTls12" Value="True" />
      </RuleParameters>
    </WebTestPlugin>
    <WebTestPlugin Classname="LIL_VSTT_Plugins.ClientCertificatePlugin, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Client Certificate" Description="(C) Copyright 2016 LIGHTS IN LINE AB&#xD;&#xA;Sätter webtestet att använda ett specifikt client cert för SSL. Certifikatet behöver inte installeras i certstore först.">
      <RuleParameters>
        <RuleParameter Name="pCertificatePath" Value="" />
        <RuleParameter Name="pCertificatePathParameter" Value="Cert1" />
        <RuleParameter Name="pCertificatePassword" Value="abcd1234" />
        <RuleParameter Name="pCertificatePasswordParameter" Value="" />
        <RuleParameter Name="pDebug" Value="False" />
        <RuleParameter Name="pInstallTrusted" Value="True" />
        <RuleParameter Name="pInstallUntrusted" Value="True" />
      </RuleParameters>
    </WebTestPlugin>
  </WebTestPlugins>
</WebTest>