Commit d545d6c7 d545d6c71f463d169bb1bd494b42b991b44d1a02 by Christian Gerdes

Fixed issue #2

1 parent a140f7f3
...@@ -340,7 +340,7 @@ namespace LIL_VSTT_Plugins ...@@ -340,7 +340,7 @@ namespace LIL_VSTT_Plugins
340 { 340 {
341 int testIteration = getTestIterationNumber(e.TestName); 341 int testIteration = getTestIterationNumber(e.TestName);
342 e.UserContext["TestIteration"] = testIteration; 342 e.UserContext["TestIteration"] = testIteration;
343 e.TestContextProperties.Add("TestIteration", testIteration); 343 e.TestContextProperties["TestIteration"] = testIteration;
344 setParameters(this.getSeqUser(testIteration - 1), e); 344 setParameters(this.getSeqUser(testIteration - 1), e);
345 } 345 }
346 } 346 }
......
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
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 enabled="false" /> 4 <Deployment>
5 <DeploymentItem filename="TestProject1\Userdata.csv" />
6 </Deployment>
5 <Execution hostProcessPlatform="MSIL"> 7 <Execution hostProcessPlatform="MSIL">
6 <TestTypeSpecific> 8 <TestTypeSpecific>
7 <UnitTestRunConfig testTypeId="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b"> 9 <UnitTestRunConfig testTypeId="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b">
......
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <LoadTest Name="LoadTest1" Description="" Owner="" storage="c:\users\wflg\source\repos\vstt-plugins\testproject1\loadtest1.loadtest" Priority="2147483647" Enabled="true" CssProjectStructure="" CssIteration="" DeploymentItemsEditable="" WorkItemIds="" TraceLevel="None" CurrentRunConfig="Run Settings1" Id="0e35c1c4-9214-4fc4-907f-42e11a00845a" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"> 2 <LoadTest Name="LoadTest1" Description="" Owner="" storage="c:\ws\repos\vstt-plugins\testproject1\loadtest1.loadtest" Priority="2147483647" Enabled="true" CssProjectStructure="" CssIteration="" DeploymentItemsEditable="" WorkItemIds="" TraceLevel="None" CurrentRunConfig="Run Settings1" Id="0e35c1c4-9214-4fc4-907f-42e11a00845a" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
3 <Scenarios> 3 <Scenarios>
4 <Scenario Name="Scenario1" DelayBetweenIterations="1" PercentNewUsers="0" IPSwitching="true" TestMixType="PercentageOfUsersRunning" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents=""> 4 <Scenario Name="Scenario1" DelayBetweenIterations="1" PercentNewUsers="0" IPSwitching="true" TestMixType="PercentageOfUsersRunning" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
5 <ThinkProfile Value="0.2" Pattern="NormalDistribution" /> 5 <ThinkProfile Value="0.2" Pattern="NormalDistribution" />
6 <LoadProfile Pattern="Constant" InitialUsers="4" /> 6 <LoadProfile Pattern="Constant" InitialUsers="4" />
7 <TestMix> 7 <TestMix>
8 <TestProfile Name="WebTest2" Path="webtest2.webtest" Id="9af8354e-b982-4f5a-80f9-777eaed55003" Percentage="100" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 8 <TestProfile Name="WebTest21" Path="webtest21.webtest" Id="9af8354e-b982-4f5a-80f9-777eaed55003" Percentage="100" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
9 </TestMix> 9 </TestMix>
10 <BrowserMix> 10 <BrowserMix>
11 <BrowserProfile Percentage="100"> 11 <BrowserProfile Percentage="100">
...@@ -444,12 +444,13 @@ ...@@ -444,12 +444,13 @@
444 <RuleParameter Name="LogFileAppendName" Value="False" /> 444 <RuleParameter Name="LogFileAppendName" Value="False" />
445 <RuleParameter Name="Use_Random" Value="False" /> 445 <RuleParameter Name="Use_Random" Value="False" />
446 <RuleParameter Name="Use_Unique" Value="False" /> 446 <RuleParameter Name="Use_Unique" Value="False" />
447 <RuleParameter Name="Use_UniqueIteration" Value="True" /> 447 <RuleParameter Name="Use_UniqueIteration" Value="False" />
448 <RuleParameter Name="Use_Loop" Value="False" /> 448 <RuleParameter Name="Use_Loop" Value="False" />
449 <RuleParameter Name="Log_To_File" Value="False" /> 449 <RuleParameter Name="Log_To_File" Value="False" />
450 <RuleParameter Name="Test_Names" Value="" /> 450 <RuleParameter Name="Test_Names" Value="" />
451 <RuleParameter Name="Scenario_Names" Value="" /> 451 <RuleParameter Name="Scenario_Names" Value="" />
452 <RuleParameter Name="Agent_Names" Value="" /> 452 <RuleParameter Name="Agent_Names" Value="" />
453 <RuleParameter Name="Use_UniqueTestIteration" Value="True" />
453 </RuleParameters> 454 </RuleParameters>
454 </LoadTestPlugin> 455 </LoadTestPlugin>
455 </LoadTestPlugins> 456 </LoadTestPlugins>
......
1 <?xml version="1.0" encoding="utf-8"?>
2 <LoadTest Name="LoadTest5" Description="" Owner="" storage="c:\ws\repos\vstt-plugins\testproject1\loadtest5.loadtest" Priority="2147483647" Enabled="true" CssProjectStructure="" CssIteration="" DeploymentItemsEditable="" WorkItemIds="" TraceLevel="None" CurrentRunConfig="Run Settings1" Id="67894cbd-a6dc-48d4-997b-05f60d87d6e7" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
3 <Scenarios>
4 <Scenario Name="Scenario1" DelayBetweenIterations="0" PercentNewUsers="0" IPSwitching="false" TestMixType="PercentageOfTestsStarted" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
5 <ThinkProfile Value="0.2" Pattern="Off" />
6 <LoadProfile Pattern="Constant" InitialUsers="70" />
7 <TestMix>
8 <TestProfile Name="WebTest6" Path="webtest6.webtest" Id="122acb09-9cc2-4809-903b-a7fee7f1e5c3" Percentage="100" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
9 </TestMix>
10 <BrowserMix>
11 <BrowserProfile Percentage="100">
12 <Browser Name="Internet Explorer 9.0" MaxConnections="6">
13 <Headers>
14 <Header Name="User-Agent" Value="Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" />
15 <Header Name="Accept" Value="*/*" />
16 <Header Name="Accept-Language" Value="{{$IEAcceptLanguage}}" />
17 <Header Name="Accept-Encoding" Value="GZIP" />
18 </Headers>
19 </Browser>
20 </BrowserProfile>
21 </BrowserMix>
22 <NetworkMix>
23 <NetworkProfile Percentage="100">
24 <Network Name="LAN" BandwidthInKbps="1000000" NetworkProfileConfigurationXml="&lt;Emulation&gt;&lt;VirtualChannel name=&quot;defaultChannel&quot;&gt;&lt;FilterList/&gt;&lt;VirtualLink instances=&quot;1&quot; name=&quot;defaultLink&quot;&gt;&lt;LinkRule dir=&quot;upstream&quot;&gt;&lt;Bandwidth&gt;&lt;Speed unit=&quot;kbps&quot;&gt;1000000&lt;/Speed&gt;&lt;/Bandwidth&gt;&lt;/LinkRule&gt;&lt;LinkRule dir=&quot;downstream&quot;&gt;&lt;Bandwidth&gt;&lt;Speed unit=&quot;kbps&quot;&gt;1000000&lt;/Speed&gt;&lt;/Bandwidth&gt;&lt;/LinkRule&gt;&lt;/VirtualLink&gt;&lt;/VirtualChannel&gt;&lt;/Emulation&gt;" />
25 </NetworkProfile>
26 </NetworkMix>
27 </Scenario>
28 </Scenarios>
29 <CounterSets>
30 <CounterSet Name="LoadTest" CounterSetType="LoadTest" LocId="">
31 <CounterCategories>
32 <CounterCategory Name="LoadTest:Scenario">
33 <Counters>
34 <Counter Name="User Load" HigherIsBetter="true" />
35 <Counter Name="Tests Running" HigherIsBetter="true" />
36 </Counters>
37 </CounterCategory>
38 <CounterCategory Name="LoadTest:Test">
39 <Counters>
40 <Counter Name="Total Tests" HigherIsBetter="true" />
41 <Counter Name="Passed Tests" HigherIsBetter="true" />
42 <Counter Name="Failed Tests" />
43 <Counter Name="Tests/Sec" HigherIsBetter="true" />
44 <Counter Name="Passed Tests/Sec" HigherIsBetter="true" />
45 <Counter Name="Failed Tests/Sec" />
46 <Counter Name="Avg. Requests/Test" HigherIsBetter="true" />
47 <Counter Name="Avg. Test Time" />
48 <Counter Name="% Time in LoadTestPlugin" />
49 <Counter Name="% Time in WebTest code" />
50 <Counter Name="% Time in Rules" />
51 </Counters>
52 </CounterCategory>
53 <CounterCategory Name="LoadTest:Transaction">
54 <Counters>
55 <Counter Name="Total Transactions" HigherIsBetter="true" />
56 <Counter Name="Avg. Transaction Time" />
57 <Counter Name="Avg. Response Time" />
58 <Counter Name="Transactions/Sec" HigherIsBetter="true" />
59 </Counters>
60 </CounterCategory>
61 <CounterCategory Name="LoadTest:Errors">
62 <Counters>
63 <Counter Name="Http Errors" />
64 <Counter Name="Validation Rule Errors" />
65 <Counter Name="Extraction Rule Errors" />
66 <Counter Name="Requests Timed Out" />
67 <Counter Name="Exceptions" />
68 <Counter Name="Total Errors" />
69 <Counter Name="Errors/Sec" />
70 <Counter Name="Threshold Violations/Sec" />
71 </Counters>
72 </CounterCategory>
73 <CounterCategory Name="LoadTest:Page">
74 <Counters>
75 <Counter Name="Total Pages" HigherIsBetter="true" />
76 <Counter Name="Avg. Page Time" />
77 <Counter Name="Page Response Time Goal" HigherIsBetter="true" />
78 <Counter Name="% Pages Meeting Goal" HigherIsBetter="true" />
79 <Counter Name="Pages/Sec" HigherIsBetter="true" />
80 </Counters>
81 </CounterCategory>
82 <CounterCategory Name="LoadTest:Request">
83 <Counters>
84 <Counter Name="Total Requests" HigherIsBetter="true" />
85 <Counter Name="Passed Requests" HigherIsBetter="true" />
86 <Counter Name="Failed Requests" />
87 <Counter Name="Cached Requests" HigherIsBetter="true" />
88 <Counter Name="Requests/Sec" HigherIsBetter="true" />
89 <Counter Name="Passed Requests/Sec" HigherIsBetter="true" />
90 <Counter Name="Failed Requests/Sec" />
91 <Counter Name="Avg. First Byte Time" />
92 <Counter Name="Avg. Response Time" />
93 <Counter Name="Avg. Connection Wait Time">
94 <ThresholdRules>
95 <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareCounters, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
96 <RuleParameters>
97 <RuleParameter Name="DependentCategory" Value="LoadTest:Page" />
98 <RuleParameter Name="DependentCounter" Value="Avg. Page Time" />
99 <RuleParameter Name="DependentInstance" Value="_Total" />
100 <RuleParameter Name="AlertIfOver" Value="True" />
101 <RuleParameter Name="WarningThreshold" Value="0.25" />
102 <RuleParameter Name="CriticalThreshold" Value="0.5" />
103 </RuleParameters>
104 </ThresholdRule>
105 </ThresholdRules>
106 </Counter>
107 <Counter Name="Avg. Content Length" />
108 </Counters>
109 </CounterCategory>
110 <CounterCategory Name="LoadTest:LogEntries">
111 <Counters>
112 <Counter Name="Total Log Entries" />
113 <Counter Name="Log Entries/Sec" />
114 </Counters>
115 </CounterCategory>
116 </CounterCategories>
117 </CounterSet>
118 <CounterSet Name="Controller" CounterSetType="Controller" LocId="CounterSet_Controller">
119 <CounterCategories>
120 <CounterCategory Name="Memory">
121 <Counters>
122 <Counter Name="% Committed Bytes In Use" Range="100" />
123 <Counter Name="Available MBytes" RangeGroup="Memory Bytes" HigherIsBetter="true">
124 <ThresholdRules>
125 <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest">
126 <RuleParameters>
127 <RuleParameter Name="AlertIfOver" Value="False" />
128 <RuleParameter Name="WarningThreshold" Value="100" />
129 <RuleParameter Name="CriticalThreshold" Value="50" />
130 </RuleParameters>
131 </ThresholdRule>
132 </ThresholdRules>
133 </Counter>
134 <Counter Name="Page Faults/sec" />
135 <Counter Name="Pages/sec" />
136 <Counter Name="Pool Paged Bytes" RangeGroup="Memory Bytes" />
137 <Counter Name="Pool Nonpaged bytes" RangeGroup="Memory Bytes" />
138 </Counters>
139 </CounterCategory>
140 <CounterCategory Name="Network Interface">
141 <Counters>
142 <Counter Name="Bytes Received/sec" RangeGroup="Network Bytes" />
143 <Counter Name="Bytes Sent/sec" RangeGroup="Network Bytes" />
144 <Counter Name="Output Queue Length">
145 <ThresholdRules>
146 <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest">
147 <RuleParameters>
148 <RuleParameter Name="AlertIfOver" Value="True" />
149 <RuleParameter Name="WarningThreshold" Value="1.5" />
150 <RuleParameter Name="CriticalThreshold" Value="2" />
151 </RuleParameters>
152 </ThresholdRule>
153 </ThresholdRules>
154 </Counter>
155 <Counter Name="Packets Received/sec" RangeGroup="Network Packets" />
156 <Counter Name="Packets Sent/sec" RangeGroup="Network Packets" />
157 <Counter Name="Current Bandwidth" RangeGroup="Network Bytes" />
158 <Counter Name="Bytes Total/sec" RangeGroup="Network Bytes">
159 <ThresholdRules>
160 <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareCounters, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
161 <RuleParameters>
162 <RuleParameter Name="DependentCategory" Value="Network Interface" />
163 <RuleParameter Name="DependentCounter" Value="Current Bandwidth" />
164 <RuleParameter Name="DependentInstance" Value="" />
165 <RuleParameter Name="AlertIfOver" Value="True" />
166 <RuleParameter Name="WarningThreshold" Value="0.6" />
167 <RuleParameter Name="CriticalThreshold" Value="0.7" />
168 </RuleParameters>
169 </ThresholdRule>
170 </ThresholdRules>
171 </Counter>
172 </Counters>
173 <Instances>
174 <Instance Name="*" />
175 </Instances>
176 </CounterCategory>
177 <CounterCategory Name="PhysicalDisk">
178 <Counters>
179 <Counter Name="% Disk Read Time" Range="100" />
180 <Counter Name="% Disk Time" Range="100" />
181 <Counter Name="% Disk Write Time" Range="100" />
182 <Counter Name="% Idle Time" Range="100" HigherIsBetter="true">
183 <ThresholdRules>
184 <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest">
185 <RuleParameters>
186 <RuleParameter Name="AlertIfOver" Value="False" />
187 <RuleParameter Name="WarningThreshold" Value="40" />
188 <RuleParameter Name="CriticalThreshold" Value="20" />
189 </RuleParameters>
190 </ThresholdRule>
191 </ThresholdRules>
192 </Counter>
193 <Counter Name="Avg. Disk Bytes/Read" RangeGroup="DiskBytesRate" />
194 <Counter Name="Avg. Disk Bytes/Transfer" RangeGroup="DiskBytesRate" />
195 <Counter Name="Avg. Disk Bytes/Write" RangeGroup="DiskBytesRate" />
196 <Counter Name="Avg. Disk Queue Length" RangeGroup="Disk Queue Length" />
197 <Counter Name="Avg. Disk Read Queue Length" RangeGroup="Disk Queue Length" />
198 <Counter Name="Avg. Disk Write Queue Length" RangeGroup="Disk Queue Length" />
199 <Counter Name="Current Disk Queue Length" RangeGroup="Disk Queue Length" />
200 <Counter Name="Avg. Disk sec/Read" RangeGroup="Disk sec" />
201 <Counter Name="Avg. Disk sec/Transfer" RangeGroup="Disk sec" />
202 <Counter Name="Avg. Disk sec/Write" RangeGroup="Disk sec" />
203 <Counter Name="Disk Bytes/sec" RangeGroup="Disk Bytes sec" />
204 <Counter Name="Disk Read Bytes/sec" RangeGroup="Disk Bytes sec" />
205 <Counter Name="Disk Reads/sec" RangeGroup="Disk Transfers sec" />
206 <Counter Name="Disk Transfers/sec" RangeGroup="Disk Transfers sec" />
207 <Counter Name="Disk Write Bytes/sec" RangeGroup="Disk Bytes sec" />
208 <Counter Name="Disk Writes/sec" RangeGroup="Disk Transfers sec" />
209 <Counter Name="Split IO/Sec" RangeGroup="Disk Transfers sec" />
210 </Counters>
211 <Instances>
212 <Instance Name="*" />
213 </Instances>
214 </CounterCategory>
215 <CounterCategory Name="Processor">
216 <Counters>
217 <Counter Name="% Processor Time" Range="100">
218 <ThresholdRules>
219 <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest">
220 <RuleParameters>
221 <RuleParameter Name="AlertIfOver" Value="True" />
222 <RuleParameter Name="WarningThreshold" Value="75" />
223 <RuleParameter Name="CriticalThreshold" Value="90" />
224 </RuleParameters>
225 </ThresholdRule>
226 </ThresholdRules>
227 </Counter>
228 <Counter Name="% Privileged Time" Range="100" />
229 <Counter Name="% User Time" Range="100" />
230 </Counters>
231 <Instances>
232 <Instance Name="_Total" />
233 </Instances>
234 </CounterCategory>
235 <CounterCategory Name="System">
236 <Counters>
237 <Counter Name="Context Switches/sec" />
238 <Counter Name="Processes" />
239 <Counter Name="Processor Queue Length" />
240 <Counter Name="Threads" />
241 </Counters>
242 </CounterCategory>
243 <CounterCategory Name="Process">
244 <Counters>
245 <Counter Name="% Processor Time" RangeGroup="Processor Time" />
246 <Counter Name="% Privileged Time" RangeGroup="Processor Time" />
247 <Counter Name="% User Time" RangeGroup="Processor Time" />
248 <Counter Name="Handle Count" />
249 <Counter Name="Thread Count" />
250 <Counter Name="Private Bytes" RangeGroup="Memory Bytes" />
251 <Counter Name="Virtual Bytes" RangeGroup="Memory Bytes" />
252 <Counter Name="Working Set" RangeGroup="Memory Bytes" />
253 </Counters>
254 <Instances>
255 <Instance Name="QTController" />
256 <Instance Name="QTController64" />
257 </Instances>
258 </CounterCategory>
259 </CounterCategories>
260 <DefaultCountersForAutomaticGraphs>
261 <DefaultCounter CategoryName="Processor" CounterName="% Processor Time" InstanceName="_Total" GraphName="" />
262 <DefaultCounter CategoryName="Memory" CounterName="Available MBytes" InstanceName="" GraphName="" />
263 </DefaultCountersForAutomaticGraphs>
264 </CounterSet>
265 <CounterSet Name="Agent" CounterSetType="Agent" LocId="CounterSet_Agent">
266 <CounterCategories>
267 <CounterCategory Name="Memory">
268 <Counters>
269 <Counter Name="% Committed Bytes In Use" Range="100" />
270 <Counter Name="Available MBytes" RangeGroup="Memory Bytes" HigherIsBetter="true">
271 <ThresholdRules>
272 <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest">
273 <RuleParameters>
274 <RuleParameter Name="AlertIfOver" Value="False" />
275 <RuleParameter Name="WarningThreshold" Value="100" />
276 <RuleParameter Name="CriticalThreshold" Value="50" />
277 </RuleParameters>
278 </ThresholdRule>
279 </ThresholdRules>
280 </Counter>
281 <Counter Name="Page Faults/sec" />
282 <Counter Name="Pages/sec" />
283 <Counter Name="Pool Paged Bytes" RangeGroup="Memory Bytes" />
284 <Counter Name="Pool Nonpaged bytes" RangeGroup="Memory Bytes" />
285 </Counters>
286 </CounterCategory>
287 <CounterCategory Name="Network Interface">
288 <Counters>
289 <Counter Name="Bytes Received/sec" RangeGroup="Network Bytes" />
290 <Counter Name="Bytes Sent/sec" RangeGroup="Network Bytes" />
291 <Counter Name="Output Queue Length">
292 <ThresholdRules>
293 <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest">
294 <RuleParameters>
295 <RuleParameter Name="AlertIfOver" Value="True" />
296 <RuleParameter Name="WarningThreshold" Value="1.5" />
297 <RuleParameter Name="CriticalThreshold" Value="2" />
298 </RuleParameters>
299 </ThresholdRule>
300 </ThresholdRules>
301 </Counter>
302 <Counter Name="Packets Received/sec" RangeGroup="Network Packets" />
303 <Counter Name="Packets Sent/sec" RangeGroup="Network Packets" />
304 <Counter Name="Current Bandwidth" RangeGroup="Network Bytes" />
305 <Counter Name="Bytes Total/sec" RangeGroup="Network Bytes">
306 <ThresholdRules>
307 <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareCounters, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
308 <RuleParameters>
309 <RuleParameter Name="DependentCategory" Value="Network Interface" />
310 <RuleParameter Name="DependentCounter" Value="Current Bandwidth" />
311 <RuleParameter Name="DependentInstance" Value="" />
312 <RuleParameter Name="AlertIfOver" Value="True" />
313 <RuleParameter Name="WarningThreshold" Value="0.6" />
314 <RuleParameter Name="CriticalThreshold" Value="0.7" />
315 </RuleParameters>
316 </ThresholdRule>
317 </ThresholdRules>
318 </Counter>
319 </Counters>
320 <Instances>
321 <Instance Name="*" />
322 </Instances>
323 </CounterCategory>
324 <CounterCategory Name="PhysicalDisk">
325 <Counters>
326 <Counter Name="% Disk Read Time" Range="100" />
327 <Counter Name="% Disk Time" Range="100" />
328 <Counter Name="% Disk Write Time" Range="100" />
329 <Counter Name="% Idle Time" Range="100" HigherIsBetter="true">
330 <ThresholdRules>
331 <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest">
332 <RuleParameters>
333 <RuleParameter Name="AlertIfOver" Value="False" />
334 <RuleParameter Name="WarningThreshold" Value="40" />
335 <RuleParameter Name="CriticalThreshold" Value="20" />
336 </RuleParameters>
337 </ThresholdRule>
338 </ThresholdRules>
339 </Counter>
340 <Counter Name="Avg. Disk Bytes/Read" RangeGroup="DiskBytesRate" />
341 <Counter Name="Avg. Disk Bytes/Transfer" RangeGroup="DiskBytesRate" />
342 <Counter Name="Avg. Disk Bytes/Write" RangeGroup="DiskBytesRate" />
343 <Counter Name="Avg. Disk Queue Length" RangeGroup="Disk Queue Length" />
344 <Counter Name="Avg. Disk Read Queue Length" RangeGroup="Disk Queue Length" />
345 <Counter Name="Avg. Disk Write Queue Length" RangeGroup="Disk Queue Length" />
346 <Counter Name="Current Disk Queue Length" RangeGroup="Disk Queue Length" />
347 <Counter Name="Avg. Disk sec/Read" RangeGroup="Disk sec" />
348 <Counter Name="Avg. Disk sec/Transfer" RangeGroup="Disk sec" />
349 <Counter Name="Avg. Disk sec/Write" RangeGroup="Disk sec" />
350 <Counter Name="Disk Bytes/sec" RangeGroup="Disk Bytes sec" />
351 <Counter Name="Disk Read Bytes/sec" RangeGroup="Disk Bytes sec" />
352 <Counter Name="Disk Reads/sec" RangeGroup="Disk Transfers sec" />
353 <Counter Name="Disk Transfers/sec" RangeGroup="Disk Transfers sec" />
354 <Counter Name="Disk Write Bytes/sec" RangeGroup="Disk Bytes sec" />
355 <Counter Name="Disk Writes/sec" RangeGroup="Disk Transfers sec" />
356 <Counter Name="Split IO/Sec" RangeGroup="Disk Transfers sec" />
357 </Counters>
358 <Instances>
359 <Instance Name="*" />
360 </Instances>
361 </CounterCategory>
362 <CounterCategory Name="Processor">
363 <Counters>
364 <Counter Name="% Processor Time" Range="100">
365 <ThresholdRules>
366 <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest">
367 <RuleParameters>
368 <RuleParameter Name="AlertIfOver" Value="True" />
369 <RuleParameter Name="WarningThreshold" Value="75" />
370 <RuleParameter Name="CriticalThreshold" Value="90" />
371 </RuleParameters>
372 </ThresholdRule>
373 </ThresholdRules>
374 </Counter>
375 <Counter Name="% Privileged Time" Range="100" />
376 <Counter Name="% User Time" Range="100" />
377 </Counters>
378 <Instances>
379 <Instance Name="0" />
380 <Instance Name="_Total" />
381 </Instances>
382 </CounterCategory>
383 <CounterCategory Name="System">
384 <Counters>
385 <Counter Name="Context Switches/sec" />
386 <Counter Name="Processes" />
387 <Counter Name="Processor Queue Length" />
388 <Counter Name="Threads" />
389 </Counters>
390 </CounterCategory>
391 <CounterCategory Name="Process">
392 <Counters>
393 <Counter Name="% Processor Time" RangeGroup="Processor Time" />
394 <Counter Name="% Privileged Time" RangeGroup="Processor Time" />
395 <Counter Name="% User Time" RangeGroup="Processor Time" />
396 <Counter Name="Handle Count" />
397 <Counter Name="Thread Count" />
398 <Counter Name="Private Bytes" RangeGroup="Memory Bytes" />
399 <Counter Name="Virtual Bytes" RangeGroup="Memory Bytes" />
400 <Counter Name="Working Set" RangeGroup="Memory Bytes" />
401 </Counters>
402 <Instances>
403 <Instance Name="devenv" />
404 <Instance Name="QTAgentService" />
405 <Instance Name="QTAgent" />
406 <Instance Name="QTAgent32" />
407 <Instance Name="QTDCAgent" />
408 <Instance Name="QTDCAgent32" />
409 <Instance Name="QTAgent_35" />
410 <Instance Name="QTAgent_40" />
411 <Instance Name="QTAgent32_35" />
412 <Instance Name="QTAgent32_40" />
413 </Instances>
414 </CounterCategory>
415 </CounterCategories>
416 <DefaultCountersForAutomaticGraphs>
417 <DefaultCounter CategoryName="Processor" CounterName="% Processor Time" InstanceName="0" GraphName="" RunType="Local" />
418 <DefaultCounter CategoryName="Processor" CounterName="% Processor Time" InstanceName="_Total" GraphName="" RunType="Remote" />
419 <DefaultCounter CategoryName="Memory" CounterName="Available MBytes" InstanceName="" GraphName="" />
420 </DefaultCountersForAutomaticGraphs>
421 </CounterSet>
422 </CounterSets>
423 <RunConfigurations>
424 <RunConfiguration Name="Run Settings1" Description="" ResultsStoreType="Database" TimingDetailsStorage="AllIndividualDetails" SaveTestLogsOnError="true" SaveTestLogsFrequency="1" MaxErrorDetails="200" MaxErrorsPerType="1000" MaxThresholdViolations="1000" MaxRequestUrlsReported="1000" UseTestIterations="false" RunDuration="300" WarmupTime="0" CoolDownTime="0" TestIterations="1" WebTestConnectionModel="ConnectionPerUser" WebTestConnectionPoolSize="50" SampleRate="15" ValidationLevel="High" SqlTracingConnectString="" SqlTracingConnectStringDisplayValue="" SqlTracingDirectory="" SqlTracingEnabled="false" SqlTracingFileCount="2" SqlTracingRolloverEnabled="true" SqlTracingMinimumDuration="500" RunUnitTestsInAppDomain="true" CoreCount="0" UseMultipleIPs="false" TestAgentConfiguration="Default" AgentDiagnosticsLevel="Warning">
425 <CounterSetMappings>
426 <CounterSetMapping ComputerName="[CONTROLLER MACHINE]">
427 <CounterSetReferences>
428 <CounterSetReference CounterSetName="LoadTest" />
429 <CounterSetReference CounterSetName="Controller" />
430 </CounterSetReferences>
431 </CounterSetMapping>
432 <CounterSetMapping ComputerName="[AGENT MACHINES]">
433 <CounterSetReferences>
434 <CounterSetReference CounterSetName="Agent" />
435 </CounterSetReferences>
436 </CounterSetMapping>
437 </CounterSetMappings>
438 <LoadGeneratorLocations>
439 <GeoLocation Location="Default" Percentage="100" />
440 </LoadGeneratorLocations>
441 </RunConfiguration>
442 </RunConfigurations>
443 </LoadTest>
...\ No newline at end of file ...\ No newline at end of file
...@@ -82,6 +82,9 @@ ...@@ -82,6 +82,9 @@
82 <None Include="LoadTest3.loadtest"> 82 <None Include="LoadTest3.loadtest">
83 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 83 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
84 </None> 84 </None>
85 <None Include="LoadTest5.loadtest">
86 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
87 </None>
85 <None Include="LoadTest4.loadtest"> 88 <None Include="LoadTest4.loadtest">
86 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 89 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
87 </None> 90 </None>
...@@ -91,6 +94,14 @@ ...@@ -91,6 +94,14 @@
91 <None Include="WebTest21.webtest"> 94 <None Include="WebTest21.webtest">
92 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 95 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
93 </None> 96 </None>
97 <None Include="WebTest6.webtest">
98 <SubType>Designer</SubType>
99 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
100 </None>
101 <None Include="WebTest5.webtest">
102 <SubType>Designer</SubType>
103 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
104 </None>
94 <None Include="WebTest4.webtest"> 105 <None Include="WebTest4.webtest">
95 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 106 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
96 <SubType>Designer</SubType> 107 <SubType>Designer</SubType>
...@@ -98,9 +109,9 @@ ...@@ -98,9 +109,9 @@
98 <None Include="WebTest3.webtest"> 109 <None Include="WebTest3.webtest">
99 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 110 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
100 </None> 111 </None>
101 <Resource Include="Userdata.csv"> 112 <Content Include="Userdata.csv">
102 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 113 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
103 </Resource> 114 </Content>
104 <None Include="WebTest1.webtest"> 115 <None Include="WebTest1.webtest">
105 <CopyToOutputDirectory>Always</CopyToOutputDirectory> 116 <CopyToOutputDirectory>Always</CopyToOutputDirectory>
106 </None> 117 </None>
......
1 <?xml version="1.0" encoding="utf-8"?>
2 <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="">
3 <Items>
4 <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" />
5 <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" />
6 <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">
7 <CorrelationExtractionRules>
8 <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="">
9 <RuleParameters>
10 <RuleParameter Name="StartsWith" Value="?method=" />
11 <RuleParameter Name="EndsWith" Value="&quot;" />
12 <RuleParameter Name="Index" Value="1" />
13 <RuleParameter Name="IgnoreCase" Value="False" />
14 <RuleParameter Name="UseRegularExpression" Value="False" />
15 <RuleParameter Name="HtmlDecode" Value="True" />
16 <RuleParameter Name="Required" Value="False" />
17 </RuleParameters>
18 </ExtractionRule>
19 <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="">
20 <RuleParameters>
21 <RuleParameter Name="StartsWith" Value="?method=" />
22 <RuleParameter Name="EndsWith" Value="&quot;" />
23 <RuleParameter Name="Index" Value="1" />
24 <RuleParameter Name="IgnoreCase" Value="False" />
25 <RuleParameter Name="UseRegularExpression" Value="False" />
26 <RuleParameter Name="HtmlDecode" Value="True" />
27 <RuleParameter Name="Required" Value="False" />
28 </RuleParameters>
29 </ExtractionRule>
30 </CorrelationExtractionRules>
31 </Request>
32 <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">
33 <DependentRequests>
34 <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">
35 <Headers>
36 <Header Name="Accept" Value="application/json, text/plain, */*" />
37 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
38 </Headers>
39 </Request>
40 <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">
41 <Headers>
42 <Header Name="Accept" Value="application/json, text/plain, */*" />
43 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
44 </Headers>
45 </Request>
46 <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">
47 <Headers>
48 <Header Name="Accept" Value="application/json, text/plain, */*" />
49 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
50 </Headers>
51 </Request>
52 <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">
53 <Headers>
54 <Header Name="Accept" Value="application/json, text/plain, */*" />
55 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
56 </Headers>
57 </Request>
58 </DependentRequests>
59 <Headers>
60 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/public/startpage.html" />
61 </Headers>
62 <QueryStringParameters>
63 <QueryStringParameter Name="method" Value="test" RecordedValue="test" CorrelationBinding="{{QueryStringParam6.method}}" UrlEncode="False" UseToGroupResults="False" />
64 </QueryStringParameters>
65 </Request>
66 <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">
67 <QueryStringParameters>
68 <QueryStringParameter Name="method" Value="test" RecordedValue="test" CorrelationBinding="{{QueryStringParam8.method}}" UrlEncode="False" UseToGroupResults="False" />
69 </QueryStringParameters>
70 </Request>
71 <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">
72 <Headers>
73 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
74 </Headers>
75 </Request>
76 <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">
77 <Headers>
78 <Header Name="Accept" Value="application/json, text/plain, */*" />
79 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/webservicetests.html" />
80 </Headers>
81 </Request>
82 </Items>
83 <ContextParameters>
84 <ContextParameter Name="Cert1" Value="U:\projekt\MjukaCertifikat\Interna certifikat_2016\P12\Auth - FN10007 EN10007.p12" />
85 <ContextParameter Name="Cert2" Value="U:\projekt\MjukaCertifikat\Interna certifikat\P12\FN10001 EN10001-Auth.p12" />
86 </ContextParameters>
87 <ValidationRules>
88 <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" />
89 <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">
90 <RuleParameters>
91 <RuleParameter Name="Tolerance" Value="0" />
92 </RuleParameters>
93 </ValidationRule>
94 </ValidationRules>
95 <WebTestPlugins>
96 <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.">
97 <RuleParameters>
98 <RuleParameter Name="exp100" Value="True" />
99 <RuleParameter Name="maxIdle" Value="100" />
100 <RuleParameter Name="keepAlive" Value="False" />
101 <RuleParameter Name="timeOut" Value="5000" />
102 <RuleParameter Name="interVal" Value="1000" />
103 <RuleParameter Name="useNagle" Value="False" />
104 <RuleParameter Name="useTls12" Value="True" />
105 </RuleParameters>
106 </WebTestPlugin>
107 <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.">
108 <RuleParameters>
109 <RuleParameter Name="pCertificatePath" Value="" />
110 <RuleParameter Name="pCertificatePathParameter" Value="Cert1" />
111 <RuleParameter Name="pCertificatePassword" Value="abcd1234" />
112 <RuleParameter Name="pCertificatePasswordParameter" Value="" />
113 <RuleParameter Name="pDebug" Value="False" />
114 <RuleParameter Name="pInstallTrusted" Value="True" />
115 <RuleParameter Name="pInstallUntrusted" Value="True" />
116 </RuleParameters>
117 </WebTestPlugin>
118 </WebTestPlugins>
119 </WebTest>
...\ No newline at end of file ...\ No newline at end of file
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="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">
5 <DependentRequests>
6 <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">
7 <Headers>
8 <Header Name="Accept" Value="application/json, text/plain, */*" />
9 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
10 </Headers>
11 </Request>
12 <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">
13 <Headers>
14 <Header Name="Accept" Value="application/json, text/plain, */*" />
15 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
16 </Headers>
17 </Request>
18 <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">
19 <Headers>
20 <Header Name="Accept" Value="application/json, text/plain, */*" />
21 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
22 </Headers>
23 </Request>
24 <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">
25 <Headers>
26 <Header Name="Accept" Value="application/json, text/plain, */*" />
27 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/pcIndex.html?method=test" />
28 </Headers>
29 </Request>
30 </DependentRequests>
31 <Headers>
32 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/public/startpage.html" />
33 </Headers>
34 <QueryStringParameters>
35 <QueryStringParameter Name="method" Value="test" RecordedValue="test" CorrelationBinding="{{QueryStringParam6.method}}" UrlEncode="False" UseToGroupResults="False" />
36 </QueryStringParameters>
37 </Request>
38 <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">
39 <Headers>
40 <Header Name="Accept" Value="application/json, text/plain, */*" />
41 <Header Name="Referer" Value="https://u01915.kap.rsv.se:17021/webztv/secure/webservicetests.html" />
42 </Headers>
43 </Request>
44 </Items>
45 <ContextParameters>
46 <ContextParameter Name="CertFile" Value="U:\projekt\MjukaCertifikat\Interna certifikat_2016\P12\Auth - FN10007 EN10007.p12" />
47 </ContextParameters>
48 <ValidationRules>
49 <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" />
50 <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">
51 <RuleParameters>
52 <RuleParameter Name="Tolerance" Value="0" />
53 </RuleParameters>
54 </ValidationRule>
55 </ValidationRules>
56 <WebTestPlugins>
57 <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.">
58 <RuleParameters>
59 <RuleParameter Name="exp100" Value="True" />
60 <RuleParameter Name="maxIdle" Value="100" />
61 <RuleParameter Name="keepAlive" Value="False" />
62 <RuleParameter Name="timeOut" Value="5000" />
63 <RuleParameter Name="interVal" Value="1000" />
64 <RuleParameter Name="useNagle" Value="False" />
65 <RuleParameter Name="useTls12" Value="True" />
66 </RuleParameters>
67 </WebTestPlugin>
68 <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.">
69 <RuleParameters>
70 <RuleParameter Name="pCertificatePath" Value="" />
71 <RuleParameter Name="pCertificatePathParameter" Value="CertFile" />
72 <RuleParameter Name="pCertificatePassword" Value="abcd1234" />
73 <RuleParameter Name="pCertificatePasswordParameter" Value="" />
74 <RuleParameter Name="pDebug" Value="False" />
75 <RuleParameter Name="pInstallTrusted" Value="True" />
76 <RuleParameter Name="pInstallUntrusted" Value="True" />
77 </RuleParameters>
78 </WebTestPlugin>
79 </WebTestPlugins>
80 </WebTest>
...\ No newline at end of file ...\ No newline at end of file