Merge with LIL GIT 2018-04-04
Showing
25 changed files
with
82 additions
and
329 deletions
1 | | 1 | |
2 | Microsoft Visual Studio Solution File, Format Version 12.00 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 |
3 | # Visual Studio 14 | 3 | # Visual Studio 2013 |
4 | VisualStudioVersion = 14.0.24720.0 | 4 | VisualStudioVersion = 12.0.40629.0 |
5 | MinimumVisualStudioVersion = 10.0.40219.1 | 5 | MinimumVisualStudioVersion = 10.0.40219.1 |
6 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8ADAFB91-C10D-42C8-8499-30B3692C27F3}" | 6 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8ADAFB91-C10D-42C8-8499-30B3692C27F3}" |
7 | ProjectSection(SolutionItems) = preProject | 7 | ProjectSection(SolutionItems) = preProject |
... | @@ -9,7 +9,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution | ... | @@ -9,7 +9,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution |
9 | Local.testsettings = Local.testsettings | 9 | Local.testsettings = Local.testsettings |
10 | Notes.md = Notes.md | 10 | Notes.md = Notes.md |
11 | README.md = README.md | 11 | README.md = README.md |
12 | WIN-62BJ8PRQ3MQ.testsettings = WIN-62BJ8PRQ3MQ.testsettings | ||
13 | EndProjectSection | 12 | EndProjectSection |
14 | EndProject | 13 | EndProject |
15 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LIL_VSTT_Plugins", "LIL_VSTT_Plugins\LIL_VSTT_Plugins.csproj", "{06A22593-601E-4386-917A-9835DE30E14E}" | 14 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LIL_VSTT_Plugins", "LIL_VSTT_Plugins\LIL_VSTT_Plugins.csproj", "{06A22593-601E-4386-917A-9835DE30E14E}" | ... | ... |
... | @@ -23,6 +23,37 @@ using Microsoft.VisualStudio.TestTools.LoadTesting; | ... | @@ -23,6 +23,37 @@ using Microsoft.VisualStudio.TestTools.LoadTesting; |
23 | 23 | ||
24 | namespace LIL_VSTT_Plugins | 24 | namespace LIL_VSTT_Plugins |
25 | { | 25 | { |
26 | [DisplayName("Add Parameter To Reporting Name")] | ||
27 | [Description("This request plugin will add the specified parameter to the end of the reporting name of the request")] | ||
28 | public class AddParameterToReportingName : WebTestRequestPlugin | ||
29 | { | ||
30 | [DisplayName("Parameter Name"), DefaultValue(""), Description("Name of the parameter which value should be added to the reporting name.")] | ||
31 | public string ParameterName { get; set; } | ||
32 | [DisplayName("Add to empty Report Name"), DefaultValue(false), Description("The parameter value will be added to report name even if it not set. Warning, will also set all redirects to the same name.")] | ||
33 | public bool AddToEmptyReportName { get; set; } | ||
34 | [DisplayName("Run on dependent requests"), DefaultValue(false), Description("The parameter value will be set as the report name on all dependent requests (only works in loadtests)")] | ||
35 | public bool RunOnDependents { get; set; } | ||
36 | public override void PreRequest(object sender, PreRequestEventArgs e) | ||
37 | { | ||
38 | base.PreRequest(sender, e); | ||
39 | if (e.WebTest.Context.ContainsKey(ParameterName) && (!String.IsNullOrEmpty(e.Request.ReportingName) || AddToEmptyReportName)) | ||
40 | { | ||
41 | e.Request.ReportingName = e.Request.ReportingName + e.WebTest.Context[ParameterName].ToString(); | ||
42 | } | ||
43 | } | ||
44 | public override void PostRequest(object sender, PostRequestEventArgs e) | ||
45 | { | ||
46 | base.PostRequest(sender, e); | ||
47 | if (RunOnDependents && e.WebTest.Context.ContainsKey(ParameterName)) | ||
48 | { | ||
49 | foreach (WebTestRequest w in e.Request.DependentRequests) | ||
50 | { | ||
51 | w.ReportingName = e.WebTest.Context[ParameterName].ToString(); | ||
52 | } | ||
53 | } | ||
54 | } | ||
55 | } | ||
56 | |||
26 | [DisplayName("Stop Here After")] | 57 | [DisplayName("Stop Here After")] |
27 | [Description("Add this plugin to a request in order to force the webtest to stop after the request has finished.")] | 58 | [Description("Add this plugin to a request in order to force the webtest to stop after the request has finished.")] |
28 | public class StopHereAfter : WebTestRequestPlugin | 59 | public class StopHereAfter : WebTestRequestPlugin |
... | @@ -110,7 +141,7 @@ namespace LIL_VSTT_Plugins | ... | @@ -110,7 +141,7 @@ namespace LIL_VSTT_Plugins |
110 | [DisplayName("Think Time Emulator 10/190"), Description("Sets a context parameter named ThinkTime in each starting test to a random value between 10%-190% of the specified value.")] | 141 | [DisplayName("Think Time Emulator 10/190"), Description("Sets a context parameter named ThinkTime in each starting test to a random value between 10%-190% of the specified value.")] |
111 | public class ThinkTimeEmulator10190 : ILoadTestPlugin | 142 | public class ThinkTimeEmulator10190 : ILoadTestPlugin |
112 | { | 143 | { |
113 | [DisplayName("ThinkTime"), DefaultValue(0), Description("The Think Time to be used seconds. Default is 0.")] | 144 | [DisplayName("ThinkTime"), DefaultValue(35), Description("The Think Time to be used seconds. Default is 35.")] |
114 | public int ThinkTime { get; set; } | 145 | public int ThinkTime { get; set; } |
115 | [DisplayName("Minimum"), DefaultValue(10), Description("Percentage of ThinkTime to be used as the minimum value")] | 146 | [DisplayName("Minimum"), DefaultValue(10), Description("Percentage of ThinkTime to be used as the minimum value")] |
116 | public int Min { get; set; } | 147 | public int Min { get; set; } |
... | @@ -135,6 +166,12 @@ namespace LIL_VSTT_Plugins | ... | @@ -135,6 +166,12 @@ namespace LIL_VSTT_Plugins |
135 | if (!String.IsNullOrEmpty(RegExScenarioName)) | 166 | if (!String.IsNullOrEmpty(RegExScenarioName)) |
136 | rxScenarioName = new Regex(RegExScenarioName); | 167 | rxScenarioName = new Regex(RegExScenarioName); |
137 | 168 | ||
169 | // Sanity checks | ||
170 | if (ThinkTime == 0) ThinkTime = 35; | ||
171 | if (Min > Max) { Min = 100; Max = 100; } | ||
172 | if (Min == 0) Min = 10; | ||
173 | if (Max == 0) Max = 190; | ||
174 | |||
138 | //connect to the TestStarting event. | 175 | //connect to the TestStarting event. |
139 | mLoadTest.TestStarting += new EventHandler<TestStartingEventArgs>(mLoadTest_TestStarting); | 176 | mLoadTest.TestStarting += new EventHandler<TestStartingEventArgs>(mLoadTest_TestStarting); |
140 | } | 177 | } | ... | ... |
... | @@ -37,8 +37,9 @@ | ... | @@ -37,8 +37,9 @@ |
37 | <ErrorReport>prompt</ErrorReport> | 37 | <ErrorReport>prompt</ErrorReport> |
38 | <WarningLevel>4</WarningLevel> | 38 | <WarningLevel>4</WarningLevel> |
39 | <Prefer32Bit>false</Prefer32Bit> | 39 | <Prefer32Bit>false</Prefer32Bit> |
40 | <CodeAnalysisRuleSet>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\Rule Sets\MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> | 40 | <CodeAnalysisRuleSet></CodeAnalysisRuleSet> |
41 | <RunCodeAnalysis>false</RunCodeAnalysis> | 41 | <RunCodeAnalysis>false</RunCodeAnalysis> |
42 | <NoWarn>1692;0618;3021</NoWarn> | ||
42 | </PropertyGroup> | 43 | </PropertyGroup> |
43 | <ItemGroup> | 44 | <ItemGroup> |
44 | <Reference Include="Microsoft.VisualStudio.QualityTools.LoadTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" /> | 45 | <Reference Include="Microsoft.VisualStudio.QualityTools.LoadTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" /> | ... | ... |
... | @@ -177,6 +177,7 @@ namespace LIL_VSTT_Plugins | ... | @@ -177,6 +177,7 @@ namespace LIL_VSTT_Plugins |
177 | private string myColNames = ""; | 177 | private string myColNames = ""; |
178 | private bool myUseRandom = true; | 178 | private bool myUseRandom = true; |
179 | private bool myUseUnique = false; | 179 | private bool myUseUnique = false; |
180 | private bool myUseUniqueFiles = false; | ||
180 | private bool myUseUniqueIteration = false; | 181 | private bool myUseUniqueIteration = false; |
181 | private bool myUseUniqueTestIteration = false; | 182 | private bool myUseUniqueTestIteration = false; |
182 | private bool myLogToFile = false; | 183 | private bool myLogToFile = false; |
... | @@ -189,10 +190,12 @@ namespace LIL_VSTT_Plugins | ... | @@ -189,10 +190,12 @@ namespace LIL_VSTT_Plugins |
189 | 190 | ||
190 | private bool stop = false; | 191 | private bool stop = false; |
191 | private int timeWait = 0; | 192 | private int timeWait = 0; |
193 | private int nextAvailableRow = 0; | ||
192 | 194 | ||
193 | private StringCollection myParams = new StringCollection(); | 195 | private StringCollection myParams = new StringCollection(); |
194 | private Random random = new Random(); | 196 | private Random random = new Random(); |
195 | private Dictionary<string, int> testIterations = new Dictionary<string, int>(); | 197 | private Dictionary<string, int> testIterations = new Dictionary<string, int>(); |
198 | private Dictionary<int, int> userRow = new Dictionary<int, int>(); | ||
196 | private LoadTest m_loadTest; | 199 | private LoadTest m_loadTest; |
197 | 200 | ||
198 | #region guiparams | 201 | #region guiparams |
... | @@ -287,6 +290,15 @@ namespace LIL_VSTT_Plugins | ... | @@ -287,6 +290,15 @@ namespace LIL_VSTT_Plugins |
287 | set { myUseUnique = value; } | 290 | set { myUseUnique = value; } |
288 | } | 291 | } |
289 | 292 | ||
293 | [DisplayName("Välj unikt per VU per Testdatafil?")] | ||
294 | [Description("Ange True om du vill att varje testdatafil (CSV) hanteras separat för varje unik VU. Pluginet kommer då komma ihåg vilka rader som delats ut separat för varje fil.")] | ||
295 | [DefaultValue(false)] | ||
296 | public bool Use_UniqueFiles | ||
297 | { | ||
298 | get { return myUseUniqueFiles; } | ||
299 | set { myUseUniqueFiles = value; } | ||
300 | } | ||
301 | |||
290 | [DisplayName("Välj unikt per Iteration?")] | 302 | [DisplayName("Välj unikt per Iteration?")] |
291 | [Description("Ange True om du vill att varje LoadTest VU ska ha sitt eget unika värde för varje iteration av alla tester, dvs aldrig återanvändas av någon VU i något test. Gäller före unikt per test iteration.")] | 303 | [Description("Ange True om du vill att varje LoadTest VU ska ha sitt eget unika värde för varje iteration av alla tester, dvs aldrig återanvändas av någon VU i något test. Gäller före unikt per test iteration.")] |
292 | [DefaultValue(false)] | 304 | [DefaultValue(false)] |
... | @@ -371,10 +383,12 @@ namespace LIL_VSTT_Plugins | ... | @@ -371,10 +383,12 @@ namespace LIL_VSTT_Plugins |
371 | 383 | ||
372 | if (myParams.Count > 0) | 384 | if (myParams.Count > 0) |
373 | { | 385 | { |
374 | if (myUseUniqueIteration) | 386 | if (myUseUniqueTestIteration) |
375 | m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingUniqueIteration); | ||
376 | else if(myUseUniqueTestIteration) | ||
377 | m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingUniqueTestIteration); | 387 | m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingUniqueTestIteration); |
388 | else if (myUseUniqueIteration) | ||
389 | m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingUniqueIteration); | ||
390 | else if (myUseUniqueFiles) | ||
391 | m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingUniqueFiles); | ||
378 | else if (myUseUnique) | 392 | else if (myUseUnique) |
379 | m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingUnique); | 393 | m_loadTest.TestStarting += new EventHandler<TestStartingEventArgs>(loadTestStartingUnique); |
380 | else if (myUseRandom) | 394 | else if (myUseRandom) |
... | @@ -434,6 +448,28 @@ namespace LIL_VSTT_Plugins | ... | @@ -434,6 +448,28 @@ namespace LIL_VSTT_Plugins |
434 | setParameters(this.getSeqUser(e.UserContext.CompletedTestCount), e); | 448 | setParameters(this.getSeqUser(e.UserContext.CompletedTestCount), e); |
435 | } | 449 | } |
436 | 450 | ||
451 | void loadTestStartingUniqueFiles(object sender, TestStartingEventArgs e) | ||
452 | { | ||
453 | if (shouldRun(e)) | ||
454 | { | ||
455 | int row = 0; | ||
456 | // Go single threaded | ||
457 | lock (userRow) | ||
458 | { | ||
459 | // Check if the user already has a row in our file, otherwise get the next one | ||
460 | if (userRow.ContainsKey(e.UserContext.UserId)) row = userRow[e.UserContext.UserId]; | ||
461 | else | ||
462 | { | ||
463 | // New user, get the next row and increase the counter | ||
464 | row = nextAvailableRow++; | ||
465 | // Save the row for this user | ||
466 | userRow[e.UserContext.UserId] = row; | ||
467 | } | ||
468 | } | ||
469 | setParameters(this.getSeqUser(row), e); | ||
470 | } | ||
471 | } | ||
472 | |||
437 | void loadTestStartingUnique(object sender, TestStartingEventArgs e) | 473 | void loadTestStartingUnique(object sender, TestStartingEventArgs e) |
438 | { | 474 | { |
439 | setParameters(this.getSeqUser(e.UserContext.UserId), e); | 475 | setParameters(this.getSeqUser(e.UserContext.UserId), e); | ... | ... |
... | @@ -344,7 +344,6 @@ namespace LIL_VSTT_Plugins | ... | @@ -344,7 +344,6 @@ namespace LIL_VSTT_Plugins |
344 | { | 344 | { |
345 | 345 | ||
346 | if (e.ResponseExists && (int)e.Response.StatusCode >= 500) e.Request.Outcome = Outcome.Fail; | 346 | if (e.ResponseExists && (int)e.Response.StatusCode >= 500) e.Request.Outcome = Outcome.Fail; |
347 | WebTestRequestCollection depsToRemove = new WebTestRequestCollection(); | ||
348 | 347 | ||
349 | foreach (WebTestRequest r in e.Request.DependentRequests) | 348 | foreach (WebTestRequest r in e.Request.DependentRequests) |
350 | { | 349 | { | ... | ... |
No preview for this file type
No preview for this file type
TestProject1/LoadTest2.loadtest
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
TestProject1/LoadTest3.loadtest
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
TestProject1/LoadTest4.loadtest
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
TestProject1/LoadTest5.loadtest
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
TestProject1/LoadTest6.loadtest
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
... | @@ -68,66 +68,20 @@ | ... | @@ -68,66 +68,20 @@ |
68 | <ItemGroup> | 68 | <ItemGroup> |
69 | <Compile Include="Properties\AssemblyInfo.cs" /> | 69 | <Compile Include="Properties\AssemblyInfo.cs" /> |
70 | <Compile Include="UnitTest1.cs" /> | 70 | <Compile Include="UnitTest1.cs" /> |
71 | <Compile Include="WebTest1Coded.cs" /> | ||
72 | </ItemGroup> | 71 | </ItemGroup> |
73 | <ItemGroup> | 72 | <ItemGroup> |
74 | <None Include="LoadTest2.loadtest"> | ||
75 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
76 | </None> | ||
77 | <None Include="LoadTest1.loadtest"> | 73 | <None Include="LoadTest1.loadtest"> |
78 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | 74 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
79 | </None> | 75 | </None> |
80 | <None Include="LoadTest3.loadtest"> | ||
81 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
82 | </None> | ||
83 | <None Include="LoadTest5.loadtest"> | ||
84 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
85 | </None> | ||
86 | <None Include="LoadTest4.loadtest"> | ||
87 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
88 | </None> | ||
89 | <None Include="LoadTest6.loadtest"> | ||
90 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
91 | </None> | ||
92 | <Content Include="UserdataFew.csv"> | 76 | <Content Include="UserdataFew.csv"> |
93 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | 77 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
94 | </Content> | 78 | </Content> |
95 | <None Include="WebTest2.webtest"> | ||
96 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
97 | </None> | ||
98 | <None Include="WebTest22.webtest"> | ||
99 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
100 | </None> | ||
101 | <None Include="WebTest21.webtest"> | ||
102 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
103 | </None> | ||
104 | <None Include="WebTest6.webtest"> | ||
105 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
106 | </None> | ||
107 | <None Include="WebTest5.webtest"> | ||
108 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
109 | </None> | ||
110 | <None Include="WebTest4.webtest"> | ||
111 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
112 | </None> | ||
113 | <None Include="WebTest3.webtest"> | ||
114 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
115 | </None> | ||
116 | <Content Include="Userdata.csv"> | 79 | <Content Include="Userdata.csv"> |
117 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | 80 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
118 | </Content> | 81 | </Content> |
119 | <None Include="WebTest1.webtest"> | 82 | <None Include="WebTest1.webtest"> |
120 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | 83 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
121 | </None> | 84 | </None> |
122 | <None Include="WebTest7 - Copy.webtest"> | ||
123 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
124 | </None> | ||
125 | <None Include="WebTest7.webtest"> | ||
126 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
127 | </None> | ||
128 | <None Include="WebTest8.webtest"> | ||
129 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
130 | </None> | ||
131 | </ItemGroup> | 85 | </ItemGroup> |
132 | <ItemGroup> | 86 | <ItemGroup> |
133 | <ProjectReference Include="..\LIL_VSTT_Plugins\LIL_VSTT_Plugins.csproj"> | 87 | <ProjectReference Include="..\LIL_VSTT_Plugins\LIL_VSTT_Plugins.csproj"> | ... | ... |
TestProject1/WebTest1Coded.cs
deleted
100644 → 0
1 | //------------------------------------------------------------------------------ | ||
2 | // <auto-generated> | ||
3 | // This code was generated by a tool. | ||
4 | // Runtime Version:4.0.30128.1 | ||
5 | // | ||
6 | // Changes to this file may cause incorrect behavior and will be lost if | ||
7 | // the code is regenerated. | ||
8 | // </auto-generated> | ||
9 | //------------------------------------------------------------------------------ | ||
10 | |||
11 | namespace TestProject1 | ||
12 | { | ||
13 | using System; | ||
14 | using System.Collections.Generic; | ||
15 | using System.Text; | ||
16 | using Microsoft.VisualStudio.TestTools.WebTesting; | ||
17 | |||
18 | |||
19 | public class WebTest1Coded : WebTest | ||
20 | { | ||
21 | |||
22 | public WebTest1Coded() | ||
23 | { | ||
24 | this.PreAuthenticate = true; | ||
25 | } | ||
26 | |||
27 | public override IEnumerator<WebTestRequest> GetRequestEnumerator() | ||
28 | { | ||
29 | WebTestRequest request1 = new WebTestRequest("http://www.lil.nu/"); | ||
30 | request1.ParseDependentRequests = false; | ||
31 | request1.Encoding = System.Text.Encoding.GetEncoding("utf-8"); | ||
32 | request1.Headers.Add(new WebTestRequestHeader("Cookie", "TestCookie=\"test,test\"")); | ||
33 | yield return request1; | ||
34 | request1 = null; | ||
35 | } | ||
36 | } | ||
37 | } |
TestProject1/WebTest2.webtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <WebTest Name="WebTest2" Id="97416298-3dc2-4f16-a28f-75470ee03ec8" 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="" ResultsLocale=""> | ||
3 | <Items> | ||
4 | <Request Method="GET" Guid="b9a8ca3a-ceb3-4531-b567-9ee2dbd79c10" Version="1.1" Url="https://ort-api.dev.minpension.se/medborgare/197503140555" 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 | <WebTestPlugins> | ||
7 | <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
Sätter webtestet att använda ett specifikt client cert för SSL. Certifikatet installeras automatiskt i Windows User Certificate Store."> | ||
8 | <RuleParameters> | ||
9 | <RuleParameter Name="pCertificatePath" Value="C:\Temp\lightsinline.pfx" /> | ||
10 | <RuleParameter Name="pCertificatePathParameter" Value="" /> | ||
11 | <RuleParameter Name="pCertificatePassword" Value="ensfyr" /> | ||
12 | <RuleParameter Name="pCertificatePasswordParameter" Value="" /> | ||
13 | <RuleParameter Name="pDebug" Value="False" /> | ||
14 | <RuleParameter Name="pInstallTrusted" Value="True" /> | ||
15 | <RuleParameter Name="pInstallUntrusted" Value="True" /> | ||
16 | </RuleParameters> | ||
17 | </WebTestPlugin> | ||
18 | </WebTestPlugins> | ||
19 | </WebTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/WebTest21.webtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <WebTest Name="WebTest2" Id="9af8354e-b982-4f5a-80f9-777eaed55003" 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="WebTest2.0af40a55-b204-4b39-8847-71e26a47524d.rec.webtestresult" ResultsLocale=""> | ||
3 | <Items> | ||
4 | <Request Method="GET" Guid="e02258d2-a380-44f4-891d-a8c829b5428c" Version="1.1" Url="http://www.lightsinline.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
5 | <TransactionTimer Name="Transaction2"> | ||
6 | <Items> | ||
7 | <Request Method="GET" Guid="e02258d2-a380-44f4-891d-a8c829b5428c" Version="1.1" Url="http://www.lightsinline.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
8 | <Request Method="GET" Guid="e02258d2-a380-44f4-891d-a8c829b5428c" Version="1.1" Url="http://www.lightsinline.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
9 | </Items> | ||
10 | </TransactionTimer> | ||
11 | </Items> | ||
12 | <ContextParameters> | ||
13 | <ContextParameter Name="Parameter1" Value="Testval" /> | ||
14 | </ContextParameters> | ||
15 | <WebTestPlugins> | ||
16 | <WebTestPlugin Classname="LIL_VSTT_Plugins.dataGenTimestamp, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Data Generator Timestamp" Description="(C) Copyright 2011 LIGHTS IN LINE AB
Genererar en timestamp som context parameter"> | ||
17 | <RuleParameters> | ||
18 | <RuleParameter Name="ParamNameVal" Value="TimeStampParameter1" /> | ||
19 | <RuleParameter Name="MillisecondsVal" Value="False" /> | ||
20 | <RuleParameter Name="PrePageVal" Value="False" /> | ||
21 | <RuleParameter Name="PreTransactionVal" Value="False" /> | ||
22 | <RuleParameter Name="PreRequestVal" Value="False" /> | ||
23 | </RuleParameters> | ||
24 | </WebTestPlugin> | ||
25 | </WebTestPlugins> | ||
26 | </WebTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/WebTest22.webtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <WebTest Name="WebTest2 - Copy" Id="b8fad392-6953-4eda-9be0-2037277680f6" 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="WebTest2.0af40a55-b204-4b39-8847-71e26a47524d.rec.webtestresult" ResultsLocale=""> | ||
3 | <Items> | ||
4 | <Request Method="GET" Guid="e02258d2-a380-44f4-891d-a8c829b5428c" Version="1.1" Url="http://www.lightsinline.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
5 | <TransactionTimer Name="Transaction2"> | ||
6 | <Items> | ||
7 | <Request Method="GET" Guid="e02258d2-a380-44f4-891d-a8c829b5428c" Version="1.1" Url="http://www.lightsinline.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
8 | <Request Method="GET" Guid="e02258d2-a380-44f4-891d-a8c829b5428c" Version="1.1" Url="http://www.lightsinline.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
9 | </Items> | ||
10 | </TransactionTimer> | ||
11 | </Items> | ||
12 | <ContextParameters> | ||
13 | <ContextParameter Name="Parameter1" Value="Testval" /> | ||
14 | </ContextParameters> | ||
15 | <WebTestPlugins> | ||
16 | <WebTestPlugin Classname="LIL_VSTT_Plugins.dataGenTimestamp, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Data Generator Timestamp" Description="(C) Copyright 2011 LIGHTS IN LINE AB
Genererar en timestamp som context parameter"> | ||
17 | <RuleParameters> | ||
18 | <RuleParameter Name="ParamNameVal" Value="TimeStampParameter1" /> | ||
19 | <RuleParameter Name="MillisecondsVal" Value="False" /> | ||
20 | <RuleParameter Name="PrePageVal" Value="False" /> | ||
21 | <RuleParameter Name="PreTransactionVal" Value="False" /> | ||
22 | <RuleParameter Name="PreRequestVal" Value="False" /> | ||
23 | </RuleParameters> | ||
24 | </WebTestPlugin> | ||
25 | </WebTestPlugins> | ||
26 | </WebTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/WebTest3.webtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <WebTest Name="WebTest3" Id="f36a8078-a24b-41a0-ac62-678ed0b4ac50" Owner="" Priority="2147483647" Enabled="True" CssProjectStructure="" CssIteration="" Timeout="0" WorkItemIds="" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010" Description="" CredentialUserName="" CredentialPassword="" PreAuthenticate="True" Proxy="proxyvip:8080" StopOnError="False" RecordedResultFile="" ResultsLocale=""> | ||
3 | <Items> | ||
4 | <Request Method="GET" Guid="359feba0-105f-4dbf-a630-32d640c10817" Version="1.1" Url="https://www.lightsinline.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
5 | <Request Method="GET" Guid="88ecadc7-6996-40c3-b058-eb2734863145" Version="1.1" Url="https://spg21.ws1.s02.ttm.swedbank.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
6 | </Items> | ||
7 | <WebTestPlugins> | ||
8 | <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
Sätter config värden i Service Manager instansen för hela testet."> | ||
9 | <RuleParameters> | ||
10 | <RuleParameter Name="exp100" Value="True" /> | ||
11 | <RuleParameter Name="maxIdle" Value="100" /> | ||
12 | <RuleParameter Name="keepAlive" Value="False" /> | ||
13 | <RuleParameter Name="timeOut" Value="5000" /> | ||
14 | <RuleParameter Name="interVal" Value="1000" /> | ||
15 | <RuleParameter Name="useNagle" Value="False" /> | ||
16 | <RuleParameter Name="useTls12" Value="False" /> | ||
17 | <RuleParameter Name="useProxy" Value="True" /> | ||
18 | <RuleParameter Name="proxyOverride" Value="True" /> | ||
19 | <RuleParameter Name="proxyBypassLocal" Value="False" /> | ||
20 | <RuleParameter Name="proxyBypass" Value="ttm.swedbank.se" /> | ||
21 | <RuleParameter Name="proxyURI" Value="http://proxyvip:8080" /> | ||
22 | <RuleParameter Name="proxyUser" Value="p950gec" /> | ||
23 | <RuleParameter Name="proxyPass" Value="p950gec" /> | ||
24 | </RuleParameters> | ||
25 | </WebTestPlugin> | ||
26 | <WebTestPlugin Classname="LIL_VSTT_Plugins.dataGenInteger, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Data Generator Integer" Description="(C) Copyright 2016 LIGHTS IN LINE AB
Genererar en slumpad integer som context parameter"> | ||
27 | <RuleParameters> | ||
28 | <RuleParameter Name="ParamNameVal" Value="RandomInteger" /> | ||
29 | <RuleParameter Name="IntegerMin" Value="0" /> | ||
30 | <RuleParameter Name="IntegerMax" Value="100" /> | ||
31 | <RuleParameter Name="PrePageVal" Value="True" /> | ||
32 | <RuleParameter Name="PreTransactionVal" Value="False" /> | ||
33 | <RuleParameter Name="PreRequestVal" Value="False" /> | ||
34 | </RuleParameters> | ||
35 | </WebTestPlugin> | ||
36 | <WebTestPlugin Classname="LIL_VSTT_Plugins.WebTestDependentRegexFilter, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Dynamisk URL Regex filter" Description="(C) Copyright 2011 LIGHTS IN LINE AB
Filter för att ignorera vissa objekt på websidor så de inte laddas ner automatiskt."> | ||
37 | <RuleParameters> | ||
38 | <RuleParameter Name="FilterString" Value="stat.swedbank.se" /> | ||
39 | <RuleParameter Name="Exclude" Value="True" /> | ||
40 | </RuleParameters> | ||
41 | </WebTestPlugin> | ||
42 | </WebTestPlugins> | ||
43 | </WebTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/WebTest4.webtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <WebTest Name="WebTest4" Id="5f8fe34b-e853-4a88-95cb-a8e963383b09" 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="" ResultsLocale=""> | ||
3 | <Items> | ||
4 | <Request Method="POST" Guid="60e123b6-6947-47f0-85cb-473647f73db1" Version="1.1" Url="https://ppdmzkw2/nak1/na_epersondata/V2/namnsokning" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False"> | ||
5 | <StringHttpBody ContentType="text/xml" InsertByteOrderMark="False">PABzAG8AYQBwAGUAbgB2ADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwBvAGEAcABlAG4AdgA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAIAB4AG0AbABuAHMAOgB4AHMAaQA9ACIAaAB0AHQAcAA6AC8ALwB3AHcAdwAuAHcAMwAuAG8AcgBnAC8AMgAwADAAMQAvAFgATQBMAFMAYwBoAGUAbQBhAC0AaQBuAHMAdABhAG4AYwBlACIAIAB4AG0AbABuAHMAOgB2ADEAPQAiAGgAdAB0AHAAOgAvAC8AeABtAGwAcwAuAHMAawBhAHQAdABlAHYAZQByAGsAZQB0AC4AcwBlAC8AcwBlAC8AcwBrAGEAdAB0AGUAdgBlAHIAawBlAHQALwBmAG8AbABrAGIAbwBrAGYAbwByAGkAbgBnAC8AbgBhAC8AZQBwAGUAcgBzAG8AbgBkAGEAdABhAC8AVgAxACIAPgANAAoAIAAgADwAcwBvAGEAcABlAG4AdgA6AEgAZQBhAGQAZQByACAALwA+AA0ACgAgACAAPABzAG8AYQBwAGUAbgB2ADoAQgBvAGQAeQA+AA0ACgAgACAAIAAgADwAdgAxADoATgBhAG0AbgBzAG8AawBuAGkAbgBnAFIAZQBxAHUAZQBzAHQAPgANAAoAIAAgACAAIAAgACAAPAB2ADEAOgBCAGUAcwB0AGEAbABsAG4AaQBuAGcAPgANAAoAIAAgACAAIAAgACAAIAAgADwAdgAxADoATwByAGcATgByAD4AMQA2ADIAMAAyADEAMAAwADQANwA0ADgAPAAvAHYAMQA6AE8AcgBnAE4AcgA+AA0ACgAgACAAIAAgACAAIAAgACAAPAB2ADEAOgBCAGUAcwB0AGEAbABsAG4AaQBuAGcAcwBJAGQAPgAwADAAMAAwADAAMAA3ADkALQBGAE8AMAAxAC0AMAAwADAAMQA8AC8AdgAxADoAQgBlAHMAdABhAGwAbABuAGkAbgBnAHMASQBkAD4ADQAKACAAIAAgACAAIAAgADwALwB2ADEAOgBCAGUAcwB0AGEAbABsAG4AaQBuAGcAPgANAAoAIAAgACAAIAAgACAAPAB2ADEAOgBTAG8AawB2AGkAbABsAGsAbwByAE4AYQBtAG4APgANAAoAIAAgACAAIAAgACAAIAAgADwAdgAxADoAQQBkAHIAZQBzAHMAPgBNAEEARwBBAFMASQBOAFMARwBBAFQAQQBOACAANQAgAEEAIABMAEcASAAgADEAMAAwADMAPAAvAHYAMQA6AEEAZAByAGUAcwBzAD4ADQAKACAAIAAgACAAIAAgACAAIAA8AHYAMQA6AEUAZgB0AGUAcgBNAGUAbABsAGEAbgBOAGEAbQBuAD4ATgB1AHQAZQBtAGIAZQBpADwALwB2ADEAOgBFAGYAdABlAHIATQBlAGwAbABhAG4ATgBhAG0AbgA+AA0ACgAgACAAIAAgACAAIAAgACAAPAB2ADEAOgBGAG8AZABlAGwAcwBlAHQAaQBkAEYAcgBvAG0AIAB4AHMAaQA6AG4AaQBsAD0AIgB0AHIAdQBlACIAPgA8AC8AdgAxADoARgBvAGQAZQBsAHMAZQB0AGkAZABGAHIAbwBtAD4ADQAKACAAIAAgACAAIAAgACAAIAA8AHYAMQA6AEYAbwBkAGUAbABzAGUAdABpAGQAVABvAG0AIAB4AHMAaQA6AG4AaQBsAD0AIgB0AHIAdQBlACIAPgA8AC8AdgAxADoARgBvAGQAZQBsAHMAZQB0AGkAZABUAG8AbQA+AA0ACgAgACAAIAAgACAAIAAgACAAPAB2ADEAOgBGAG8AcgBuAGEAbQBuAD4AQQBiAGQAaQBrAGgAYQBkAGUAcgAgAE0AbwBoAGEAbQBlAGQAPAAvAHYAMQA6AEYAbwByAG4AYQBtAG4APgANAAoAIAAgACAAIAAgACAAIAAgADwAdgAxADoASwBvAG4AIAB4AHMAaQA6AG4AaQBsAD0AIgB0AHIAdQBlACIAPgA8AC8AdgAxADoASwBvAG4APgANAAoAIAAgACAAIAAgACAAIAAgADwAdgAxADoAUABvAHMAdABuAHUAbQBtAGUAcgBGAHIAbwBtACAAeABzAGkAOgBuAGkAbAA9ACIAdAByAHUAZQAiAD4APAAvAHYAMQA6AFAAbwBzAHQAbgB1AG0AbQBlAHIARgByAG8AbQA+AA0ACgAgACAAIAAgACAAIAAgACAAPAB2ADEAOgBQAG8AcwB0AG4AdQBtAG0AZQByAFQAbwBtACAAeABzAGkAOgBuAGkAbAA9ACIAdAByAHUAZQAiAD4APAAvAHYAMQA6AFAAbwBzAHQAbgB1AG0AbQBlAHIAVABvAG0APgANAAoAIAAgACAAIAAgACAAIAAgADwAdgAxADoAUABvAHMAdABvAHIAdAA+ADwALwB2ADEAOgBQAG8AcwB0AG8AcgB0AD4ADQAKACAAIAAgACAAIAAgADwALwB2ADEAOgBTAG8AawB2AGkAbABsAGsAbwByAE4AYQBtAG4APgANAAoAIAAgACAAIAA8AC8AdgAxADoATgBhAG0AbgBzAG8AawBuAGkAbgBnAFIAZQBxAHUAZQBzAHQAPgANAAoAIAAgADwALwBzAG8AYQBwAGUAbgB2ADoAQgBvAGQAeQA+AA0ACgA8AC8AcwBvAGEAcABlAG4AdgA6AEUAbgB2AGUAbABvAHAAZQA+AA==</StringHttpBody> | ||
6 | </Request> | ||
7 | </Items> | ||
8 | <WebTestPlugins> | ||
9 | <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
Sätter config värden i Service Manager instansen för hela testet."> | ||
10 | <RuleParameters> | ||
11 | <RuleParameter Name="exp100" Value="True" /> | ||
12 | <RuleParameter Name="maxIdle" Value="100" /> | ||
13 | <RuleParameter Name="keepAlive" Value="False" /> | ||
14 | <RuleParameter Name="timeOut" Value="5000" /> | ||
15 | <RuleParameter Name="interVal" Value="1000" /> | ||
16 | <RuleParameter Name="useNagle" Value="False" /> | ||
17 | <RuleParameter Name="useTls12" Value="True" /> | ||
18 | </RuleParameters> | ||
19 | </WebTestPlugin> | ||
20 | <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
Sätter webtestet att använda ett specifikt client cert för SSL. Certifikatet behöver inte installeras i certstore först."> | ||
21 | <RuleParameters> | ||
22 | <RuleParameter Name="pCertificatePath" Value="U:\projekt\2015\Folke - flapp\SoapUI\kommunA.p12" /> | ||
23 | <RuleParameter Name="pCertificatePathParameter" Value="" /> | ||
24 | <RuleParameter Name="pCertificatePassword" Value="3129445131123535" /> | ||
25 | <RuleParameter Name="pCertificatePasswordParameter" Value="" /> | ||
26 | <RuleParameter Name="pDebug" Value="False" /> | ||
27 | <RuleParameter Name="pInstallTrusted" Value="True" /> | ||
28 | <RuleParameter Name="pInstallUntrusted" Value="True" /> | ||
29 | </RuleParameters> | ||
30 | </WebTestPlugin> | ||
31 | </WebTestPlugins> | ||
32 | </WebTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/WebTest5.webtest
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
TestProject1/WebTest6.webtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <WebTest Name="WebTest6" Id="122acb09-9cc2-4809-903b-a7fee7f1e5c3" 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=""> | ||
3 | <Items> | ||
4 | <Request Method="GET" Guid="57c5c6f4-6ec7-461e-85f2-5ff56e9a7a5f" Version="1.1" Url="https://ssokpr.rsv.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
5 | <TransactionTimer Name="Transaction1"> | ||
6 | <Items> | ||
7 | <Request Method="GET" Guid="57c5c6f4-6ec7-461e-85f2-5ff56e9a7a5f" Version="1.1" Url="https://ssokpr.rsv.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
8 | </Items> | ||
9 | </TransactionTimer> | ||
10 | <TransactionTimer Name="Transaction2"> | ||
11 | <Items> | ||
12 | <Request Method="GET" Guid="57c5c6f4-6ec7-461e-85f2-5ff56e9a7a5f" Version="1.1" Url="https://ssokpr.rsv.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
13 | <TransactionTimer Name="Transaction3"> | ||
14 | <Items> | ||
15 | <Request Method="GET" Guid="57c5c6f4-6ec7-461e-85f2-5ff56e9a7a5f" Version="1.1" Url="https://ssokpr.rsv.se/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
16 | </Items> | ||
17 | </TransactionTimer> | ||
18 | </Items> | ||
19 | </TransactionTimer> | ||
20 | </Items> | ||
21 | <ValidationRules> | ||
22 | <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" /> | ||
23 | <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"> | ||
24 | <RuleParameters> | ||
25 | <RuleParameter Name="Tolerance" Value="0" /> | ||
26 | </RuleParameters> | ||
27 | </ValidationRule> | ||
28 | </ValidationRules> | ||
29 | <WebTestPlugins> | ||
30 | <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
Sätter config värden i Service Manager instansen för hela testet."> | ||
31 | <RuleParameters> | ||
32 | <RuleParameter Name="exp100" Value="False" /> | ||
33 | <RuleParameter Name="maxIdle" Value="100" /> | ||
34 | <RuleParameter Name="keepAlive" Value="False" /> | ||
35 | <RuleParameter Name="timeOut" Value="5000" /> | ||
36 | <RuleParameter Name="interVal" Value="1000" /> | ||
37 | <RuleParameter Name="useNagle" Value="False" /> | ||
38 | <RuleParameter Name="useTls12" Value="True" /> | ||
39 | <RuleParameter Name="proxyOverride" Value="True" /> | ||
40 | </RuleParameters> | ||
41 | </WebTestPlugin> | ||
42 | <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."> | ||
43 | <RuleParameters> | ||
44 | <RuleParameter Name="HeaderName" Value="X-Sipoz" /> | ||
45 | <RuleParameter Name="onTransaction" Value="True" /> | ||
46 | <RuleParameter Name="onTest" Value="True" /> | ||
47 | </RuleParameters> | ||
48 | </WebTestPlugin> | ||
49 | </WebTestPlugins> | ||
50 | </WebTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/WebTest7 - Copy.webtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <WebTest Name="WebTest7 - Copy" Id="da8233d7-4410-4404-b5f9-76bdf9cf36f4" 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="" ResultsLocale=""> | ||
3 | <Items> | ||
4 | <Request Method="GET" Guid="3d1817e4-021d-4bfc-b6d7-dfd8ffa7febf" Version="1.1" Url="https://www.lightsinline.se/" ThinkTime="1" Timeout="300" ParseDependentRequests="False" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
5 | </Items> | ||
6 | <WebTestPlugins> | ||
7 | <WebTestPlugin Classname="LIL_VSTT_Plugins.SetRequestThinkTime, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Set Request Think Time" Description="Changes the thinktime on requests with a set thinktime over 0 to the value of the ThinkTime context parameter"> | ||
8 | <RuleParameters> | ||
9 | <RuleParameter Name="DebugMode" Value="True" /> | ||
10 | </RuleParameters> | ||
11 | </WebTestPlugin> | ||
12 | </WebTestPlugins> | ||
13 | </WebTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/WebTest7.webtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <WebTest Name="WebTest7" Id="b81f6de6-5ea8-4211-ac7b-3c0272942501" 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="" ResultsLocale=""> | ||
3 | <Items> | ||
4 | <Request Method="GET" Guid="3d1817e4-021d-4bfc-b6d7-dfd8ffa7febf" Version="1.1" Url="https://www.lightsinline.se/" ThinkTime="1" Timeout="300" ParseDependentRequests="False" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | ||
5 | </Items> | ||
6 | <WebTestPlugins> | ||
7 | <WebTestPlugin Classname="LIL_VSTT_Plugins.SetRequestThinkTime, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Set Request Think Time" Description="Changes the thinktime on requests with a set thinktime over 0 to the value of the ThinkTime context parameter"> | ||
8 | <RuleParameters> | ||
9 | <RuleParameter Name="DebugMode" Value="True" /> | ||
10 | </RuleParameters> | ||
11 | </WebTestPlugin> | ||
12 | </WebTestPlugins> | ||
13 | </WebTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/WebTest8.webtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <WebTest Name="WebTest8" Id="bac430ba-6ffc-4989-a29b-d9425412a248" 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="" ResultsLocale=""> | ||
3 | <Items> | ||
4 | <Request Method="GET" Guid="98c3ac11-a7d8-4267-ad44-075ad706a99b" Version="1.1" Url="http://www.skatteverket.se/" ThinkTime="1" Timeout="300" ParseDependentRequests="False" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False"> | ||
5 | <ValidationRules> | ||
6 | <ValidationRule Classname="LIL_VSTT_Plugins.ValidateHeader, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Validera Header" Description="(C) Mårten
Validerar att en header har ett visst värde i svaret." Level="High" ExectuionOrder="BeforeDependents"> | ||
7 | <RuleParameters> | ||
8 | <RuleParameter Name="HeaderName" Value="Server" /> | ||
9 | <RuleParameter Name="HeaderValue" Value="Apache-Coyote/1.1" /> | ||
10 | </RuleParameters> | ||
11 | </ValidationRule> | ||
12 | </ValidationRules> | ||
13 | </Request> | ||
14 | </Items> | ||
15 | </WebTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment