Unanswered question

Shared Queue - Check Virtual User

I have a script which puts values into a shared queue. My second script then picks the values up from this. In Neoload 4 I had this setup and was able to run the first script a number of times to create data in the shard queue which I could then use to check with script number 2 by reading from the shared queue. In NeoLoad 5.0.2 this doesn't seem to be working, the values get put into the queue but then script 2 gets stuck as if there is nothing actually in the queue for it to pick up (which is a lie). Can you please advise?

Paul G.
Paul G.

Paul G.

Level
0
22 / 100
points

Answers

I've just tried in NeoLoad 5.0.4 and it works as expected. I am able to run multiple times a check virtual user process to insert data in a shared queue. Then if i run another user he is able to consume the values starting from the first one that was added to the queue till the end.

I do not think there was a changed in that area between NeoLoad 5.0.2 and 5.0.4 but in case could you try with that version?

If it still does not work then the issue might in your script. Make sure that your first script is not also consuming the values after feeding the shared queue.

Paul G.
Paul G.

Paul G.

Level
0
22 / 100
points

Hi. I managed to resolve this issue by adopting the old 'turn it off and on again' approach. I closed NeoLoad, rebooted my machine, restarted NeoLoad and then hey presto problem solved, the shared queue worked as I was expecting. Didn't have to make any script changes so I'll put this down to a minor gremlin.