Book Image

Performance Testing with JMeter

By : Bayo Erinle
Book Image

Performance Testing with JMeter

By: Bayo Erinle

Overview of this book

Table of Contents (14 chapters)

Using a MongoDB Sampler


In the previous section, we saw how JMeter can be used to directly test a relational database. A new category of databases termed NoSQL (Not Only SQL or No SQL) are on the rise and it is not uncommon to come across applications using these databases either in combination with relational ones, or entirely as the only database. These databases offer certain features such as document-oriented storage, schema-less, high availability, sharding, map/reduce, and so on that make them more attractive than their relational counterparts for certain use cases. You can read more about NoSQL databases at https://en.wikipedia.org/wiki/NoSQL.

The popular NoSQL databases are MongoDB, Couchbase, Redis, Apache Cassandra, Riak, Amazon DynamoDB, to name a few.

Since MongoDB is one of the most popular ones, JMeter comes bundled with components that can help you directly test MongoDB databases with no additional plugins. This can come in handy if you would like to test the database isolated...