I am investigating a problem I am facing. My setup is as follows. The client and server are both written in C#. I am running the test on Windows 10.
The service is very simple. It sleeps for given duration and returns the text that was sent it.
The client is a command line program that opens a channel and calls the service a given number of times and then exits.
The test is as follows:
In one session I start a client with a sleep parameter of 30000 millisecs.
In another session I start a client with sleep parameter of 10 millisecs, and iteration parameter of 10.
I repeatedly start the client in the second session in sequence - i.e. once the client exits I restart it.
What I notice is this:
In the second session the client completes successfully (i.e. calls the service 10 time) the first few times it is called. Then at the next invocation it just hangs at the first call until the client in the first session finishes.
My feeling is that it is something to do with Channels? Each time the client is started, it creates a channel and does 10 calls to the server. Once the channel is established the calls go through fine. But I do not understand why the 3rd or 4th client invocation just hangs until the client in the first session completes.
Any hints on what the issue might be?
I will create a small test case to show the problem - currently it is part of a larger project so it will take a little time to setup a standalone test.
Thanks and Regards