List of usage examples for org.apache.commons.net.smtp SMTPReply isPositivePreliminary
public static boolean isPositivePreliminary(int reply)
From source file:me.schiz.jmeter.protocol.smtp.sampler.SMTPSampler.java
private void setSuccessfulByResponseCode(SampleResult sr, int replyCode) { if (SMTPReply.isPositiveCompletion(replyCode) || SMTPReply.isPositiveIntermediate(replyCode) || SMTPReply.isPositivePreliminary(replyCode)) { sr.setSuccessful(true);//from w ww .j av a 2 s . co m } else sr.setSuccessful(false); }