Skip to content

Bolt Request

Configure the JMeter Bolt Request samplers: properties, defaults, and practical usage notes for building reliable load tests.

Difficulty
intermediate
Guide type
reference
Estimated read time
1 min read
Last verified version
Verified JMeter 5.6

Part of the Samplers category. Also documented in context in the full Component Reference.

Bolt Request

This sampler allows you to run Cypher queries through the Bolt protocol.

Before using this you need to set up a Bolt Connection Configuration

Every request uses a connection acquired from the pool and returns it to the pool when the sampler completes. The connection pool size defaults to 100 and is configurable.

The measured response time corresponds to the “full” query execution, including both the time to execute the cypher query AND the time to consume the results sent back by the database.

NameRequiredDescription
NameNoDescriptive name for this sampler that is shown in the tree.
CommentsNoFree text for additional details.
Cypher statementYesThe query to execute.
ParamsNoThe parameter values, JSON formatted.
Record Query ResultsNoWhether to add or not query result data to the sampler response (default false). Note that activating this has a memory overhead, use it wisely.
Access ModeYesWhether to access the database in WRITE or READ mode. Use WRITE for a standalone Neo4j instance. For a Neo4j cluster, select mode depending on whether the query writes to the database. That setting will allow correct routing to the cluster leader, followers or read replicas.
DatabaseNoThe database to run the query against. Required for Neo4j 4.0+, unless querying the default database. Must be undefined for Neo4j 3.5.
Transaction timeoutNoTimeout for the transaction.

^

On this page