int action = getAction();
if (target == THREAD) {
JMeterThread thread = context.getThread();
if (action == PAUSE) {
// res.setSamplerData("Pause Thread "+thread.getThreadNum());
thread.pauseThread(getDuration());
// response.append("Thread ");
// response.append(thread.getThreadNum());
// response.append(" paused for ");
// response.append(getDuration());
// response.append(" miliseconds");