Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
"WebTest": "<WebTest Name=\"My Web Job Health Monitor\" Id=\"aaa239ee-097b-46cd-8890-2ae7a05edbbb\"
Enabled=\"True\" CssProjectStructure=\"\" CssIteration=\"\" Timeout=\"120\" WorkItemIds=\"\"
xmlns=\"http://microsoft.com/schemas/VisualStudio/TeamTest/2010\" Description=\"\"
CredentialUserName=\"\" CredentialPassword=\"\" PreAuthenticate=\"True\" Proxy=\"default\"
StopOnError=\"False\" RecordedResultFile=\"\" ResultsLocale=\"\"><Items><Request Method=\"GET\"
Guid=\"aaa5ae9c-35c3-c677-a930-27c90877dbbb\" Version=\"1.1\"
Url=\"https://pacodelacruz-webapp.scm.azurewebsites.net/api/triggeredwebjobs/mywebjob/\"
ThinkTime=\"0\" Timeout=\"120\" ParseDependentRequests=\"False\" FollowRedirects=\"True\"
RecordResult=\"True\" Cache=\"False\" ResponseTimeGoal=\"0\" Encoding=\"utf-8\"
ExpectedHttpStatusCode=\"200\" ExpectedResponseUrl=\"\" ReportingName=\"\"
IgnoreHttpStatusCode=\"False\" /></Items><ValidationRules><ValidationRule
Classname=\"Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidationRuleFindText, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\"
DisplayName=\"Find Text\" Description=\"Verifies the existence of the specified text in the response.\"
Level=\"High\" ExectuionOrder=\"BeforeDependents\"><RuleParameters><RuleParameter Name=\"FindText\"
Value=\"&quot;status&quot;:&quot;success&quot; \" /><RuleParameter Name=\"IgnoreCase\" Value=\"False\" />
<RuleParameter Name=\"UseRegularExpression\" Value=\"False\" />
<RuleParameter Name=\"PassIfTextFound\" Value=\"True\" /></RuleParameters></ValidationRule></ValidationRules></WebTest>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.