나는이 내 사용자 지정 WebTest
에서 다음과 같은 방법에WebTestRequest.ReportingName는 무시됩니다
private WebTestRequest CreateRequest(CommandInput command)
{
WebTestRequest request = new WebTestRequest(URL);
request.ReportingName = command.CommandName;
request.Method = command.HttpMethod;
// ...
return request;
}
내 나는이 같은 방법을 호출하고 GetRequestEnumerator
:
public override IEnumerable<WebTestRequest> GetRequestEnumerator()
{
return new CommandInput[]
{
new CommandInput() { CommandName = "configuration", HttpMethod = "POST" },
new CommandInput() { CommandName = "login", HttpMethod = "POST" },
new CommandInput() { CommandName = "quick_view", HttpMethod = "GET" },
new CommandInput() { CommandName = "esign_document", HttpMethod = "POST" }
}.Select(CreateRequest).GetEnumerator();
}
주 원래 코드는 이보다 더 복잡하지만, 관련이 없습니다.. 당신은 각각의 요청이
그러나 ReportingName
속성 값으로 식별되고 있음을 볼 수 있습니다
나는 경우 : 내 로컬 컴퓨터에 부하 테스트를 실행할 때
이
은 잘 작동 Visual Studio 온라인 서비스에서 부하 테스트를 실행하면 요청은ReportingName
대신 URL로 그룹화됩니다.
URL은 테스트 케이스 (https://test.xxxx.com/api/command
)의 모든 요청에 대해 URL이 동일하기 때문에 command {GET}
과 command {POST}
으로 그룹화됩니다. 그 중 일부는 HTTP 메소드 만 다릅니다.
나는 인터넷에서 시간을 검색 만 MSDN에 대한이 공개 스레드를 찾을 관리 : 무슨 일
Reporting Name does not show up in Page Results of Online Load Test
?
당신과 같은 동작을 얻을 연결 MS에서이 문제에 대한 의견을 제출할 수 있습니다 : https://connect.microsoft.com/VisualStudio/feedback/details/3102026 –
에디 - MSFT 다행 @ 것은들을 수 그건 내 것이 아니에요. 제출해 주셔서 감사합니다. –