nikita21 / ndt

Automatically exported from code.google.com/p/ndt
Other
0 stars 0 forks source link

Client Queuing(Wait flag sequence) is not correct #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Start test with 100 clients simultaneously connect to server
2.check the messages displayed by 100 clients

What is the expected output? What do you see instead?

Expected Output:
when multiple clients are connecting to the server then wait flag sequence
should be as below.

For 1-20 Clients receiving wait flag as 0
For 21-40 Clients receiving wait flag as 1
For 41-60 Clients receiving wait flag as 2
For 61-80 Clients receiving wait flag as 3
For 81-100 Clients receiving wait flag as 4
For 101- XXX Clients receiving wait flag as 9988

Observed Output:

we have observed the below sequence more frequently.

For 1-20 Clients receiving wait flag as 0
For 21-40 Clients receiving wait flag as 1
For 41-60 Clients receiving wait flag as 2
For 61-80 Clients receiving wait flag as 3
For 81- 100 Clients receiving wait flag as 9988
we have observed that for 100 clients 79 clients are completing the tests
successfully and 21 clients are getting the message as “Server Busy: Too
many clients waiting in server queue.  Please try again later.”.

But we have observed the below sequence few times.
For 1-20 Clients receiving wait flag as 0
For 21-40 Clients receiving wait flag as 1
For 41-60 Clients receiving wait flag as 2
For 61-80 Clients receiving wait flag as 3
For 81-82 Clients receiving wait flag as 4
For 82-100 Clients receiving wait flag as 9988

Original issue reported on code.google.com by Garimell...@gmail.com on 4 Mar 2010 at 12:06

GoogleCodeExporter commented 9 years ago
Sri;

What server are you testing against.  Behavior 1 (clients 81-100 get the 9988
message) is the current behavior.  The 2nd behavior could occur if 2 clients
completed their test before clients 81 & 82 requested service.  This would have 
left
2 open slots in the FIFO queue that these 2 clients would use.

Also, please include test date/time info when making these reports so I can 
coorelate
them with the server log files.

Rich 

Original comment by rcarlson...@gmail.com on 5 Mar 2010 at 1:39

GoogleCodeExporter commented 9 years ago

Original comment by jwzuraw...@gmail.com on 10 Mar 2010 at 8:42

GoogleCodeExporter commented 9 years ago
Re-verified with V3.6.3 and this bug is not yet fixed. Still one condition need 
to be addressed. Only first 19 clients are getting wait flag 0 and start 
running the test instead of 20 clients should run the test simultaneously.

Original comment by sekharn...@gmail.com on 10 Jun 2010 at 5:22