TestSample[] samples = new TestSample[] {hbt};
if (samples != null && samples.length > 0) {
JMeterThread[] result = new JMeterThread[count];
for (int i=0;i<result.length;i++)
{
result[i]=new HTTPJMeterThread(new HTTPSampler(new CookieManager(),
new AuthManager()),samples,threadGroup);
}
return result;
}
return null;