Using the Variable Modifier
logical action:
Select the Shared queue variable type
variableName
, omitting ${}
The first available value will be extracted from the queue and assigned to the variable. If the queue is empty however, the Virtual User will wait for an available value until the timeout set when the queue was created. Once this has timed out, the value used is ${queueName}.
Consuming a variable can be done whenever the variable picker is available.