I intend to write a small program to check IIS service connectivity and statistics through multiple connections in parallel. The IIS service is behind NLB service (and there 3 different service). So what I did so far is:
Results: When I send the requests to the NLB, always single IIS server responses. When I try to change the URI to the IIS servers specifically - every server responses on its own request. Now, I think that it means that the NLB doesn't do what it is supposed to do, since it navigates always to the same server (for every run, single server answers - it can change, but not for the run).
Is the check that I mention credible for checking NLB? If not, how can I check it through Winforms application?
Thanks in advance.
That is typical behaviour of NLB. It will try and give you the same host each time. You don't want it to pick a random server each time.
You will have much more useful information from examining the IIS Server logs, performance counters or in built monitoring routines.