com.blazemeter.jmeter.controller.DummyThreadGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmeter-parallel Show documentation
Show all versions of jmeter-parallel Show documentation
Parallel Sampling for JMeter
package com.blazemeter.jmeter.controller;
import org.apache.jmeter.engine.StandardJMeterEngine;
import org.apache.jmeter.threads.AbstractThreadGroup;
import org.apache.jmeter.threads.JMeterThread;
import org.apache.jmeter.threads.ListenerNotifier;
import org.apache.jorphan.collections.ListedHashTree;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class DummyThreadGroup extends AbstractThreadGroup {
private static final Logger log = LoggerFactory.getLogger(ParallelSampler.class);
@Override
public boolean stopThread(String s, boolean b) {
return false;
}
@Override
public int numberOfActiveThreads() {
return 0;
}
@Override
public void start(int i, ListenerNotifier listenerNotifier, ListedHashTree listedHashTree, StandardJMeterEngine standardJMeterEngine) {
}
@Override
public boolean verifyThreadsStopped() {
return false;
}
@Override
public void waitThreadsStopped() {
}
@Override
public void tellThreadsToStop() {
}
@Override
public void stop() {
}
@Override
public void threadFinished(JMeterThread jMeterThread) {
log.debug("BG thread finished");
}
}