Using a MongoDB Sampler
In the preceding section, we saw how JMeter can be used to directly test a relational database. A new category of databases, termed as 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, and map/reduce, which 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, and 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...