WebTestRequest.ReportingName is ignored when using VS Team Services

I have the following method in my regular WebTest :

 private WebTestRequest CreateRequest(CommandInput command) { WebTestRequest request = new WebTestRequest(URL); request.ReportingName = command.CommandName; request.Method = command.HttpMethod; // ... return request; } 

In my GetRequestEnumerator I call the method as follows:

 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(); } 

Note. The source code is more complex than that, but it does not matter .

This works fine when running a load test on my local computer:

You can see that each request is identified by the value of the ReportingName property

Local resume

However, if I run a load test in Visual Studio Online services, the requests are grouped by URL instead of the value on ReportingName :

Cloud Summary

Requests are grouped as command {GET} and command {POST} , because the URL for each request in my test case ( https://test.xxxx.com/api/command ) is the same, only for some of them it differs by the HTTP method .

I searched the watch on the Internet and could only find this open thread about it on MSDN:

The report name does not appear in the results of the Online Load Test page.

What's happening?

+8
c # visual-studio performance-testing vsts
source share
1 answer

This issue will be fixed on 10/16.

Posted by Shiva [MSFT] on 08.28.2012 at 8:59

Thanks for reporting this issue. We fixed the problem and deploy it on 10/16.

+1
source share

All Articles