1 18 19 package org.apache.jmeter.save; 20 21 import java.io.IOException ; 22 import java.util.Collection ; 23 24 import org.apache.jmeter.samplers.SampleResult; 25 26 27 32 public interface DataSource 33 { 34 35 public final static int BASE_INFO_MASK = 1; 36 37 41 public final static int EXTRA_INFO_MASK = 1 << 1; 42 43 47 public final static int SUB_RESULTS_MASK = 1 << 2; 48 49 50 public final static int RESPONSE_MASK = 1 << 3; 51 52 53 public final static int REQUEST_DATA_MASK = 1 << 4; 54 55 56 public final static int ASSERTION_RESULTS_MASK = 1 << 5; 57 58 public final static int APPEND = 1; 59 public final static int OVERWRITE = 2; 60 61 72 public void openSource(int mode, int contentMask) throws IOException ; 73 74 77 public void closeSource() throws IOException ; 78 79 83 public Collection loadLog() throws IOException ; 84 85 89 public Collection loadLog(int length) throws IOException ; 90 91 95 public void recordSample(SampleResult result) throws IOException ; 96 } 97 | Popular Tags |