1. When run all the case on remote controller and agent, always got the failed.
00:00:12 MSSPERFA15 ViewCasesCoded Scenario1 data:image/png;base64,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 Exception
NotSupportedException
The URI prefix is not recognized. Stack -
Resolution:
1. Change other agent (win7 SP1 ) can resolve the issue, this issue must be related Agent computer.
2. Deeply debug, when run this request, fail to run the dependent request that request10 returned, and the dependent request's url format not start with http://, some environment not support to send such request.
WebTestRequest request10 = newWebTestRequest((this.Context["WebServer1"].ToString() + "/Visualization/visualization.aspx"));
request10.Method = "POST";
request10.Headers.Add(newWebTestRequestHeader("Referer", (this.Context["WebServer1"].ToString() + "/dashboards/dashboard.aspx?dashboardId=%7b51889f13-a76a-e211-ba2c-00155d04c301%7d" +
"&dashboardType=1030&pagemode=iframe")));
request10.QueryStringParameters.Add("uniqueId","0.25766144025586634BC3B31F4-BB6A-E211-BA2C-00155D04C301",false,false);
FormPostHttpBody request10Body = newFormPostHttpBody();
request10Body.FormPostParameters.Add("vizXml",@"<vizXml><visualizationId>{BC3B31F4-BB6A-E211-BA2C-00155D04C301}</visualizationId><viewid>{7B4BE356-806B-E211-BA2C-00155D04C301}</viewid><viewtype>1039</viewtype><visType>1111</visType><layoutSize>2</layoutSize><paneContentWidth>257</paneContentWidth><paneContentHeight>252</paneContentHeight><isDashboardComponent>True</isDashboardComponent><isSubgridMode>True</isSubgridMode><enableViewPicker>False</enableViewPicker><viewTitle>My Cases</viewTitle><ShowChartPicker>False</ShowChartPicker><ie-browser-version>9</ie-browser-version></vizXml>");
request10.Body = request10Body;
yieldreturn request10;
request10 = null;
Change the code to below to try
WebTestRequest request11 = newWebTestRequest((this.Context["WebServer1"].ToString() + "/Visualization/visualization.aspx"));
request11.ParseDependentRequests = false;
request11.Method = "POST";
request11.Headers.Add(newWebTestRequestHeader("Referer", (this.Context["WebServer1"].ToString() + "/dashboards/dashboard.aspx?dashboardId=%7b51889f13-a76a-e211-ba2c-00155d04c301%7d" +
"&dashboardType=1030&pagemode=iframe")));
request11.QueryStringParameters.Add("uniqueId","0.874592477867091347A6F665-AE6A-E211-BA2C-00155D04C301",false,false);
FormPostHttpBody request11Body = newFormPostHttpBody();
request11Body.FormPostParameters.Add("vizXml",@"<vizXml><visualizationId>{47A6F665-AE6A-E211-BA2C-00155D04C301}</visualizationId><viewid>{F6C5A424-EECE-450B-AAC4-DB9E610926E9}</viewid><viewtype>1039</viewtype><visType>1111</visType><layoutSize>2</layoutSize><paneContentWidth>257</paneContentWidth><paneContentHeight>252</paneContentHeight><isDashboardComponent>True</isDashboardComponent><isSubgridMode>True</isSubgridMode><enableViewPicker>False</enableViewPicker><viewTitle>My Labors</viewTitle><ShowChartPicker>False</ShowChartPicker><ie-browser-version>9</ie-browser-version></vizXml>");
request11.Body = request11Body;
yieldreturn request11;
foreach(WebTestRequest rt in request11.DependentRequests)
{
if (rt.Url.StartsWith(this.Context["WebServer1"].ToString()))
{
yieldreturn rt;
}
}
request11 = null;
Issue get resolved, in the code to do a judgement, if the url if not valid, won't send.:)