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, ...

Get Performance Testing with JMeter - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.