org.apache.nutch.tools
Class SearchLoadTester
java.lang.Object
org.apache.nutch.tools.SearchLoadTester
public class SearchLoadTester
- extends Object
A simple tool to perform load testing on configured search servers. A
queries file can be specified with a list of different queries to run against
the search servers. The number of threads used to perform concurrent
searches is also configurable.
This tool will output approximate times for running all queries in the
queries file. If configured it will also print out individual queries times
to the log.
Field Summary |
static org.apache.commons.logging.Log |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
SearchLoadTester
public SearchLoadTester(String queriesFile)
throws IOException
- Throws:
IOException
SearchLoadTester
public SearchLoadTester(String queriesFile,
int numThreads,
boolean showTimes)
throws IOException
- Throws:
IOException
testSearch
public void testSearch()
main
public static void main(String[] args)
Copyright © 2006 The Apache Software Foundation