import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.jmeter.config.Arguments;
import org.apache.jmeter.protocol.java.sampler.AbstractJavaSamplerClient;
import org.apache.jmeter.protocol.java.sampler.JavaSamplerContext;
import org.apache.jmeter.samplers.SampleResult;
import org.apache.log.Logger;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class TestSmsDataResource extends AbstractJavaSamplerClient{
private static ClassPathXmlApplicationContext cxt = new ClassPathXmlApplicationContext("test-perf.xml");
private static final Log log = LogFactory.getLog(TestPaySmsDataResource.class);
private static SmsDataResource SmsDataResource = (SmsDataResource) cxt.getBean("SmsDataResource"
@Override
public SampleResult runTest(JavaSamplerContext javaSamplerContext){
SampleResult sampleResult = new SampleResult();
return sampleResult;
}
@Override
public Arguments getDefaultParameters(){
Arguments params = new Arguments();
return params;
}
@Override
protected Logger getLogger(){
return super.getLogger();
}
@Override
public void setupTest(JavaSamplerContext context){
super.setupTest(context);
}
@Override
public void teardownTest(JavaSamplerContext context){
super.teardownTest(context);
}
}