Time start = Time.now();
while (start.elapsedSince().lessThan(duration) && error[0] == null)
{
logger.info("{} elapsed: {}, duration: {}", new Object[] {
Thread.currentThread().getName(), start.elapsedSince(), duration });
int page1 = random.nextInt(counts.length);
int page2 = random.nextInt(counts.length);
int count = 0;
while (page2 == page1 && count < 100)
{