Uppdaterat webtesterna, lagt till Fiddler inspelning samt stödmetod för att sätta Fiddler som proxy.
Showing
9 changed files
with
80 additions
and
11 deletions
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <WebTest Name="AF01_Validate" Id="f596d6df-4c34-45cb-a0d4-ff04847890dd" 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="AF01_Validate.6a8db5ff-429b-4974-af50-cb343710eaca.rec.webtestresult" ResultsLocale=""> | 2 | <WebTest Name="AF01_Validate" Id="f596d6df-4c34-45cb-a0d4-ff04847890dd" 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="AF01_Validate.6a8db5ff-429b-4974-af50-cb343710eaca.rec.webtestresult" ResultsLocale=""> |
3 | <Items> | 3 | <Items> |
4 | <Request Method="POST" Guid="cec260fa-0c7c-4925-82a9-3ecad0512156" 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"> | 4 | <Request Method="POST" Guid="88d3a646-61a6-48dc-8897-9dc41c251f57" Version="1.1" Url="http://localhost:8080/EmailValidator" ThinkTime="35" Timeout="60" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False"> |
5 | <Headers> | 5 | <Headers> |
6 | <Header Name="SOAPAction" Value="http://tempuri.org/IEmailValidator/ValidateAddress" /> | 6 | <Header Name="Content-Type" Value="text/xml; charset=utf-8" /> |
7 | <Header Name="SOAPAction" Value=""http://tempuri.org/IEmailValidator/ValidateAddress"" /> | ||
7 | </Headers> | 8 | </Headers> |
8 | <StringHttpBody ContentType="text/xml" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABWAGEAbABpAGQAYQB0AGUAQQBkAGQAcgBlAHMAcwAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4APABlAG0AYQBpAGwAQQBkAGQAcgBlAHMAcwA+AGMAaAByAGkAcwB0AGkAYQBuAEAAZwBlAHIAZABlAHMALgBzAGUAPAAvAGUAbQBhAGkAbABBAGQAZAByAGUAcwBzAD4APAAvAFYAYQBsAGkAZABhAHQAZQBBAGQAZAByAGUAcwBzAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody> | 9 | <StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABWAGEAbABpAGQAYQB0AGUAQQBkAGQAcgBlAHMAcwAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4APABlAG0AYQBpAGwAQQBkAGQAcgBlAHMAcwA+AGMAaAByAGkAcwB0AGkAYQBuAEAAZwBlAHIAZABlAHMALgBzAGUAPAAvAGUAbQBhAGkAbABBAGQAZAByAGUAcwBzAD4APAAvAFYAYQBsAGkAZABhAHQAZQBBAGQAZAByAGUAcwBzAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody> |
9 | </Request> | 10 | </Request> |
10 | </Items> | 11 | </Items> |
11 | </WebTest> | 12 | </WebTest> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <WebTest Name="AF02_CheckIfFull" Id="83c79875-4fb1-4e24-bf08-8f100b5065ce" 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="AF01_Validate.6a8db5ff-429b-4974-af50-cb343710eaca.rec.webtestresult" ResultsLocale=""> | 2 | <WebTest Name="AF02_CheckIfFull" Id="83c79875-4fb1-4e24-bf08-8f100b5065ce" 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="AF01_Validate.6a8db5ff-429b-4974-af50-cb343710eaca.rec.webtestresult" ResultsLocale=""> |
3 | <Items> | 3 | <Items> |
4 | <Request Method="POST" Guid="cec260fa-0c7c-4925-82a9-3ecad0512156" 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"> | 4 | <Request Method="POST" Guid="3e8e9dab-e920-4264-85de-69235539d412" Version="1.1" Url="http://localhost:8080/EmailValidator" ThinkTime="38" Timeout="60" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False"> |
5 | <Headers> | 5 | <Headers> |
6 | <Header Name="SOAPAction" Value="http://tempuri.org/IEmailValidator/checkIfFull" /> | 6 | <Header Name="Content-Type" Value="text/xml; charset=utf-8" /> |
7 | <Header Name="SOAPAction" Value=""http://tempuri.org/IEmailValidator/checkIfFull"" /> | ||
7 | </Headers> | 8 | </Headers> |
8 | <StringHttpBody ContentType="text/xml" InsertByteOrderMark="False">PABzAG8AYQBwAGUAbgB2ADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwBvAGEAcABlAG4AdgA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAIAB4AG0AbABuAHMAOgB0AGUAbQA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4ADQAKACAAIAAgADwAcwBvAGEAcABlAG4AdgA6AEgAZQBhAGQAZQByAC8APgANAAoAIAAgACAAPABzAG8AYQBwAGUAbgB2ADoAQgBvAGQAeQA+AA0ACgAgACAAIAAgACAAIAA8AHQAZQBtADoAYwBoAGUAYwBrAEkAZgBGAHUAbABsAC8APgANAAoAIAAgACAAPAAvAHMAbwBhAHAAZQBuAHYAOgBCAG8AZAB5AD4ADQAKADwALwBzAG8AYQBwAGUAbgB2ADoARQBuAHYAZQBsAG8AcABlAD4A</StringHttpBody> | 9 | <StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABjAGgAZQBjAGsASQBmAEYAdQBsAGwAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AdABlAG0AcAB1AHIAaQAuAG8AcgBnAC8AIgAvAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody> |
9 | </Request> | 10 | </Request> |
10 | </Items> | 11 | </Items> |
11 | </WebTest> | 12 | </WebTest> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <WebTest Name="AF02_CheckIfFull2" Id="60a8ff89-c9d5-46b9-bb91-0f6220db8b49" 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="AF01_Validate.6a8db5ff-429b-4974-af50-cb343710eaca.rec.webtestresult" ResultsLocale=""> | 2 | <WebTest Name="AF02_CheckIfFull2" Id="60a8ff89-c9d5-46b9-bb91-0f6220db8b49" 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="AF01_Validate.6a8db5ff-429b-4974-af50-cb343710eaca.rec.webtestresult" ResultsLocale=""> |
3 | <Items> | 3 | <Items> |
4 | <Request Method="POST" Guid="cec260fa-0c7c-4925-82a9-3ecad0512156" 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"> | 4 | <Request Method="POST" Guid="52185ee3-21dd-46a8-af1b-b65eaf049acf" Version="1.1" Url="http://localhost:8080/EmailValidator" ThinkTime="10" Timeout="60" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False"> |
5 | <Headers> | 5 | <Headers> |
6 | <Header Name="SOAPAction" Value="http://tempuri.org/IEmailValidator/checkIfFull2" /> | 6 | <Header Name="Content-Type" Value="text/xml; charset=utf-8" /> |
7 | <Header Name="SOAPAction" Value=""http://tempuri.org/IEmailValidator/checkIfFull2"" /> | ||
7 | </Headers> | 8 | </Headers> |
8 | <StringHttpBody ContentType="text/xml" InsertByteOrderMark="False">PABzAG8AYQBwAGUAbgB2ADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwBvAGEAcABlAG4AdgA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAIAB4AG0AbABuAHMAOgB0AGUAbQA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4ADQAKACAAIAAgADwAcwBvAGEAcABlAG4AdgA6AEgAZQBhAGQAZQByAC8APgANAAoAIAAgACAAPABzAG8AYQBwAGUAbgB2ADoAQgBvAGQAeQA+AA0ACgAgACAAIAAgACAAIAA8AHQAZQBtADoAYwBoAGUAYwBrAEkAZgBGAHUAbABsADIALwA+AA0ACgAgACAAIAA8AC8AcwBvAGEAcABlAG4AdgA6AEIAbwBkAHkAPgANAAoAPAAvAHMAbwBhAHAAZQBuAHYAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody> | 9 | <StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABjAGgAZQBjAGsASQBmAEYAdQBsAGwAMgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAC8APgA8AC8AcwA6AEIAbwBkAHkAPgA8AC8AcwA6AEUAbgB2AGUAbABvAHAAZQA+AA==</StringHttpBody> |
9 | </Request> | 10 | </Request> |
10 | </Items> | 11 | </Items> |
11 | </WebTest> | 12 | </WebTest> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
PerformanceTestProject/AF03_Register.webtest
0 → 100644
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <WebTest Name="AF03_Register" Id="7aecb0a5-63b6-4a96-85da-0bd1d748b736" 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="8e3428e7-fcb1-401a-8628-1997bc199318" Version="1.1" Url="http://localhost:8080/EmailValidator" ThinkTime="0" Timeout="60" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False"> | ||
5 | <Headers> | ||
6 | <Header Name="Content-Type" Value="text/xml; charset=utf-8" /> | ||
7 | <Header Name="SOAPAction" Value=""http://tempuri.org/IEmailValidator/RegisterAdress"" /> | ||
8 | </Headers> | ||
9 | <StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABSAGUAZwBpAHMAdABlAHIAQQBkAHIAZQBzAHMAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AdABlAG0AcAB1AHIAaQAuAG8AcgBnAC8AIgA+ADwAZQBtAGEAaQBsAEEAZABkAHIAZQBzAHMAPgBjAGgAcgBpAHMAdABpAGEAbgAuAGcAZQByAGQAZQBzAEAAbABpAGcAaAB0AHMAaQBuAGwAaQBuAGUALgBzAGUAPAAvAGUAbQBhAGkAbABBAGQAZAByAGUAcwBzAD4APAAvAFIAZQBnAGkAcwB0AGUAcgBBAGQAcgBlAHMAcwA+ADwALwBzADoAQgBvAGQAeQA+ADwALwBzADoARQBuAHYAZQBsAG8AcABlAD4A</StringHttpBody> | ||
10 | </Request> | ||
11 | </Items> | ||
12 | </WebTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
PerformanceTestProject/All_Fiddler.webtest
0 → 100644
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <WebTest Name="All_Fiddler" Id="0cc71863-7ea2-4557-951f-3f9b0a709545" Owner="" Priority="0" 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 | <Comment CommentText="ValidateAddress" /> | ||
5 | <Request Method="POST" Guid="88d3a646-61a6-48dc-8897-9dc41c251f57" Version="1.1" Url="http://some.server.se:8080/EmailValidator" ThinkTime="35" Timeout="60" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False"> | ||
6 | <Headers> | ||
7 | <Header Name="Content-Type" Value="text/xml; charset=utf-8" /> | ||
8 | <Header Name="SOAPAction" Value=""http://tempuri.org/IEmailValidator/ValidateAddress"" /> | ||
9 | </Headers> | ||
10 | <StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABWAGEAbABpAGQAYQB0AGUAQQBkAGQAcgBlAHMAcwAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4APABlAG0AYQBpAGwAQQBkAGQAcgBlAHMAcwA+AGMAaAByAGkAcwB0AGkAYQBuAEAAZwBlAHIAZABlAHMALgBzAGUAPAAvAGUAbQBhAGkAbABBAGQAZAByAGUAcwBzAD4APAAvAFYAYQBsAGkAZABhAHQAZQBBAGQAZAByAGUAcwBzAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody> | ||
11 | </Request> | ||
12 | <Comment CommentText="checkIfFull" /> | ||
13 | <Request Method="POST" Guid="3e8e9dab-e920-4264-85de-69235539d412" Version="1.1" Url="http://some.server.se:8080/EmailValidator" ThinkTime="38" Timeout="60" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False"> | ||
14 | <Headers> | ||
15 | <Header Name="Content-Type" Value="text/xml; charset=utf-8" /> | ||
16 | <Header Name="SOAPAction" Value=""http://tempuri.org/IEmailValidator/checkIfFull"" /> | ||
17 | </Headers> | ||
18 | <StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABjAGgAZQBjAGsASQBmAEYAdQBsAGwAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AdABlAG0AcAB1AHIAaQAuAG8AcgBnAC8AIgAvAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody> | ||
19 | </Request> | ||
20 | <Comment CommentText="checkIfFull2" /> | ||
21 | <Request Method="POST" Guid="52185ee3-21dd-46a8-af1b-b65eaf049acf" Version="1.1" Url="http://some.server.se:8080/EmailValidator" ThinkTime="10" Timeout="60" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False"> | ||
22 | <Headers> | ||
23 | <Header Name="Content-Type" Value="text/xml; charset=utf-8" /> | ||
24 | <Header Name="SOAPAction" Value=""http://tempuri.org/IEmailValidator/checkIfFull2"" /> | ||
25 | </Headers> | ||
26 | <StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABjAGgAZQBjAGsASQBmAEYAdQBsAGwAMgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAC8APgA8AC8AcwA6AEIAbwBkAHkAPgA8AC8AcwA6AEUAbgB2AGUAbABvAHAAZQA+AA==</StringHttpBody> | ||
27 | </Request> | ||
28 | <Comment CommentText="RegisterAdress" /> | ||
29 | <Request Method="POST" Guid="8e3428e7-fcb1-401a-8628-1997bc199318" Version="1.1" Url="http://some.server.se:8080/EmailValidator" ThinkTime="0" Timeout="60" ParseDependentRequests="True" FollowRedirects="False" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False"> | ||
30 | <Headers> | ||
31 | <Header Name="Content-Type" Value="text/xml; charset=utf-8" /> | ||
32 | <Header Name="SOAPAction" Value=""http://tempuri.org/IEmailValidator/RegisterAdress"" /> | ||
33 | </Headers> | ||
34 | <StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABSAGUAZwBpAHMAdABlAHIAQQBkAHIAZQBzAHMAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AdABlAG0AcAB1AHIAaQAuAG8AcgBnAC8AIgA+ADwAZQBtAGEAaQBsAEEAZABkAHIAZQBzAHMAPgBjAGgAcgBpAHMAdABpAGEAbgAuAGcAZQByAGQAZQBzAEAAbABpAGcAaAB0AHMAaQBuAGwAaQBuAGUALgBzAGUAPAAvAGUAbQBhAGkAbABBAGQAZAByAGUAcwBzAD4APAAvAFIAZQBnAGkAcwB0AGUAcgBBAGQAcgBlAHMAcwA+ADwALwBzADoAQgBvAGQAeQA+ADwALwBzADoARQBuAHYAZQBsAG8AcABlAD4A</StringHttpBody> | ||
35 | </Request> | ||
36 | </Items> | ||
37 | </WebTest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -84,6 +84,7 @@ namespace PerformanceTestProject | ... | @@ -84,6 +84,7 @@ namespace PerformanceTestProject |
84 | TestContext.WriteLine("Skapar klienten.."); | 84 | TestContext.WriteLine("Skapar klienten.."); |
85 | EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient(); | 85 | EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient(); |
86 | myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator"); | 86 | myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator"); |
87 | //setFiddler(myClient.Endpoint.Binding); | ||
87 | 88 | ||
88 | // Simulera lite betänketid | 89 | // Simulera lite betänketid |
89 | System.Threading.Thread.Sleep(0); | 90 | System.Threading.Thread.Sleep(0); |
... | @@ -116,6 +117,7 @@ namespace PerformanceTestProject | ... | @@ -116,6 +117,7 @@ namespace PerformanceTestProject |
116 | TestContext.WriteLine("Skapar klienten.."); | 117 | TestContext.WriteLine("Skapar klienten.."); |
117 | EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient(); | 118 | EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient(); |
118 | myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator"); | 119 | myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator"); |
120 | //setFiddler(myClient.Endpoint.Binding); | ||
119 | 121 | ||
120 | // Läs TT från context | 122 | // Läs TT från context |
121 | int myTT = int.Parse(TestContext.Properties["TT"].ToString()); | 123 | int myTT = int.Parse(TestContext.Properties["TT"].ToString()); |
... | @@ -129,7 +131,7 @@ namespace PerformanceTestProject | ... | @@ -129,7 +131,7 @@ namespace PerformanceTestProject |
129 | // Skapa timer | 131 | // Skapa timer |
130 | if (inLoadTest) TestContext.BeginTimer("01_CheckIfFull"); | 132 | if (inLoadTest) TestContext.BeginTimer("01_CheckIfFull"); |
131 | // Utför anrop mot tjänsten | 133 | // Utför anrop mot tjänsten |
132 | bool response = myClient.checkIfFull(); | 134 | bool response = myClient.checkIfFull2(); |
133 | // Stoppa Timer | 135 | // Stoppa Timer |
134 | if (inLoadTest) TestContext.EndTimer("01_CheckIfFull"); | 136 | if (inLoadTest) TestContext.EndTimer("01_CheckIfFull"); |
135 | 137 | ||
... | @@ -152,6 +154,7 @@ namespace PerformanceTestProject | ... | @@ -152,6 +154,7 @@ namespace PerformanceTestProject |
152 | TestContext.WriteLine("Skapar klienten.."); | 154 | TestContext.WriteLine("Skapar klienten.."); |
153 | EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient(); | 155 | EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient(); |
154 | myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator"); | 156 | myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator"); |
157 | //setFiddler(myClient.Endpoint.Binding); | ||
155 | 158 | ||
156 | // Läs TT från context | 159 | // Läs TT från context |
157 | int myTT = int.Parse(TestContext.Properties["TT"].ToString()); | 160 | int myTT = int.Parse(TestContext.Properties["TT"].ToString()); |
... | @@ -178,5 +181,15 @@ namespace PerformanceTestProject | ... | @@ -178,5 +181,15 @@ namespace PerformanceTestProject |
178 | TestContext.WriteLine("Stänger klienten.."); | 181 | TestContext.WriteLine("Stänger klienten.."); |
179 | myClient.Close(); | 182 | myClient.Close(); |
180 | } | 183 | } |
184 | |||
185 | public void setFiddler(System.ServiceModel.Channels.Binding binding) | ||
186 | { | ||
187 | // Gör en cast till en BasicHttpBinding | ||
188 | System.ServiceModel.BasicHttpBinding myBinding = (System.ServiceModel.BasicHttpBinding)binding; | ||
189 | // Sätt proxy på denna till Fiddlers standard port | ||
190 | myBinding.ProxyAddress = new Uri("http://127.0.0.1:8888"); | ||
191 | myBinding.BypassProxyOnLocal = false; | ||
192 | myBinding.UseDefaultWebProxy = false; | ||
193 | } | ||
181 | } | 194 | } |
182 | } | 195 | } | ... | ... |
No preview for this file type
... | @@ -96,10 +96,14 @@ | ... | @@ -96,10 +96,14 @@ |
96 | <None Include="AF01_Validate.webtest"> | 96 | <None Include="AF01_Validate.webtest"> |
97 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | 97 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
98 | </None> | 98 | </None> |
99 | <None Include="All_Fiddler.webtest" /> | ||
99 | <None Include="app.config" /> | 100 | <None Include="app.config" /> |
100 | <None Include="EmailValidator.loadtest"> | 101 | <None Include="EmailValidator.loadtest"> |
101 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | 102 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
102 | </None> | 103 | </None> |
104 | <None Include="AF03_Register.webtest"> | ||
105 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
106 | </None> | ||
103 | </ItemGroup> | 107 | </ItemGroup> |
104 | <ItemGroup> | 108 | <ItemGroup> |
105 | <WCFMetadataStorage Include="Service References\EmailValidatorServiceReference\" /> | 109 | <WCFMetadataStorage Include="Service References\EmailValidatorServiceReference\" /> | ... | ... |
1 | //------------------------------------------------------------------------------ | 1 | //------------------------------------------------------------------------------ |
2 | // <auto-generated> | 2 | // <auto-generated> |
3 | // This code was generated by a tool. | 3 | // This code was generated by a tool. |
4 | // Runtime Version:4.0.30319.34014 | 4 | // Runtime Version:4.0.30319.42000 |
5 | // | 5 | // |
6 | // Changes to this file may cause incorrect behavior and will be lost if | 6 | // Changes to this file may cause incorrect behavior and will be lost if |
7 | // the code is regenerated. | 7 | // the code is regenerated. | ... | ... |
-
Please register or sign in to post a comment