org.apache.nutch.tools
Class SearchLoadTester

java.lang.Object
  extended by 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
           
 
Constructor Summary
SearchLoadTester(String queriesFile)
           
SearchLoadTester(String queriesFile, int numThreads, boolean showTimes)
           
 
Method Summary
static void main(String[] args)
           
 void testSearch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

SearchLoadTester

public SearchLoadTester(String queriesFile)
                 throws IOException
Throws:
IOException

SearchLoadTester

public SearchLoadTester(String queriesFile,
                        int numThreads,
                        boolean showTimes)
                 throws IOException
Throws:
IOException
Method Detail

testSearch

public void testSearch()

main

public static void main(String[] args)


Copyright © 2006 The Apache Software Foundation