Commit 96bbe62e 96bbe62e591dda712dac4687b3c0ca1c5c48d555 by Christian Gerdes

Nya tester som använder QueuePop.

Även flyttat in testdatafilerna till en Testdata mapp som deployas av local.testsettings.
1 parent ab0a8bfb
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
2 <TestSettings name="Local" id="f9146b42-ca07-41ed-9af4-6ec2afc90583" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"> 2 <TestSettings name="Local" id="f9146b42-ca07-41ed-9af4-6ec2afc90583" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
3 <Description>These are default test settings for a local test run.</Description> 3 <Description>These are default test settings for a local test run.</Description>
4 <Deployment> 4 <Deployment>
5 <DeploymentItem filename="TestProject1\UserdataFew.csv" /> 5 <DeploymentItem filename="TestProject1\Testdata\" />
6 <DeploymentItem filename="TestProject1\Userdata.csv" />
7 </Deployment> 6 </Deployment>
8 <Execution hostProcessPlatform="MSIL"> 7 <Execution hostProcessPlatform="MSIL">
9 <TestTypeSpecific> 8 <TestTypeSpecific>
......
...@@ -74,12 +74,18 @@ ...@@ -74,12 +74,18 @@
74 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 74 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
75 </None> 75 </None>
76 <Content Include="PageTimeExample.sql" /> 76 <Content Include="PageTimeExample.sql" />
77 <Content Include="UserdataFew.csv"> 77 <Content Include="Testdata\UserdataFew2.csv">
78 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 78 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
79 </Content> 79 </Content>
80 <Content Include="Userdata.csv"> 80 <Content Include="Testdata\Userdata.csv">
81 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 81 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
82 </Content> 82 </Content>
83 <Content Include="Testdata\UserdataFew1.csv">
84 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
85 </Content>
86 <None Include="WebTest2.webtest">
87 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
88 </None>
83 <None Include="WebTest1.webtest"> 89 <None Include="WebTest1.webtest">
84 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 90 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
85 </None> 91 </None>
......
1 UserName
2 1user1
3 1user2
4 1user3
...\ No newline at end of file ...\ No newline at end of file
1 UserName
2 2user1
3 2user2
4 2user3
...\ No newline at end of file ...\ No newline at end of file
1 UserName
2 user1
3 user2
4 user3
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <WebTest Name="WebTest1" Id="c649760b-6dd8-4210-8a6d-3c6596d08668" 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="WebTest1.a5a27e2d-474c-43bb-be4d-1b12e85851a0.rec.webtestresult" ResultsLocale=""> 2 <WebTest Name="WebTest1" Id="c649760b-6dd8-4210-8a6d-3c6596d08668" 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="WebTest1.a5a27e2d-474c-43bb-be4d-1b12e85851a0.rec.webtestresult" ResultsLocale="">
3 <Items> 3 <Items>
4 <Request Method="POST" Guid="e57c04e5-b0f0-497a-bb41-3d4f42ea39cd" Version="1.1" Url="http://www.lil.nu/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False"> 4 <Request Method="GET" Guid="2abac3b8-caac-4dee-a55a-a006b6372154" Version="1.1" Url="http://fileserver2/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" />
5 <RequestPlugins>
6 <RequestPlugin Classname="LIL_VSTT_Plugins.ZipFileUploadBeforePost, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Zip File Upload" Description="Creates an ZIP archive of each of the files to be uploaded using the files name and adding .zip. Warning, uses %TEMP% for temp storage." />
7 </RequestPlugins>
8 <FormPostHttpBody>
9 <FileUploadParameter Name="file" FileName="V:\projekt\2017\idag\data\generated-aug14\generated-files\out\large0\0large.xml" ContentType="application/octet-stream" GenerateUniqueName="False" UseGuids="False" FileUploadName="0large.xml" HtmlEncodeFileName="True" />
10 <FormPostParameter Name="TestParam" Value="0" RecordedValue="" CorrelationBinding="" UrlEncode="True" />
11 </FormPostHttpBody>
12 </Request>
13 </Items> 5 </Items>
14 <DataSources>
15 <DataSource Name="DataSource1" Provider="Microsoft.VisualStudio.TestTools.DataSource.CSV" Connection="|DataDirectory|\Userdata.csv">
16 <Tables>
17 <DataSourceTable Name="Userdata#csv" SelectColumns="SelectOnlyBoundColumns" AccessMethod="DoNotMoveCursor" />
18 </Tables>
19 </DataSource>
20 </DataSources>
21 </WebTest> 6 </WebTest>
...\ No newline at end of file ...\ No newline at end of file
......
1 <?xml version="1.0" encoding="utf-8"?>
2 <WebTest Name="WebTest1 - Copy" Id="91d7c2e3-269a-4c8c-bf86-34a59b587b73" 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="WebTest1.a5a27e2d-474c-43bb-be4d-1b12e85851a0.rec.webtestresult" ResultsLocale="">
3 <Items>
4 <Request Method="GET" Guid="2abac3b8-caac-4dee-a55a-a006b6372154" Version="1.1" Url="http://fileserver2/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" />
5 </Items>
6 </WebTest>
...\ No newline at end of file ...\ No newline at end of file