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

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

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?
c # visual-studio performance-testing vsts
Matias cicero
source share