Major cleanup
- removed all tests except one of each - removed references to vs version specifics in projs - removed the binary files under release
Showing
21 changed files
with
3 additions
and
2738 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}" | ... | ... |
... | @@ -37,7 +37,7 @@ | ... | @@ -37,7 +37,7 @@ |
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 | <NoWarn>1692;0618;3021</NoWarn> |
43 | </PropertyGroup> | 43 | </PropertyGroup> | ... | ... |
No preview for this file type
No preview for this file type
TestProject1/LoadTest2.loadtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <LoadTest Name="LoadTest2" Description="" Owner="" storage="c:\users\wflg\source\repos\vstt-plugins\testproject1\loadtest2.loadtest" Priority="2147483647" Enabled="true" CssProjectStructure="" CssIteration="" DeploymentItemsEditable="" WorkItemIds="" TraceLevel="None" CurrentRunConfig="Run Settings1" Id="fc290026-ccfc-431e-9205-3b60d7d6f429" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"> | ||
3 | <Scenarios> | ||
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" /> | ||
6 | <LoadProfile Pattern="Constant" InitialUsers="1" /> | ||
7 | <TestMix> | ||
8 | <TestProfile Name="WebTest1" Path="webtest1.webtest" Id="c649760b-6dd8-4210-8a6d-3c6596d08668" 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 7.0" MaxConnections="2"> | ||
13 | <Headers> | ||
14 | <Header Name="User-Agent" Value="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" /> | ||
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="<Emulation><VirtualChannel name="defaultChannel"><FilterList/><VirtualLink instances="1" name="defaultLink"><LinkRule dir="upstream"><Bandwidth><Speed unit="kbps">1000000</Speed></Bandwidth></LinkRule><LinkRule dir="downstream"><Bandwidth><Speed unit="kbps">1000000</Speed></Bandwidth></LinkRule></VirtualLink></VirtualChannel></Emulation>" /> | ||
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 | </Instances> | ||
257 | </CounterCategory> | ||
258 | </CounterCategories> | ||
259 | <DefaultCountersForAutomaticGraphs> | ||
260 | <DefaultCounter CategoryName="Processor" CounterName="% Processor Time" InstanceName="_Total" GraphName="" /> | ||
261 | <DefaultCounter CategoryName="Memory" CounterName="Available MBytes" InstanceName="" GraphName="" /> | ||
262 | </DefaultCountersForAutomaticGraphs> | ||
263 | </CounterSet> | ||
264 | <CounterSet Name="Agent" CounterSetType="Agent" LocId="CounterSet_Agent"> | ||
265 | <CounterCategories> | ||
266 | <CounterCategory Name="Memory"> | ||
267 | <Counters> | ||
268 | <Counter Name="% Committed Bytes In Use" Range="100" /> | ||
269 | <Counter Name="Available MBytes" RangeGroup="Memory Bytes" HigherIsBetter="true"> | ||
270 | <ThresholdRules> | ||
271 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
272 | <RuleParameters> | ||
273 | <RuleParameter Name="AlertIfOver" Value="False" /> | ||
274 | <RuleParameter Name="WarningThreshold" Value="100" /> | ||
275 | <RuleParameter Name="CriticalThreshold" Value="50" /> | ||
276 | </RuleParameters> | ||
277 | </ThresholdRule> | ||
278 | </ThresholdRules> | ||
279 | </Counter> | ||
280 | <Counter Name="Page Faults/sec" /> | ||
281 | <Counter Name="Pages/sec" /> | ||
282 | <Counter Name="Pool Paged Bytes" RangeGroup="Memory Bytes" /> | ||
283 | <Counter Name="Pool Nonpaged bytes" RangeGroup="Memory Bytes" /> | ||
284 | </Counters> | ||
285 | </CounterCategory> | ||
286 | <CounterCategory Name="Network Interface"> | ||
287 | <Counters> | ||
288 | <Counter Name="Bytes Received/sec" RangeGroup="Network Bytes" /> | ||
289 | <Counter Name="Bytes Sent/sec" RangeGroup="Network Bytes" /> | ||
290 | <Counter Name="Output Queue Length"> | ||
291 | <ThresholdRules> | ||
292 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
293 | <RuleParameters> | ||
294 | <RuleParameter Name="AlertIfOver" Value="True" /> | ||
295 | <RuleParameter Name="WarningThreshold" Value="1.5" /> | ||
296 | <RuleParameter Name="CriticalThreshold" Value="2" /> | ||
297 | </RuleParameters> | ||
298 | </ThresholdRule> | ||
299 | </ThresholdRules> | ||
300 | </Counter> | ||
301 | <Counter Name="Packets Received/sec" RangeGroup="Network Packets" /> | ||
302 | <Counter Name="Packets Sent/sec" RangeGroup="Network Packets" /> | ||
303 | <Counter Name="Current Bandwidth" RangeGroup="Network Bytes" /> | ||
304 | <Counter Name="Bytes Total/sec" RangeGroup="Network Bytes"> | ||
305 | <ThresholdRules> | ||
306 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareCounters, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
307 | <RuleParameters> | ||
308 | <RuleParameter Name="DependentCategory" Value="Network Interface" /> | ||
309 | <RuleParameter Name="DependentCounter" Value="Current Bandwidth" /> | ||
310 | <RuleParameter Name="DependentInstance" Value="" /> | ||
311 | <RuleParameter Name="AlertIfOver" Value="True" /> | ||
312 | <RuleParameter Name="WarningThreshold" Value="0.6" /> | ||
313 | <RuleParameter Name="CriticalThreshold" Value="0.7" /> | ||
314 | </RuleParameters> | ||
315 | </ThresholdRule> | ||
316 | </ThresholdRules> | ||
317 | </Counter> | ||
318 | </Counters> | ||
319 | <Instances> | ||
320 | <Instance Name="*" /> | ||
321 | </Instances> | ||
322 | </CounterCategory> | ||
323 | <CounterCategory Name="PhysicalDisk"> | ||
324 | <Counters> | ||
325 | <Counter Name="% Disk Read Time" Range="100" /> | ||
326 | <Counter Name="% Disk Time" Range="100" /> | ||
327 | <Counter Name="% Disk Write Time" Range="100" /> | ||
328 | <Counter Name="% Idle Time" Range="100" HigherIsBetter="true"> | ||
329 | <ThresholdRules> | ||
330 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
331 | <RuleParameters> | ||
332 | <RuleParameter Name="AlertIfOver" Value="False" /> | ||
333 | <RuleParameter Name="WarningThreshold" Value="40" /> | ||
334 | <RuleParameter Name="CriticalThreshold" Value="20" /> | ||
335 | </RuleParameters> | ||
336 | </ThresholdRule> | ||
337 | </ThresholdRules> | ||
338 | </Counter> | ||
339 | <Counter Name="Avg. Disk Bytes/Read" RangeGroup="DiskBytesRate" /> | ||
340 | <Counter Name="Avg. Disk Bytes/Transfer" RangeGroup="DiskBytesRate" /> | ||
341 | <Counter Name="Avg. Disk Bytes/Write" RangeGroup="DiskBytesRate" /> | ||
342 | <Counter Name="Avg. Disk Queue Length" RangeGroup="Disk Queue Length" /> | ||
343 | <Counter Name="Avg. Disk Read Queue Length" RangeGroup="Disk Queue Length" /> | ||
344 | <Counter Name="Avg. Disk Write Queue Length" RangeGroup="Disk Queue Length" /> | ||
345 | <Counter Name="Current Disk Queue Length" RangeGroup="Disk Queue Length" /> | ||
346 | <Counter Name="Avg. Disk sec/Read" RangeGroup="Disk sec" /> | ||
347 | <Counter Name="Avg. Disk sec/Transfer" RangeGroup="Disk sec" /> | ||
348 | <Counter Name="Avg. Disk sec/Write" RangeGroup="Disk sec" /> | ||
349 | <Counter Name="Disk Bytes/sec" RangeGroup="Disk Bytes sec" /> | ||
350 | <Counter Name="Disk Read Bytes/sec" RangeGroup="Disk Bytes sec" /> | ||
351 | <Counter Name="Disk Reads/sec" RangeGroup="Disk Transfers sec" /> | ||
352 | <Counter Name="Disk Transfers/sec" RangeGroup="Disk Transfers sec" /> | ||
353 | <Counter Name="Disk Write Bytes/sec" RangeGroup="Disk Bytes sec" /> | ||
354 | <Counter Name="Disk Writes/sec" RangeGroup="Disk Transfers sec" /> | ||
355 | <Counter Name="Split IO/Sec" RangeGroup="Disk Transfers sec" /> | ||
356 | </Counters> | ||
357 | <Instances> | ||
358 | <Instance Name="*" /> | ||
359 | </Instances> | ||
360 | </CounterCategory> | ||
361 | <CounterCategory Name="Processor"> | ||
362 | <Counters> | ||
363 | <Counter Name="% Processor Time" Range="100"> | ||
364 | <ThresholdRules> | ||
365 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
366 | <RuleParameters> | ||
367 | <RuleParameter Name="AlertIfOver" Value="True" /> | ||
368 | <RuleParameter Name="WarningThreshold" Value="75" /> | ||
369 | <RuleParameter Name="CriticalThreshold" Value="90" /> | ||
370 | </RuleParameters> | ||
371 | </ThresholdRule> | ||
372 | </ThresholdRules> | ||
373 | </Counter> | ||
374 | <Counter Name="% Privileged Time" Range="100" /> | ||
375 | <Counter Name="% User Time" Range="100" /> | ||
376 | </Counters> | ||
377 | <Instances> | ||
378 | <Instance Name="0" /> | ||
379 | <Instance Name="_Total" /> | ||
380 | </Instances> | ||
381 | </CounterCategory> | ||
382 | <CounterCategory Name="System"> | ||
383 | <Counters> | ||
384 | <Counter Name="Context Switches/sec" /> | ||
385 | <Counter Name="Processes" /> | ||
386 | <Counter Name="Processor Queue Length" /> | ||
387 | <Counter Name="Threads" /> | ||
388 | </Counters> | ||
389 | </CounterCategory> | ||
390 | <CounterCategory Name="Process"> | ||
391 | <Counters> | ||
392 | <Counter Name="% Processor Time" RangeGroup="Processor Time" /> | ||
393 | <Counter Name="% Privileged Time" RangeGroup="Processor Time" /> | ||
394 | <Counter Name="% User Time" RangeGroup="Processor Time" /> | ||
395 | <Counter Name="Handle Count" /> | ||
396 | <Counter Name="Thread Count" /> | ||
397 | <Counter Name="Private Bytes" RangeGroup="Memory Bytes" /> | ||
398 | <Counter Name="Virtual Bytes" RangeGroup="Memory Bytes" /> | ||
399 | <Counter Name="Working Set" RangeGroup="Memory Bytes" /> | ||
400 | </Counters> | ||
401 | <Instances> | ||
402 | <Instance Name="devenv" /> | ||
403 | <Instance Name="QTAgentService" /> | ||
404 | <Instance Name="QTAgent" /> | ||
405 | <Instance Name="QTAgent32" /> | ||
406 | <Instance Name="QTDCAgent" /> | ||
407 | <Instance Name="QTDCAgent32" /> | ||
408 | </Instances> | ||
409 | </CounterCategory> | ||
410 | </CounterCategories> | ||
411 | <DefaultCountersForAutomaticGraphs> | ||
412 | <DefaultCounter CategoryName="Processor" CounterName="% Processor Time" InstanceName="0" GraphName="" RunType="Local" /> | ||
413 | <DefaultCounter CategoryName="Processor" CounterName="% Processor Time" InstanceName="_Total" GraphName="" RunType="Remote" /> | ||
414 | <DefaultCounter CategoryName="Memory" CounterName="Available MBytes" InstanceName="" GraphName="" /> | ||
415 | </DefaultCountersForAutomaticGraphs> | ||
416 | </CounterSet> | ||
417 | </CounterSets> | ||
418 | <RunConfigurations> | ||
419 | <RunConfiguration Name="Run Settings1" Description="" ResultsStoreType="Database" TimingDetailsStorage="AllIndividualDetails" SaveTestLogsOnError="true" SaveTestLogsFrequency="1" MaxErrorDetails="200" MaxErrorsPerType="1000" MaxThresholdViolations="1000" MaxRequestUrlsReported="1000" UseTestIterations="true" RunDuration="600" WarmupTime="0" CoolDownTime="0" TestIterations="20" WebTestConnectionModel="ConnectionPerUser" WebTestConnectionPoolSize="50" SampleRate="5" ValidationLevel="High" SqlTracingConnectString="" SqlTracingConnectStringDisplayValue="" SqlTracingDirectory="" SqlTracingEnabled="false" SqlTracingFileCount="2" SqlTracingRolloverEnabled="true" SqlTracingMinimumDuration="500" RunUnitTestsInAppDomain="true" CoreCount="0" UseMultipleIPs="false" TestAgentConfiguration="Default" AgentDiagnosticsLevel="Warning"> | ||
420 | <CounterSetMappings> | ||
421 | <CounterSetMapping ComputerName="[CONTROLLER MACHINE]"> | ||
422 | <CounterSetReferences> | ||
423 | <CounterSetReference CounterSetName="LoadTest" /> | ||
424 | <CounterSetReference CounterSetName="Controller" /> | ||
425 | </CounterSetReferences> | ||
426 | </CounterSetMapping> | ||
427 | <CounterSetMapping ComputerName="[AGENT MACHINES]"> | ||
428 | <CounterSetReferences> | ||
429 | <CounterSetReference CounterSetName="Agent" /> | ||
430 | </CounterSetReferences> | ||
431 | </CounterSetMapping> | ||
432 | </CounterSetMappings> | ||
433 | </RunConfiguration> | ||
434 | </RunConfigurations> | ||
435 | </LoadTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/LoadTest3.loadtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <LoadTest Name="LoadTest3" Description="" Owner="" storage="c:\users\wflg\source\repos\vstt-plugins\testproject1\loadtest3.loadtest" Priority="2147483647" Enabled="true" CssProjectStructure="" CssIteration="" DeploymentItemsEditable="" WorkItemIds="" TraceLevel="None" CurrentRunConfig="Run Settings1" Id="480f5b6d-7ec5-4d81-93a3-c580f36a40fd" 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" Pattern="Off" /> | ||
6 | <LoadProfile Pattern="Constant" InitialUsers="4" /> | ||
7 | <TestMix> | ||
8 | <TestProfile Name="WebTest21" Path="webtest21.webtest" Id="9af8354e-b982-4f5a-80f9-777eaed55003" Percentage="50" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
9 | <TestProfile Name="WebTest22" Path="webtest22.webtest" Id="b8fad392-6953-4eda-9be0-2037277680f6" Percentage="50" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||
10 | </TestMix> | ||
11 | <BrowserMix> | ||
12 | <BrowserProfile Percentage="100"> | ||
13 | <Browser Name="Internet Explorer 9.0" MaxConnections="6"> | ||
14 | <Headers> | ||
15 | <Header Name="User-Agent" Value="Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)" /> | ||
16 | <Header Name="Accept" Value="*/*" /> | ||
17 | <Header Name="Accept-Language" Value="{{$IEAcceptLanguage}}" /> | ||
18 | <Header Name="Accept-Encoding" Value="GZIP" /> | ||
19 | </Headers> | ||
20 | </Browser> | ||
21 | </BrowserProfile> | ||
22 | </BrowserMix> | ||
23 | <NetworkMix> | ||
24 | <NetworkProfile Percentage="100"> | ||
25 | <Network Name="LAN" BandwidthInKbps="1000000" NetworkProfileConfigurationXml="<Emulation><VirtualChannel name="defaultChannel"><FilterList/><VirtualLink instances="1" name="defaultLink"><LinkRule dir="upstream"><Bandwidth><Speed unit="kbps">1000000</Speed></Bandwidth></LinkRule><LinkRule dir="downstream"><Bandwidth><Speed unit="kbps">1000000</Speed></Bandwidth></LinkRule></VirtualLink></VirtualChannel></Emulation>" /> | ||
26 | </NetworkProfile> | ||
27 | </NetworkMix> | ||
28 | </Scenario> | ||
29 | </Scenarios> | ||
30 | <CounterSets> | ||
31 | <CounterSet Name="LoadTest" CounterSetType="LoadTest" LocId=""> | ||
32 | <CounterCategories> | ||
33 | <CounterCategory Name="LoadTest:Scenario"> | ||
34 | <Counters> | ||
35 | <Counter Name="User Load" HigherIsBetter="true" /> | ||
36 | <Counter Name="Tests Running" HigherIsBetter="true" /> | ||
37 | </Counters> | ||
38 | </CounterCategory> | ||
39 | <CounterCategory Name="LoadTest:Test"> | ||
40 | <Counters> | ||
41 | <Counter Name="Total Tests" HigherIsBetter="true" /> | ||
42 | <Counter Name="Passed Tests" HigherIsBetter="true" /> | ||
43 | <Counter Name="Failed Tests" /> | ||
44 | <Counter Name="Tests/Sec" HigherIsBetter="true" /> | ||
45 | <Counter Name="Passed Tests/Sec" HigherIsBetter="true" /> | ||
46 | <Counter Name="Failed Tests/Sec" /> | ||
47 | <Counter Name="Avg. Requests/Test" HigherIsBetter="true" /> | ||
48 | <Counter Name="Avg. Test Time" /> | ||
49 | <Counter Name="% Time in LoadTestPlugin" /> | ||
50 | <Counter Name="% Time in WebTest code" /> | ||
51 | <Counter Name="% Time in Rules" /> | ||
52 | </Counters> | ||
53 | </CounterCategory> | ||
54 | <CounterCategory Name="LoadTest:Transaction"> | ||
55 | <Counters> | ||
56 | <Counter Name="Total Transactions" HigherIsBetter="true" /> | ||
57 | <Counter Name="Avg. Transaction Time" /> | ||
58 | <Counter Name="Avg. Response Time" /> | ||
59 | <Counter Name="Transactions/Sec" HigherIsBetter="true" /> | ||
60 | </Counters> | ||
61 | </CounterCategory> | ||
62 | <CounterCategory Name="LoadTest:Errors"> | ||
63 | <Counters> | ||
64 | <Counter Name="Http Errors" /> | ||
65 | <Counter Name="Validation Rule Errors" /> | ||
66 | <Counter Name="Extraction Rule Errors" /> | ||
67 | <Counter Name="Requests Timed Out" /> | ||
68 | <Counter Name="Exceptions" /> | ||
69 | <Counter Name="Total Errors" /> | ||
70 | <Counter Name="Errors/Sec" /> | ||
71 | <Counter Name="Threshold Violations/Sec" /> | ||
72 | </Counters> | ||
73 | </CounterCategory> | ||
74 | <CounterCategory Name="LoadTest:Page"> | ||
75 | <Counters> | ||
76 | <Counter Name="Total Pages" HigherIsBetter="true" /> | ||
77 | <Counter Name="Avg. Page Time" /> | ||
78 | <Counter Name="Page Response Time Goal" HigherIsBetter="true" /> | ||
79 | <Counter Name="% Pages Meeting Goal" HigherIsBetter="true" /> | ||
80 | <Counter Name="Pages/Sec" HigherIsBetter="true" /> | ||
81 | </Counters> | ||
82 | </CounterCategory> | ||
83 | <CounterCategory Name="LoadTest:Request"> | ||
84 | <Counters> | ||
85 | <Counter Name="Total Requests" HigherIsBetter="true" /> | ||
86 | <Counter Name="Passed Requests" HigherIsBetter="true" /> | ||
87 | <Counter Name="Failed Requests" /> | ||
88 | <Counter Name="Cached Requests" HigherIsBetter="true" /> | ||
89 | <Counter Name="Requests/Sec" HigherIsBetter="true" /> | ||
90 | <Counter Name="Passed Requests/Sec" HigherIsBetter="true" /> | ||
91 | <Counter Name="Failed Requests/Sec" /> | ||
92 | <Counter Name="Avg. First Byte Time" /> | ||
93 | <Counter Name="Avg. Response Time" /> | ||
94 | <Counter Name="Avg. Connection Wait Time"> | ||
95 | <ThresholdRules> | ||
96 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareCounters, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
97 | <RuleParameters> | ||
98 | <RuleParameter Name="DependentCategory" Value="LoadTest:Page" /> | ||
99 | <RuleParameter Name="DependentCounter" Value="Avg. Page Time" /> | ||
100 | <RuleParameter Name="DependentInstance" Value="_Total" /> | ||
101 | <RuleParameter Name="AlertIfOver" Value="True" /> | ||
102 | <RuleParameter Name="WarningThreshold" Value="0.25" /> | ||
103 | <RuleParameter Name="CriticalThreshold" Value="0.5" /> | ||
104 | </RuleParameters> | ||
105 | </ThresholdRule> | ||
106 | </ThresholdRules> | ||
107 | </Counter> | ||
108 | <Counter Name="Avg. Content Length" /> | ||
109 | </Counters> | ||
110 | </CounterCategory> | ||
111 | <CounterCategory Name="LoadTest:LogEntries"> | ||
112 | <Counters> | ||
113 | <Counter Name="Total Log Entries" /> | ||
114 | <Counter Name="Log Entries/Sec" /> | ||
115 | </Counters> | ||
116 | </CounterCategory> | ||
117 | </CounterCategories> | ||
118 | </CounterSet> | ||
119 | <CounterSet Name="Controller" CounterSetType="Controller" LocId="CounterSet_Controller"> | ||
120 | <CounterCategories> | ||
121 | <CounterCategory Name="Memory"> | ||
122 | <Counters> | ||
123 | <Counter Name="% Committed Bytes In Use" Range="100" /> | ||
124 | <Counter Name="Available MBytes" RangeGroup="Memory Bytes" HigherIsBetter="true"> | ||
125 | <ThresholdRules> | ||
126 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
127 | <RuleParameters> | ||
128 | <RuleParameter Name="AlertIfOver" Value="False" /> | ||
129 | <RuleParameter Name="WarningThreshold" Value="100" /> | ||
130 | <RuleParameter Name="CriticalThreshold" Value="50" /> | ||
131 | </RuleParameters> | ||
132 | </ThresholdRule> | ||
133 | </ThresholdRules> | ||
134 | </Counter> | ||
135 | <Counter Name="Page Faults/sec" /> | ||
136 | <Counter Name="Pages/sec" /> | ||
137 | <Counter Name="Pool Paged Bytes" RangeGroup="Memory Bytes" /> | ||
138 | <Counter Name="Pool Nonpaged bytes" RangeGroup="Memory Bytes" /> | ||
139 | </Counters> | ||
140 | </CounterCategory> | ||
141 | <CounterCategory Name="Network Interface"> | ||
142 | <Counters> | ||
143 | <Counter Name="Bytes Received/sec" RangeGroup="Network Bytes" /> | ||
144 | <Counter Name="Bytes Sent/sec" RangeGroup="Network Bytes" /> | ||
145 | <Counter Name="Output Queue Length"> | ||
146 | <ThresholdRules> | ||
147 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
148 | <RuleParameters> | ||
149 | <RuleParameter Name="AlertIfOver" Value="True" /> | ||
150 | <RuleParameter Name="WarningThreshold" Value="1.5" /> | ||
151 | <RuleParameter Name="CriticalThreshold" Value="2" /> | ||
152 | </RuleParameters> | ||
153 | </ThresholdRule> | ||
154 | </ThresholdRules> | ||
155 | </Counter> | ||
156 | <Counter Name="Packets Received/sec" RangeGroup="Network Packets" /> | ||
157 | <Counter Name="Packets Sent/sec" RangeGroup="Network Packets" /> | ||
158 | <Counter Name="Current Bandwidth" RangeGroup="Network Bytes" /> | ||
159 | <Counter Name="Bytes Total/sec" RangeGroup="Network Bytes"> | ||
160 | <ThresholdRules> | ||
161 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareCounters, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
162 | <RuleParameters> | ||
163 | <RuleParameter Name="DependentCategory" Value="Network Interface" /> | ||
164 | <RuleParameter Name="DependentCounter" Value="Current Bandwidth" /> | ||
165 | <RuleParameter Name="DependentInstance" Value="" /> | ||
166 | <RuleParameter Name="AlertIfOver" Value="True" /> | ||
167 | <RuleParameter Name="WarningThreshold" Value="0.6" /> | ||
168 | <RuleParameter Name="CriticalThreshold" Value="0.7" /> | ||
169 | </RuleParameters> | ||
170 | </ThresholdRule> | ||
171 | </ThresholdRules> | ||
172 | </Counter> | ||
173 | </Counters> | ||
174 | <Instances> | ||
175 | <Instance Name="*" /> | ||
176 | </Instances> | ||
177 | </CounterCategory> | ||
178 | <CounterCategory Name="PhysicalDisk"> | ||
179 | <Counters> | ||
180 | <Counter Name="% Disk Read Time" Range="100" /> | ||
181 | <Counter Name="% Disk Time" Range="100" /> | ||
182 | <Counter Name="% Disk Write Time" Range="100" /> | ||
183 | <Counter Name="% Idle Time" Range="100" HigherIsBetter="true"> | ||
184 | <ThresholdRules> | ||
185 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
186 | <RuleParameters> | ||
187 | <RuleParameter Name="AlertIfOver" Value="False" /> | ||
188 | <RuleParameter Name="WarningThreshold" Value="40" /> | ||
189 | <RuleParameter Name="CriticalThreshold" Value="20" /> | ||
190 | </RuleParameters> | ||
191 | </ThresholdRule> | ||
192 | </ThresholdRules> | ||
193 | </Counter> | ||
194 | <Counter Name="Avg. Disk Bytes/Read" RangeGroup="DiskBytesRate" /> | ||
195 | <Counter Name="Avg. Disk Bytes/Transfer" RangeGroup="DiskBytesRate" /> | ||
196 | <Counter Name="Avg. Disk Bytes/Write" RangeGroup="DiskBytesRate" /> | ||
197 | <Counter Name="Avg. Disk Queue Length" RangeGroup="Disk Queue Length" /> | ||
198 | <Counter Name="Avg. Disk Read Queue Length" RangeGroup="Disk Queue Length" /> | ||
199 | <Counter Name="Avg. Disk Write Queue Length" RangeGroup="Disk Queue Length" /> | ||
200 | <Counter Name="Current Disk Queue Length" RangeGroup="Disk Queue Length" /> | ||
201 | <Counter Name="Avg. Disk sec/Read" RangeGroup="Disk sec" /> | ||
202 | <Counter Name="Avg. Disk sec/Transfer" RangeGroup="Disk sec" /> | ||
203 | <Counter Name="Avg. Disk sec/Write" RangeGroup="Disk sec" /> | ||
204 | <Counter Name="Disk Bytes/sec" RangeGroup="Disk Bytes sec" /> | ||
205 | <Counter Name="Disk Read Bytes/sec" RangeGroup="Disk Bytes sec" /> | ||
206 | <Counter Name="Disk Reads/sec" RangeGroup="Disk Transfers sec" /> | ||
207 | <Counter Name="Disk Transfers/sec" RangeGroup="Disk Transfers sec" /> | ||
208 | <Counter Name="Disk Write Bytes/sec" RangeGroup="Disk Bytes sec" /> | ||
209 | <Counter Name="Disk Writes/sec" RangeGroup="Disk Transfers sec" /> | ||
210 | <Counter Name="Split IO/Sec" RangeGroup="Disk Transfers sec" /> | ||
211 | </Counters> | ||
212 | <Instances> | ||
213 | <Instance Name="*" /> | ||
214 | </Instances> | ||
215 | </CounterCategory> | ||
216 | <CounterCategory Name="Processor"> | ||
217 | <Counters> | ||
218 | <Counter Name="% Processor Time" Range="100"> | ||
219 | <ThresholdRules> | ||
220 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
221 | <RuleParameters> | ||
222 | <RuleParameter Name="AlertIfOver" Value="True" /> | ||
223 | <RuleParameter Name="WarningThreshold" Value="75" /> | ||
224 | <RuleParameter Name="CriticalThreshold" Value="90" /> | ||
225 | </RuleParameters> | ||
226 | </ThresholdRule> | ||
227 | </ThresholdRules> | ||
228 | </Counter> | ||
229 | <Counter Name="% Privileged Time" Range="100" /> | ||
230 | <Counter Name="% User Time" Range="100" /> | ||
231 | </Counters> | ||
232 | <Instances> | ||
233 | <Instance Name="_Total" /> | ||
234 | </Instances> | ||
235 | </CounterCategory> | ||
236 | <CounterCategory Name="System"> | ||
237 | <Counters> | ||
238 | <Counter Name="Context Switches/sec" /> | ||
239 | <Counter Name="Processes" /> | ||
240 | <Counter Name="Processor Queue Length" /> | ||
241 | <Counter Name="Threads" /> | ||
242 | </Counters> | ||
243 | </CounterCategory> | ||
244 | <CounterCategory Name="Process"> | ||
245 | <Counters> | ||
246 | <Counter Name="% Processor Time" RangeGroup="Processor Time" /> | ||
247 | <Counter Name="% Privileged Time" RangeGroup="Processor Time" /> | ||
248 | <Counter Name="% User Time" RangeGroup="Processor Time" /> | ||
249 | <Counter Name="Handle Count" /> | ||
250 | <Counter Name="Thread Count" /> | ||
251 | <Counter Name="Private Bytes" RangeGroup="Memory Bytes" /> | ||
252 | <Counter Name="Virtual Bytes" RangeGroup="Memory Bytes" /> | ||
253 | <Counter Name="Working Set" RangeGroup="Memory Bytes" /> | ||
254 | </Counters> | ||
255 | <Instances> | ||
256 | <Instance Name="QTController" /> | ||
257 | <Instance Name="QTController64" /> | ||
258 | </Instances> | ||
259 | </CounterCategory> | ||
260 | </CounterCategories> | ||
261 | <DefaultCountersForAutomaticGraphs> | ||
262 | <DefaultCounter CategoryName="Processor" CounterName="% Processor Time" InstanceName="_Total" GraphName="" /> | ||
263 | <DefaultCounter CategoryName="Memory" CounterName="Available MBytes" InstanceName="" GraphName="" /> | ||
264 | </DefaultCountersForAutomaticGraphs> | ||
265 | </CounterSet> | ||
266 | <CounterSet Name="Agent" CounterSetType="Agent" LocId="CounterSet_Agent"> | ||
267 | <CounterCategories> | ||
268 | <CounterCategory Name="Memory"> | ||
269 | <Counters> | ||
270 | <Counter Name="% Committed Bytes In Use" Range="100" /> | ||
271 | <Counter Name="Available MBytes" RangeGroup="Memory Bytes" HigherIsBetter="true"> | ||
272 | <ThresholdRules> | ||
273 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
274 | <RuleParameters> | ||
275 | <RuleParameter Name="AlertIfOver" Value="False" /> | ||
276 | <RuleParameter Name="WarningThreshold" Value="100" /> | ||
277 | <RuleParameter Name="CriticalThreshold" Value="50" /> | ||
278 | </RuleParameters> | ||
279 | </ThresholdRule> | ||
280 | </ThresholdRules> | ||
281 | </Counter> | ||
282 | <Counter Name="Page Faults/sec" /> | ||
283 | <Counter Name="Pages/sec" /> | ||
284 | <Counter Name="Pool Paged Bytes" RangeGroup="Memory Bytes" /> | ||
285 | <Counter Name="Pool Nonpaged bytes" RangeGroup="Memory Bytes" /> | ||
286 | </Counters> | ||
287 | </CounterCategory> | ||
288 | <CounterCategory Name="Network Interface"> | ||
289 | <Counters> | ||
290 | <Counter Name="Bytes Received/sec" RangeGroup="Network Bytes" /> | ||
291 | <Counter Name="Bytes Sent/sec" RangeGroup="Network Bytes" /> | ||
292 | <Counter Name="Output Queue Length"> | ||
293 | <ThresholdRules> | ||
294 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
295 | <RuleParameters> | ||
296 | <RuleParameter Name="AlertIfOver" Value="True" /> | ||
297 | <RuleParameter Name="WarningThreshold" Value="1.5" /> | ||
298 | <RuleParameter Name="CriticalThreshold" Value="2" /> | ||
299 | </RuleParameters> | ||
300 | </ThresholdRule> | ||
301 | </ThresholdRules> | ||
302 | </Counter> | ||
303 | <Counter Name="Packets Received/sec" RangeGroup="Network Packets" /> | ||
304 | <Counter Name="Packets Sent/sec" RangeGroup="Network Packets" /> | ||
305 | <Counter Name="Current Bandwidth" RangeGroup="Network Bytes" /> | ||
306 | <Counter Name="Bytes Total/sec" RangeGroup="Network Bytes"> | ||
307 | <ThresholdRules> | ||
308 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareCounters, Microsoft.VisualStudio.QualityTools.LoadTest, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> | ||
309 | <RuleParameters> | ||
310 | <RuleParameter Name="DependentCategory" Value="Network Interface" /> | ||
311 | <RuleParameter Name="DependentCounter" Value="Current Bandwidth" /> | ||
312 | <RuleParameter Name="DependentInstance" Value="" /> | ||
313 | <RuleParameter Name="AlertIfOver" Value="True" /> | ||
314 | <RuleParameter Name="WarningThreshold" Value="0.6" /> | ||
315 | <RuleParameter Name="CriticalThreshold" Value="0.7" /> | ||
316 | </RuleParameters> | ||
317 | </ThresholdRule> | ||
318 | </ThresholdRules> | ||
319 | </Counter> | ||
320 | </Counters> | ||
321 | <Instances> | ||
322 | <Instance Name="*" /> | ||
323 | </Instances> | ||
324 | </CounterCategory> | ||
325 | <CounterCategory Name="PhysicalDisk"> | ||
326 | <Counters> | ||
327 | <Counter Name="% Disk Read Time" Range="100" /> | ||
328 | <Counter Name="% Disk Time" Range="100" /> | ||
329 | <Counter Name="% Disk Write Time" Range="100" /> | ||
330 | <Counter Name="% Idle Time" Range="100" HigherIsBetter="true"> | ||
331 | <ThresholdRules> | ||
332 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
333 | <RuleParameters> | ||
334 | <RuleParameter Name="AlertIfOver" Value="False" /> | ||
335 | <RuleParameter Name="WarningThreshold" Value="40" /> | ||
336 | <RuleParameter Name="CriticalThreshold" Value="20" /> | ||
337 | </RuleParameters> | ||
338 | </ThresholdRule> | ||
339 | </ThresholdRules> | ||
340 | </Counter> | ||
341 | <Counter Name="Avg. Disk Bytes/Read" RangeGroup="DiskBytesRate" /> | ||
342 | <Counter Name="Avg. Disk Bytes/Transfer" RangeGroup="DiskBytesRate" /> | ||
343 | <Counter Name="Avg. Disk Bytes/Write" RangeGroup="DiskBytesRate" /> | ||
344 | <Counter Name="Avg. Disk Queue Length" RangeGroup="Disk Queue Length" /> | ||
345 | <Counter Name="Avg. Disk Read Queue Length" RangeGroup="Disk Queue Length" /> | ||
346 | <Counter Name="Avg. Disk Write Queue Length" RangeGroup="Disk Queue Length" /> | ||
347 | <Counter Name="Current Disk Queue Length" RangeGroup="Disk Queue Length" /> | ||
348 | <Counter Name="Avg. Disk sec/Read" RangeGroup="Disk sec" /> | ||
349 | <Counter Name="Avg. Disk sec/Transfer" RangeGroup="Disk sec" /> | ||
350 | <Counter Name="Avg. Disk sec/Write" RangeGroup="Disk sec" /> | ||
351 | <Counter Name="Disk Bytes/sec" RangeGroup="Disk Bytes sec" /> | ||
352 | <Counter Name="Disk Read Bytes/sec" RangeGroup="Disk Bytes sec" /> | ||
353 | <Counter Name="Disk Reads/sec" RangeGroup="Disk Transfers sec" /> | ||
354 | <Counter Name="Disk Transfers/sec" RangeGroup="Disk Transfers sec" /> | ||
355 | <Counter Name="Disk Write Bytes/sec" RangeGroup="Disk Bytes sec" /> | ||
356 | <Counter Name="Disk Writes/sec" RangeGroup="Disk Transfers sec" /> | ||
357 | <Counter Name="Split IO/Sec" RangeGroup="Disk Transfers sec" /> | ||
358 | </Counters> | ||
359 | <Instances> | ||
360 | <Instance Name="*" /> | ||
361 | </Instances> | ||
362 | </CounterCategory> | ||
363 | <CounterCategory Name="Processor"> | ||
364 | <Counters> | ||
365 | <Counter Name="% Processor Time" Range="100"> | ||
366 | <ThresholdRules> | ||
367 | <ThresholdRule Classname="Microsoft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant, Microsoft.VisualStudio.QualityTools.LoadTest"> | ||
368 | <RuleParameters> | ||
369 | <RuleParameter Name="AlertIfOver" Value="True" /> | ||
370 | <RuleParameter Name="WarningThreshold" Value="75" /> | ||
371 | <RuleParameter Name="CriticalThreshold" Value="90" /> | ||
372 | </RuleParameters> | ||
373 | </ThresholdRule> | ||
374 | </ThresholdRules> | ||
375 | </Counter> | ||
376 | <Counter Name="% Privileged Time" Range="100" /> | ||
377 | <Counter Name="% User Time" Range="100" /> | ||
378 | </Counters> | ||
379 | <Instances> | ||
380 | <Instance Name="0" /> | ||
381 | <Instance Name="_Total" /> | ||
382 | </Instances> | ||
383 | </CounterCategory> | ||
384 | <CounterCategory Name="System"> | ||
385 | <Counters> | ||
386 | <Counter Name="Context Switches/sec" /> | ||
387 | <Counter Name="Processes" /> | ||
388 | <Counter Name="Processor Queue Length" /> | ||
389 | <Counter Name="Threads" /> | ||
390 | </Counters> | ||
391 | </CounterCategory> | ||
392 | <CounterCategory Name="Process"> | ||
393 | <Counters> | ||
394 | <Counter Name="% Processor Time" RangeGroup="Processor Time" /> | ||
395 | <Counter Name="% Privileged Time" RangeGroup="Processor Time" /> | ||
396 | <Counter Name="% User Time" RangeGroup="Processor Time" /> | ||
397 | <Counter Name="Handle Count" /> | ||
398 | <Counter Name="Thread Count" /> | ||
399 | <Counter Name="Private Bytes" RangeGroup="Memory Bytes" /> | ||
400 | <Counter Name="Virtual Bytes" RangeGroup="Memory Bytes" /> | ||
401 | <Counter Name="Working Set" RangeGroup="Memory Bytes" /> | ||
402 | </Counters> | ||
403 | <Instances> | ||
404 | <Instance Name="devenv" /> | ||
405 | <Instance Name="QTAgentService" /> | ||
406 | <Instance Name="QTAgent" /> | ||
407 | <Instance Name="QTAgent32" /> | ||
408 | <Instance Name="QTDCAgent" /> | ||
409 | <Instance Name="QTDCAgent32" /> | ||
410 | <Instance Name="QTAgent_35" /> | ||
411 | <Instance Name="QTAgent_40" /> | ||
412 | <Instance Name="QTAgent32_35" /> | ||
413 | <Instance Name="QTAgent32_40" /> | ||
414 | </Instances> | ||
415 | </CounterCategory> | ||
416 | </CounterCategories> | ||
417 | <DefaultCountersForAutomaticGraphs> | ||
418 | <DefaultCounter CategoryName="Processor" CounterName="% Processor Time" InstanceName="0" GraphName="" RunType="Local" /> | ||
419 | <DefaultCounter CategoryName="Processor" CounterName="% Processor Time" InstanceName="_Total" GraphName="" RunType="Remote" /> | ||
420 | <DefaultCounter CategoryName="Memory" CounterName="Available MBytes" InstanceName="" GraphName="" /> | ||
421 | </DefaultCountersForAutomaticGraphs> | ||
422 | </CounterSet> | ||
423 | </CounterSets> | ||
424 | <RunConfigurations> | ||
425 | <RunConfiguration Name="Run Settings1" Description="" ResultsStoreType="Database" TimingDetailsStorage="AllIndividualDetails" SaveTestLogsOnError="true" SaveTestLogsFrequency="1" MaxErrorDetails="200" MaxErrorsPerType="1000" MaxThresholdViolations="1000" MaxRequestUrlsReported="1000" UseTestIterations="true" RunDuration="300" WarmupTime="0" CoolDownTime="0" TestIterations="8" WebTestConnectionModel="ConnectionPerUser" WebTestConnectionPoolSize="50" SampleRate="5" ValidationLevel="High" SqlTracingConnectString="" SqlTracingConnectStringDisplayValue="" SqlTracingDirectory="" SqlTracingEnabled="false" SqlTracingFileCount="2" SqlTracingRolloverEnabled="true" SqlTracingMinimumDuration="500" RunUnitTestsInAppDomain="true" CoreCount="0" UseMultipleIPs="false" TestAgentConfiguration="Default" AgentDiagnosticsLevel="Warning"> | ||
426 | <CounterSetMappings> | ||
427 | <CounterSetMapping ComputerName="[CONTROLLER MACHINE]"> | ||
428 | <CounterSetReferences> | ||
429 | <CounterSetReference CounterSetName="LoadTest" /> | ||
430 | <CounterSetReference CounterSetName="Controller" /> | ||
431 | </CounterSetReferences> | ||
432 | </CounterSetMapping> | ||
433 | <CounterSetMapping ComputerName="[AGENT MACHINES]"> | ||
434 | <CounterSetReferences> | ||
435 | <CounterSetReference CounterSetName="Agent" /> | ||
436 | </CounterSetReferences> | ||
437 | </CounterSetMapping> | ||
438 | </CounterSetMappings> | ||
439 | <LoadGeneratorLocations> | ||
440 | <GeoLocation Location="Default" Percentage="100" /> | ||
441 | </LoadGeneratorLocations> | ||
442 | </RunConfiguration> | ||
443 | </RunConfigurations> | ||
444 | <LoadTestPlugins> | ||
445 | <LoadTestPlugin Classname="LIL_VSTT_Plugins.SetTestParameter, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Set Test Context Parameters" Description="(C) Copyright 2011 LIGHTS IN LINE AB
Sätter parametrar i testcontextet för tester i mixen hämtat från en CSV fil"> | ||
446 | <RuleParameters> | ||
447 | <RuleParameter Name="Connection_String" Value="C:\tmp\test1.txt" /> | ||
448 | <RuleParameter Name="Has_col_name" Value="False" /> | ||
449 | <RuleParameter Name="Autosplit" Value="False" /> | ||
450 | <RuleParameter Name="Parameter_Name" Value="Par1" /> | ||
451 | <RuleParameter Name="LogFilePathString" Value="C:\Temp\Fungerande.log" /> | ||
452 | <RuleParameter Name="LogFileAppendID" Value="False" /> | ||
453 | <RuleParameter Name="LogFileAppendName" Value="False" /> | ||
454 | <RuleParameter Name="Use_Random" Value="False" /> | ||
455 | <RuleParameter Name="Use_Unique" Value="False" /> | ||
456 | <RuleParameter Name="Use_UniqueIteration" Value="False" /> | ||
457 | <RuleParameter Name="Use_Loop" Value="True" /> | ||
458 | <RuleParameter Name="Log_To_File" Value="False" /> | ||
459 | <RuleParameter Name="Test_Names" Value="WebTest21" /> | ||
460 | <RuleParameter Name="Scenario_Names" Value="" /> | ||
461 | <RuleParameter Name="Agent_Names" Value="" /> | ||
462 | <RuleParameter Name="Use_UniqueTestIteration" Value="True" /> | ||
463 | </RuleParameters> | ||
464 | </LoadTestPlugin> | ||
465 | <LoadTestPlugin Classname="LIL_VSTT_Plugins.SetTestParameter, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="Set Test Context Parameters" Description="(C) Copyright 2011 LIGHTS IN LINE AB
Sätter parametrar i testcontextet för tester i mixen hämtat från en CSV fil"> | ||
466 | <RuleParameters> | ||
467 | <RuleParameter Name="Connection_String" Value="C:\tmp\test2.txt" /> | ||
468 | <RuleParameter Name="Has_col_name" Value="False" /> | ||
469 | <RuleParameter Name="Autosplit" Value="False" /> | ||
470 | <RuleParameter Name="Parameter_Name" Value="Par2" /> | ||
471 | <RuleParameter Name="LogFilePathString" Value="C:\Temp\Fungerande.log" /> | ||
472 | <RuleParameter Name="LogFileAppendID" Value="False" /> | ||
473 | <RuleParameter Name="LogFileAppendName" Value="False" /> | ||
474 | <RuleParameter Name="Use_Random" Value="False" /> | ||
475 | <RuleParameter Name="Use_Unique" Value="False" /> | ||
476 | <RuleParameter Name="Use_UniqueIteration" Value="False" /> | ||
477 | <RuleParameter Name="Use_Loop" Value="True" /> | ||
478 | <RuleParameter Name="Log_To_File" Value="False" /> | ||
479 | <RuleParameter Name="Test_Names" Value="WebTest22" /> | ||
480 | <RuleParameter Name="Scenario_Names" Value="" /> | ||
481 | <RuleParameter Name="Agent_Names" Value="" /> | ||
482 | <RuleParameter Name="Use_UniqueTestIteration" Value="True" /> | ||
483 | </RuleParameters> | ||
484 | </LoadTestPlugin> | ||
485 | </LoadTestPlugins> | ||
486 | </LoadTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/LoadTest4.loadtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <LoadTest Name="LoadTest4" Description="" Owner="" storage="c:\users\wflg\source\repos\vstt-plugins\testproject1\loadtest4.loadtest" Priority="2147483647" Enabled="true" CssProjectStructure="" CssIteration="" DeploymentItemsEditable="" WorkItemIds="" TraceLevel="None" CurrentRunConfig="Run Settings1" Id="511540f7-63c0-406b-a87c-d814b1bad345" 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="NormalDistribution" /> | ||
6 | <LoadProfile Pattern="Constant" InitialUsers="1" /> | ||
7 | <TestMix> | ||
8 | <TestProfile Name="TestMethod1" Path="bin\debug\testproject1.dll" Id="59863143-3238-122e-4d8a-637b491cc755" Percentage="100" Type="Microsoft.VisualStudio.TestTools.TestTypes.Unit.UnitTestElement, Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel, 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="<Emulation><VirtualChannel name="defaultChannel"><FilterList/><VirtualLink instances="1" name="defaultLink"><LinkRule dir="upstream"><Bandwidth><Speed unit="kbps">1000000</Speed></Bandwidth></LinkRule><LinkRule dir="downstream"><Bandwidth><Speed unit="kbps">1000000</Speed></Bandwidth></LinkRule></VirtualLink></VirtualChannel></Emulation>" /> | ||
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="true" 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 | <LoadTestPlugins> | ||
444 | <LoadTestPlugin Classname="LIL_VSTT_Plugins.ThinkTimeEmulator10190, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" 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."> | ||
445 | <RuleParameters> | ||
446 | <RuleParameter Name="ThinkTime" Value="1" /> | ||
447 | </RuleParameters> | ||
448 | </LoadTestPlugin> | ||
449 | </LoadTestPlugins> | ||
450 | </LoadTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/LoadTest5.loadtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <LoadTest Name="LoadTest5" Description="" Owner="" storage="c:\users\wflg\source\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="<Emulation><VirtualChannel name="defaultChannel"><FilterList/><VirtualLink instances="1" name="defaultLink"><LinkRule dir="upstream"><Bandwidth><Speed unit="kbps">1000000</Speed></Bandwidth></LinkRule><LinkRule dir="downstream"><Bandwidth><Speed unit="kbps">1000000</Speed></Bandwidth></LinkRule></VirtualLink></VirtualChannel></Emulation>" /> | ||
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 | <LoadTestPlugins> | ||
444 | <LoadTestPlugin Classname="LIL_VSTT_Plugins.ServiceManagerPlugin, 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 loadtestet. Finns även som WebTestPlugin som enbart slår på det webtestet."> | ||
445 | <RuleParameters> | ||
446 | <RuleParameter Name="exp100" Value="True" /> | ||
447 | <RuleParameter Name="maxIdle" Value="100" /> | ||
448 | <RuleParameter Name="DnsRefreshTimeout" Value="120" /> | ||
449 | <RuleParameter Name="EnableDnsRoundRobin" Value="False" /> | ||
450 | <RuleParameter Name="keepAlive" Value="False" /> | ||
451 | <RuleParameter Name="timeOut" Value="5000" /> | ||
452 | <RuleParameter Name="interVal" Value="1000" /> | ||
453 | <RuleParameter Name="useNagle" Value="False" /> | ||
454 | <RuleParameter Name="useTls12" Value="False" /> | ||
455 | <RuleParameter Name="useTls11" Value="False" /> | ||
456 | <RuleParameter Name="useTls10" Value="True" /> | ||
457 | <RuleParameter Name="useSsl3" Value="False" /> | ||
458 | <RuleParameter Name="useCrl" Value="False" /> | ||
459 | </RuleParameters> | ||
460 | </LoadTestPlugin> | ||
461 | </LoadTestPlugins> | ||
462 | </LoadTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
TestProject1/LoadTest6.loadtest
deleted
100644 → 0
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <LoadTest Name="LoadTest6" Description="" Owner="" storage="d:\git\vstt-plugins\testproject1\loadtest6.loadtest" Priority="2147483647" Enabled="true" CssProjectStructure="" CssIteration="" DeploymentItemsEditable="" WorkItemIds="" TraceLevel="None" CurrentRunConfig="Run Settings1" Id="2049c28e-128b-40d7-965c-bc7e225fe68f" 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="1" /> | ||
7 | <TestMix> | ||
8 | <TestProfile Name="WebTest7" Path="webtest7.webtest" Id="b81f6de6-5ea8-4211-ac7b-3c0272942501" 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="<Emulation><VirtualChannel name="defaultChannel"><FilterList/><VirtualLink instances="1" name="defaultLink"><LinkRule dir="upstream"><Bandwidth><Speed unit="kbps">1000000</Speed></Bandwidth></LinkRule><LinkRule dir="downstream"><Bandwidth><Speed unit="kbps">1000000</Speed></Bandwidth></LinkRule></VirtualLink></VirtualChannel></Emulation>" /> | ||
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="0" MaxErrorDetails="200" MaxErrorsPerType="1000" MaxThresholdViolations="1000" MaxRequestUrlsReported="1000" UseTestIterations="true" 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" ResourcesRetentionTimeInMinutes="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 | <LoadTestPlugins> | ||
444 | <LoadTestPlugin Classname="LIL_VSTT_Plugins.ServiceManagerPlugin, 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 loadtestet. Finns även som WebTestPlugin som enbart slår på det webtestet."> | ||
445 | <RuleParameters> | ||
446 | <RuleParameter Name="exp100" Value="False" /> | ||
447 | <RuleParameter Name="maxIdle" Value="100" /> | ||
448 | <RuleParameter Name="DnsRefreshTimeout" Value="120" /> | ||
449 | <RuleParameter Name="EnableDnsRoundRobin" Value="False" /> | ||
450 | <RuleParameter Name="keepAlive" Value="False" /> | ||
451 | <RuleParameter Name="timeOut" Value="5000" /> | ||
452 | <RuleParameter Name="interVal" Value="1000" /> | ||
453 | <RuleParameter Name="useNagle" Value="False" /> | ||
454 | <RuleParameter Name="useTls12" Value="True" /> | ||
455 | <RuleParameter Name="useTls11" Value="True" /> | ||
456 | <RuleParameter Name="useTls10" Value="True" /> | ||
457 | <RuleParameter Name="useSsl3" Value="False" /> | ||
458 | <RuleParameter Name="useCrl" Value="False" /> | ||
459 | </RuleParameters> | ||
460 | </LoadTestPlugin> | ||
461 | </LoadTestPlugins> | ||
462 | </LoadTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -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
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=""" /> | ||
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=""" /> | ||
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
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
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 |
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