idealista / solrmeter

Stress test tool for Apache Solr (including SolrCloud deployments)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis CI Status - idealista solrmeter

Logo

What is SolrMeter?

It's an standalone java tool for stress tests with Solr (forked from the original (and not under development :p) SolrMeter project). Currently supports traditional Master-Replica and SolrCloud (using ZooKeeper url) deployments and JSON as input document format.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisities

The project has been tested with Apache Maven 3.3.3 and JDK 1.8. Newer versions of Apache Maven should work but could also present issues.

Installing/Usage

The following steps should be followed to compile, package and run SolrMeter:

  1. Clone the repository $ git clone https://github.com/idealista-tech/solrmeter.git
  2. cd to the solr-parent folder $ cd solr-parent
  3. Run 'mvn package'
  4. The generated jar file is under "solrmeter/target" directory. The jar is named 'solrmeter-{version}-jar-with-dependencies.jar'
  5. Run it using $ java -jar solrmeter-{version}-jar-with-dependencies.jar
  6. Create files with information of queries, fields, updates and filter queries
  7. Specify the URL of Solr (or the URL of ZooKeeper if you're using SolrCloud) for updates and queries
  8. Run the executors with the "Start" button

Testing

Execute $ mvn test under solr-parent folder to run the automated tests suite.

Built With

Maven

Changes

For the versions available, see the tags on this repository.

You can see what change in each version in the CHANGELOG.md file.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache 2.0 license - see the LICENSE.txt file for details.

Acknowledgments

To the original developers of SolrMeter:

About

Stress test tool for Apache Solr (including SolrCloud deployments)

License:Apache License 2.0


Languages

Language:Java 100.0%