First testing of SetWebTestParameters plugin. Modified the loadtest and webtest …
…accordingly. Initial results seem promising.
Showing
3 changed files
with
30 additions
and
7 deletions
... | @@ -27,12 +27,7 @@ namespace LIL_VSTT_Plugins | ... | @@ -27,12 +27,7 @@ namespace LIL_VSTT_Plugins |
27 | { | 27 | { |
28 | public class SetWebTestParameter : WebTestPlugin | 28 | public class SetWebTestParameter : WebTestPlugin |
29 | { | 29 | { |
30 | // Summary: | 30 | // BETA VERY UNTESTED!! |
31 | // Initializes the load test plug-in. | ||
32 | // | ||
33 | // Parameters: | ||
34 | // loadTest: | ||
35 | // The load test to be executed. | ||
36 | 31 | ||
37 | private string myConnectionString = ""; | 32 | private string myConnectionString = ""; |
38 | private string myLogFileString = ""; | 33 | private string myLogFileString = ""; | ... | ... |
This diff is collapsed.
Click to expand it.
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <WebTest Name="WebTest1" Id="c649760b-6dd8-4210-8a6d-3c6596d08668" Owner="" Priority="2147483647" Enabled="True" CssProjectStructure="" CssIteration="" Timeout="0" WorkItemIds="" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010" Description="" CredentialUserName="" CredentialPassword="" PreAuthenticate="True" Proxy="default" StopOnError="False" RecordedResultFile="WebTest1.a5a27e2d-474c-43bb-be4d-1b12e85851a0.rec.webtestresult" ResultsLocale=""> | 2 | <WebTest Name="WebTest1" Id="c649760b-6dd8-4210-8a6d-3c6596d08668" Owner="" Priority="2147483647" Enabled="True" CssProjectStructure="" CssIteration="" Timeout="0" WorkItemIds="" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010" Description="" CredentialUserName="" CredentialPassword="" PreAuthenticate="True" Proxy="default" StopOnError="False" RecordedResultFile="WebTest1.a5a27e2d-474c-43bb-be4d-1b12e85851a0.rec.webtestresult" ResultsLocale=""> |
3 | <Items> | 3 | <Items> |
4 | <Request Method="GET" Guid="2abac3b8-caac-4dee-a55a-a006b6372154" Version="1.1" Url="http://fileserver2/" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False" /> | 4 | <Request Method="GET" Guid="8abd3e84-6029-47ca-a3b0-abb2fb28d548" Version="1.1" Url="http://localhost:8080/EmailValidator" 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> | 5 | </Items> |
6 | <WebTestPlugins> | ||
7 | <WebTestPlugin Classname="LIL_VSTT_Plugins.SetWebTestParameter, LIL_VSTT_Plugins, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null" DisplayName="SetWebTestParameter" Description=""> | ||
8 | <RuleParameters> | ||
9 | <RuleParameter Name="Parameter_Name" Value="UserName" /> | ||
10 | <RuleParameter Name="DebugMode" Value="False" /> | ||
11 | <RuleParameter Name="DebugLogFile" Value="C:\Temp\SetTestParameterDebug.log" /> | ||
12 | <RuleParameter Name="Connection_String" Value="UserdataFew1.csv" /> | ||
13 | <RuleParameter Name="Has_col_name" Value="False" /> | ||
14 | <RuleParameter Name="Autosplit" Value="False" /> | ||
15 | <RuleParameter Name="IgnoreBlanks" Value="True" /> | ||
16 | <RuleParameter Name="LogFilePathString" Value="C:\Temp\Fungerande.log" /> | ||
17 | <RuleParameter Name="LogFileAppendID" Value="False" /> | ||
18 | <RuleParameter Name="LogFileAppendName" Value="False" /> | ||
19 | <RuleParameter Name="Use_UniqueTestIteration" Value="False" /> | ||
20 | <RuleParameter Name="Use_UniqueIteration" Value="False" /> | ||
21 | <RuleParameter Name="Use_UniqueFiles" Value="False" /> | ||
22 | <RuleParameter Name="Use_Unique" Value="False" /> | ||
23 | <RuleParameter Name="Use_Random" Value="False" /> | ||
24 | <RuleParameter Name="Use_Seq" Value="True" /> | ||
25 | <RuleParameter Name="Use_Loop" Value="False" /> | ||
26 | <RuleParameter Name="ThrowException" Value="False" /> | ||
27 | <RuleParameter Name="Log_To_File" Value="False" /> | ||
28 | <RuleParameter Name="Test_Names" Value="" /> | ||
29 | <RuleParameter Name="Scenario_Names" Value="" /> | ||
30 | <RuleParameter Name="Agent_Names" Value="" /> | ||
31 | </RuleParameters> | ||
32 | </WebTestPlugin> | ||
33 | </WebTestPlugins> | ||
6 | </WebTest> | 34 | </WebTest> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment