We’ve build a REST service with ASP.NET MVC Web API in Visual Studio 2013. With a Load test we plan to test the performance of the service when deployed to a web server with the data on a sql server. After completing a test run with over 100000 successful tests we looked at the summary report.
The pages/sec are not on par with the requests/sec, average page time and other metrics. We expected the requests/sec and the pages/sec to be the same.

Looking for answers on the internet we found that the page time is the sum of all requests to display a page. This includes css, scripts, images, … That is why some people have a high request/sec and slower page time. But we have a REST service, there are no other requests made but the main request for the resource. What is going on here?
My colleague Stefan helped me with troubleshooting. We came up the following explanation;
One of the properties of the run settings is the number of pages/urls to report, [Maximum Request URLs Reported]
This number is 1000 by default which is way less than the 100000 unique requests we do during the load test,
The 1001st and later requests are combined in a “other request urls” group and it looks like this is the group used on the summary report,
Thesis: Pages/sec is the average number of requests made to the “other request urls” during the load test
We put the thesis to the test using the formula below. Since the numbers are very high and we use averages, we can assume that slow and fast resources are of little impact on the end result.
(Total tests / Count of Other Request Urls) * Pages per sec = Requests per sec
After doing several test runs we found no results that prove the formula wrong. Just to be safe we changed the [Maximum Request URLs Reported] property to zero. This means no urls get logged and the pages/sec is also zero.
Nothing to see here, carry on!
I aimed at three posts a week with the Friday post being a roundup of internet reads. Posting my other reads on twitter. My blogging was consistent.
On my projects I promoted time boxed meetings. For better balance I blocked two evenings in my schedule. Also my phone / iPad / Laptop remains untouched until kids in bed.
Not to brag but I ran a PR in 2015 on 5K, Half Marathon and Marathon (my first 😉 ).
In 2016 I want to do more talking and less coding. Talking with clients about their needs, talking with colleagues about solutions, talking with developers about code. I still want to do coding, but not as the primarily task in my work.
Today I updated Alfred to v2. I don’t know why I was holding off for so long. The look and feel is more consistent with El Capitan. Updating is easy: install, import settings and use.