@Nouredine A. there is no option on the queue itself but the stop policy of the population in the runtime tab. I dont want to stop when the queue is empty I want the test to stop EVEN if there are VU waiting on that empty queue

If your stop policy is to stop immediately the users should stop when their last action is finished.

The shared queue has a timeout so the users should wait no more than that timeout. Did you modify the default value which is 5000 ms?

Do you have any errors in the NeoLoad log files? The interesting one on controller side are the neoload****.log files. And for the load generators you should get them directly on the Results section under the logs tab.

Ok it makes sense. You have a NeoLoad variable that you can query/test to know the status of the test. There are 2 different status which are RUNNING or STOPPING. This pre-defined variable is NL-TestStatus.