Commit bf8770ef bf8770ef31996fca087b1394938fdfdafd226520 by Christian Gerdes

Uppdaterat webtesterna, lagt till Fiddler inspelning samt stödmetod för att sätta Fiddler som proxy.

1 parent edbf9302
<?xml version="1.0" encoding="utf-8"?>
<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="">
<Items>
<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">
<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">
<Headers>
<Header Name="SOAPAction" Value="http://tempuri.org/IEmailValidator/ValidateAddress" />
<Header Name="Content-Type" Value="text/xml; charset=utf-8" />
<Header Name="SOAPAction" Value="&quot;http://tempuri.org/IEmailValidator/ValidateAddress&quot;" />
</Headers>
<StringHttpBody ContentType="text/xml" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABWAGEAbABpAGQAYQB0AGUAQQBkAGQAcgBlAHMAcwAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4APABlAG0AYQBpAGwAQQBkAGQAcgBlAHMAcwA+AGMAaAByAGkAcwB0AGkAYQBuAEAAZwBlAHIAZABlAHMALgBzAGUAPAAvAGUAbQBhAGkAbABBAGQAZAByAGUAcwBzAD4APAAvAFYAYQBsAGkAZABhAHQAZQBBAGQAZAByAGUAcwBzAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody>
<StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABWAGEAbABpAGQAYQB0AGUAQQBkAGQAcgBlAHMAcwAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4APABlAG0AYQBpAGwAQQBkAGQAcgBlAHMAcwA+AGMAaAByAGkAcwB0AGkAYQBuAEAAZwBlAHIAZABlAHMALgBzAGUAPAAvAGUAbQBhAGkAbABBAGQAZAByAGUAcwBzAD4APAAvAFYAYQBsAGkAZABhAHQAZQBBAGQAZAByAGUAcwBzAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody>
</Request>
</Items>
</WebTest>
\ No newline at end of file
......
<?xml version="1.0" encoding="utf-8"?>
<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="">
<Items>
<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">
<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">
<Headers>
<Header Name="SOAPAction" Value="http://tempuri.org/IEmailValidator/checkIfFull" />
<Header Name="Content-Type" Value="text/xml; charset=utf-8" />
<Header Name="SOAPAction" Value="&quot;http://tempuri.org/IEmailValidator/checkIfFull&quot;" />
</Headers>
<StringHttpBody ContentType="text/xml" InsertByteOrderMark="False">PABzAG8AYQBwAGUAbgB2ADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwBvAGEAcABlAG4AdgA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAIAB4AG0AbABuAHMAOgB0AGUAbQA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4ADQAKACAAIAAgADwAcwBvAGEAcABlAG4AdgA6AEgAZQBhAGQAZQByAC8APgANAAoAIAAgACAAPABzAG8AYQBwAGUAbgB2ADoAQgBvAGQAeQA+AA0ACgAgACAAIAAgACAAIAA8AHQAZQBtADoAYwBoAGUAYwBrAEkAZgBGAHUAbABsAC8APgANAAoAIAAgACAAPAAvAHMAbwBhAHAAZQBuAHYAOgBCAG8AZAB5AD4ADQAKADwALwBzAG8AYQBwAGUAbgB2ADoARQBuAHYAZQBsAG8AcABlAD4A</StringHttpBody>
<StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABjAGgAZQBjAGsASQBmAEYAdQBsAGwAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AdABlAG0AcAB1AHIAaQAuAG8AcgBnAC8AIgAvAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody>
</Request>
</Items>
</WebTest>
\ No newline at end of file
......
<?xml version="1.0" encoding="utf-8"?>
<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="">
<Items>
<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">
<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">
<Headers>
<Header Name="SOAPAction" Value="http://tempuri.org/IEmailValidator/checkIfFull2" />
<Header Name="Content-Type" Value="text/xml; charset=utf-8" />
<Header Name="SOAPAction" Value="&quot;http://tempuri.org/IEmailValidator/checkIfFull2&quot;" />
</Headers>
<StringHttpBody ContentType="text/xml" InsertByteOrderMark="False">PABzAG8AYQBwAGUAbgB2ADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwBvAGEAcABlAG4AdgA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAIAB4AG0AbABuAHMAOgB0AGUAbQA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4ADQAKACAAIAAgADwAcwBvAGEAcABlAG4AdgA6AEgAZQBhAGQAZQByAC8APgANAAoAIAAgACAAPABzAG8AYQBwAGUAbgB2ADoAQgBvAGQAeQA+AA0ACgAgACAAIAAgACAAIAA8AHQAZQBtADoAYwBoAGUAYwBrAEkAZgBGAHUAbABsADIALwA+AA0ACgAgACAAIAA8AC8AcwBvAGEAcABlAG4AdgA6AEIAbwBkAHkAPgANAAoAPAAvAHMAbwBhAHAAZQBuAHYAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody>
<StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABjAGgAZQBjAGsASQBmAEYAdQBsAGwAMgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAC8APgA8AC8AcwA6AEIAbwBkAHkAPgA8AC8AcwA6AEUAbgB2AGUAbABvAHAAZQA+AA==</StringHttpBody>
</Request>
</Items>
</WebTest>
\ No newline at end of file
......
<?xml version="1.0" encoding="utf-8"?>
<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="">
<Items>
<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">
<Headers>
<Header Name="Content-Type" Value="text/xml; charset=utf-8" />
<Header Name="SOAPAction" Value="&quot;http://tempuri.org/IEmailValidator/RegisterAdress&quot;" />
</Headers>
<StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABSAGUAZwBpAHMAdABlAHIAQQBkAHIAZQBzAHMAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AdABlAG0AcAB1AHIAaQAuAG8AcgBnAC8AIgA+ADwAZQBtAGEAaQBsAEEAZABkAHIAZQBzAHMAPgBjAGgAcgBpAHMAdABpAGEAbgAuAGcAZQByAGQAZQBzAEAAbABpAGcAaAB0AHMAaQBuAGwAaQBuAGUALgBzAGUAPAAvAGUAbQBhAGkAbABBAGQAZAByAGUAcwBzAD4APAAvAFIAZQBnAGkAcwB0AGUAcgBBAGQAcgBlAHMAcwA+ADwALwBzADoAQgBvAGQAeQA+ADwALwBzADoARQBuAHYAZQBsAG8AcABlAD4A</StringHttpBody>
</Request>
</Items>
</WebTest>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<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="">
<Items>
<Comment CommentText="ValidateAddress" />
<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">
<Headers>
<Header Name="Content-Type" Value="text/xml; charset=utf-8" />
<Header Name="SOAPAction" Value="&quot;http://tempuri.org/IEmailValidator/ValidateAddress&quot;" />
</Headers>
<StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABWAGEAbABpAGQAYQB0AGUAQQBkAGQAcgBlAHMAcwAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAD4APABlAG0AYQBpAGwAQQBkAGQAcgBlAHMAcwA+AGMAaAByAGkAcwB0AGkAYQBuAEAAZwBlAHIAZABlAHMALgBzAGUAPAAvAGUAbQBhAGkAbABBAGQAZAByAGUAcwBzAD4APAAvAFYAYQBsAGkAZABhAHQAZQBBAGQAZAByAGUAcwBzAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody>
</Request>
<Comment CommentText="checkIfFull" />
<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">
<Headers>
<Header Name="Content-Type" Value="text/xml; charset=utf-8" />
<Header Name="SOAPAction" Value="&quot;http://tempuri.org/IEmailValidator/checkIfFull&quot;" />
</Headers>
<StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABjAGgAZQBjAGsASQBmAEYAdQBsAGwAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AdABlAG0AcAB1AHIAaQAuAG8AcgBnAC8AIgAvAD4APAAvAHMAOgBCAG8AZAB5AD4APAAvAHMAOgBFAG4AdgBlAGwAbwBwAGUAPgA=</StringHttpBody>
</Request>
<Comment CommentText="checkIfFull2" />
<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">
<Headers>
<Header Name="Content-Type" Value="text/xml; charset=utf-8" />
<Header Name="SOAPAction" Value="&quot;http://tempuri.org/IEmailValidator/checkIfFull2&quot;" />
</Headers>
<StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABjAGgAZQBjAGsASQBmAEYAdQBsAGwAMgAgAHgAbQBsAG4AcwA9ACIAaAB0AHQAcAA6AC8ALwB0AGUAbQBwAHUAcgBpAC4AbwByAGcALwAiAC8APgA8AC8AcwA6AEIAbwBkAHkAPgA8AC8AcwA6AEUAbgB2AGUAbABvAHAAZQA+AA==</StringHttpBody>
</Request>
<Comment CommentText="RegisterAdress" />
<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">
<Headers>
<Header Name="Content-Type" Value="text/xml; charset=utf-8" />
<Header Name="SOAPAction" Value="&quot;http://tempuri.org/IEmailValidator/RegisterAdress&quot;" />
</Headers>
<StringHttpBody ContentType="text/xml; charset=utf-8" InsertByteOrderMark="False">PABzADoARQBuAHYAZQBsAG8AcABlACAAeABtAGwAbgBzADoAcwA9ACIAaAB0AHQAcAA6AC8ALwBzAGMAaABlAG0AYQBzAC4AeABtAGwAcwBvAGEAcAAuAG8AcgBnAC8AcwBvAGEAcAAvAGUAbgB2AGUAbABvAHAAZQAvACIAPgA8AHMAOgBCAG8AZAB5AD4APABSAGUAZwBpAHMAdABlAHIAQQBkAHIAZQBzAHMAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AdABlAG0AcAB1AHIAaQAuAG8AcgBnAC8AIgA+ADwAZQBtAGEAaQBsAEEAZABkAHIAZQBzAHMAPgBjAGgAcgBpAHMAdABpAGEAbgAuAGcAZQByAGQAZQBzAEAAbABpAGcAaAB0AHMAaQBuAGwAaQBuAGUALgBzAGUAPAAvAGUAbQBhAGkAbABBAGQAZAByAGUAcwBzAD4APAAvAFIAZQBnAGkAcwB0AGUAcgBBAGQAcgBlAHMAcwA+ADwALwBzADoAQgBvAGQAeQA+ADwALwBzADoARQBuAHYAZQBsAG8AcABlAD4A</StringHttpBody>
</Request>
</Items>
</WebTest>
\ No newline at end of file
......@@ -84,7 +84,8 @@ namespace PerformanceTestProject
TestContext.WriteLine("Skapar klienten..");
EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient();
myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator");
//setFiddler(myClient.Endpoint.Binding);
// Simulera lite betänketid
System.Threading.Thread.Sleep(0);
......@@ -116,6 +117,7 @@ namespace PerformanceTestProject
TestContext.WriteLine("Skapar klienten..");
EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient();
myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator");
//setFiddler(myClient.Endpoint.Binding);
// Läs TT från context
int myTT = int.Parse(TestContext.Properties["TT"].ToString());
......@@ -129,7 +131,7 @@ namespace PerformanceTestProject
// Skapa timer
if (inLoadTest) TestContext.BeginTimer("01_CheckIfFull");
// Utför anrop mot tjänsten
bool response = myClient.checkIfFull();
bool response = myClient.checkIfFull2();
// Stoppa Timer
if (inLoadTest) TestContext.EndTimer("01_CheckIfFull");
......@@ -152,6 +154,7 @@ namespace PerformanceTestProject
TestContext.WriteLine("Skapar klienten..");
EmailValidatorServiceReference.EmailValidatorClient myClient = new EmailValidatorServiceReference.EmailValidatorClient();
myClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/EmailValidator");
//setFiddler(myClient.Endpoint.Binding);
// Läs TT från context
int myTT = int.Parse(TestContext.Properties["TT"].ToString());
......@@ -178,5 +181,15 @@ namespace PerformanceTestProject
TestContext.WriteLine("Stänger klienten..");
myClient.Close();
}
public void setFiddler(System.ServiceModel.Channels.Binding binding)
{
// Gör en cast till en BasicHttpBinding
System.ServiceModel.BasicHttpBinding myBinding = (System.ServiceModel.BasicHttpBinding)binding;
// Sätt proxy på denna till Fiddlers standard port
myBinding.ProxyAddress = new Uri("http://127.0.0.1:8888");
myBinding.BypassProxyOnLocal = false;
myBinding.UseDefaultWebProxy = false;
}
}
}
......
......@@ -96,10 +96,14 @@
<None Include="AF01_Validate.webtest">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="All_Fiddler.webtest" />
<None Include="app.config" />
<None Include="EmailValidator.loadtest">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="AF03_Register.webtest">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<WCFMetadataStorage Include="Service References\EmailValidatorServiceReference\" />
......
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
......