public void QueueIteration(int iteration)
{
if (!IsAlive)
throw new Exception("TestScenarioThread is not started");
if (_executeIterationQueued)
throw new Exception("Iteration execution already queued");
_queuedIterationId = iteration;
_executeIterationQueued = true;
}