Apache JMeter

org.apache.jmeter.protocol.http.util.accesslog
Class OrderPreservingLogParser

java.lang.Object
  extended by org.apache.jmeter.protocol.http.util.accesslog.TCLogParser
      extended by org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser
          extended by org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser
All Implemented Interfaces:
Cloneable, LogParser, TestCloneable

public class OrderPreservingLogParser
extends SharedTCLogParser


Field Summary
 
Fields inherited from class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser
decode, FILENAME, FILTER, GET, HEAD, log, POST, READER, RMETHOD, SOURCE, URL_PATH, useFILE
 
Constructor Summary
OrderPreservingLogParser()
           
OrderPreservingLogParser(String source)
           
 
Method Summary
 int parseAndConfigure(int count, TestElement el)
          parse a set number of lines from the access log.
 
Methods inherited from class org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser
clone, close, parse, parse
 
Methods inherited from class org.apache.jmeter.protocol.http.util.accesslog.TCLogParser
checkMethod, checkParamFormat, checkURL, cleanURL, convertStringToJMRequest, convertStringtoNVPair, decodeParameterValue, parse, parseLine, parseOneParameter, parseParameters, setDecodeParameterValues, setFilter, setSourceFile, setUseParsedFile, stripFile, tokenize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderPreservingLogParser

public OrderPreservingLogParser()

OrderPreservingLogParser

public OrderPreservingLogParser(String source)
Method Detail

parseAndConfigure

public int parseAndConfigure(int count,
                             TestElement el)
parse a set number of lines from the access log. Keep in mind the number of lines parsed will depend the filter and number of lines in the log. The method returns the actual lines parsed.

Specified by:
parseAndConfigure in interface LogParser
Overrides:
parseAndConfigure in class TCLogParser
Parameters:
count - number of max lines to read
el - TestElement to read lines into
Returns:
lines parsed

Apache JMeter

Copyright © 1998-2015 Apache Software Foundation. All Rights Reserved.