-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bolt Sampler - Neo4j 4.x and cluster features #638
Conversation
database : required to address a on-default dtabase in Neo4j 4.x accessMode : allow to test against a cluster w/o having all queries sent to the leader (previous was defaulting to WRITE)
- new tx timeout option - fixed results consumption issue in 4.x - separated options from query in UI + better descriptions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I think it will have to wait until the release 5.4.1, which should happen soon.
...ocol/bolt/src/main/java/org/apache/jmeter/protocol/bolt/sampler/AbstractBoltTestElement.java
Outdated
Show resolved
Hide resolved
src/protocol/bolt/src/main/java/org/apache/jmeter/protocol/bolt/sampler/BoltSampler.java
Outdated
Show resolved
Hide resolved
...t/src/main/resources/org/apache/jmeter/protocol/bolt/sampler/BoltSamplerResources.properties
Outdated
Show resolved
Hide resolved
...lt/src/main/java/org/apache/jmeter/protocol/bolt/sampler/BoltTestElementBeanInfoSupport.java
Outdated
Show resolved
Hide resolved
...ocol/bolt/src/main/java/org/apache/jmeter/protocol/bolt/sampler/AbstractBoltTestElement.java
Outdated
Show resolved
Hide resolved
also removed time assertions that made some unit tests flaky
update to latest JMeter
Allows to specify a pool size larger than the default 100, which can become a bottleneck with large number of threads using a single Neo4j driver. Also improve Bolt URI description to describe neo4j:// format.
Codecov Report
@@ Coverage Diff @@
## master #638 +/- ##
============================================
+ Coverage 55.43% 55.45% +0.01%
- Complexity 10155 10163 +8
============================================
Files 1044 1044
Lines 64078 64127 +49
Branches 7250 7252 +2
============================================
+ Hits 35524 35559 +35
- Misses 26047 26061 +14
Partials 2507 2507 Continue to review full report at Codecov.
|
...ocol/bolt/src/main/java/org/apache/jmeter/protocol/bolt/sampler/AbstractBoltTestElement.java
Outdated
Show resolved
Hide resolved
also updated the docs of the Bolt Sampler and Bolt config to reflect the new parameters
Thanks for the PR. Can you test the next nightly or build from trunk? |
Description
Bolt Sampler :
Motivation and Context
Enables running JMeter against Neo4j 4.0, 4.1 & 4.2.
Enables running JMeter against Neo4j Enterprise Causal clusters
Enables setting a limit on request execution time.
How Has This Been Tested?
Tested against : 3.5 standalone Neo4j instance, 3.5 Causal Cluster, 4.2 standalone Neo4j instance, 4.2 Causal Cluster.
Test config : 1 "Bolt Connection Configuration" + 1 "Bolt Request" in a Thread group
Screenshots (if appropriate):
Types of changes
Checklist: