Nya tester som använder QueuePop.
Även flyttat in testdatafilerna till en Testdata mapp som deployas av local.testsettings.
Showing
9 changed files
with
24 additions
and
24 deletions
... | @@ -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> | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -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> | ... | ... |
TestProject1/Testdata/UserdataFew1.csv
0 → 100644
TestProject1/Testdata/UserdataFew2.csv
0 → 100644
TestProject1/UserdataFew.csv
deleted
100644 → 0
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 | ... | ... |
TestProject1/WebTest2.webtest
0 → 100644
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 |
-
Please register or sign in to post a comment