Bug 63801 - Add Bolt protocol support for Neo4j database
Summary: Add Bolt protocol support for Neo4j database
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.2
Hardware: All All
: P2 enhancement (vote)
Target Milestone: JMETER_5.2
Assignee: JMeter issues mailing list
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2019-10-04 05:32 UTC by Philippe Mouawad
Modified: 2019-10-04 05:33 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2019-10-04 05:32:12 UTC
https://github.com/apache/jmeter/pull/510
Comment 1 Philippe Mouawad 2019-10-04 05:33:24 UTC
This is an automated email from the ASF dual-hosted git repository.

pmouawad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 2cfdec9  Add Bolt protocol support for Neo4j database (#510)
2cfdec9 is described below

commit 2cfdec9d50ddab4649b813c07724588a03371ef4
Author: Nicolas Mervaillie <nmervaillie@users.noreply.github.com>
AuthorDate: Fri Oct 4 07:32:30 2019 +0200

    Add Bolt protocol support for Neo4j database (#510)

    * Add Bolt protocol support

    Add driver dependency
    Add bolt config element and sampler
    Expose cypher query parameter, execute cypher
    Add temporary README on how to build for hackathon submission

    * Add default example value for parameters to better guide users

    * Rename configuration classes for clarity

    * Apply remarks from code review and code cleanup

    * Use TextArea input for query and param fields

    Simple text inputs are too small

    * Add bolt elements to SaveService

    * Add documentation for bolt protocol

    * Fix build scripts

    Fix some dependencies and add the bolt protocol to the dist build

    * Remove README-bolt.md to submit PR

    * Fix failing test

    build says: SaveService nameMap (saveservice.properties) should contain org.apache.jmeter.protocol.bolt.sampler.AbstractBoltTestElement

    * Add some unit tests

    * Use single line logging instead of multi line

    * Avoid using lambda when consuming results to avoid performance hit

    * Add documentation about connection pooling and what's included in response time

    * Add neo4j driver trust-key


    This resolves Bug 63801 - Add Bolt protocol support for Neo4j database
    https://bz.apache.org/bugzilla/show_bug.cgi?id=63801
---
 bin/saveservice.properties                         |   2 +
 checksum.xml                                       |   1 +
 gradle.properties                                  |   1 +
 settings.gradle.kts                                |   1 +
 src/bom/build.gradle.kts                           |   1 +
 .../java/org/apache/jmeter/save/SaveService.java   |   2 +-
 src/dist/build.gradle.kts                          |   1 +
 .../bolt/config/BoltConnectionElement.java         | 121 ++++++++++++++
 .../bolt/config/BoltConnectionElementBeanInfo.java |  57 +++++++
 .../bolt/sampler/AbstractBoltTestElement.java      |  52 ++++++
 .../jmeter/protocol/bolt/sampler/BoltSampler.java  | 175 +++++++++++++++++++++
 .../protocol/bolt/sampler/BoltSamplerBeanInfo.java |  26 +++
 .../sampler/BoltTestElementBeanInfoSupport.java    |  50 ++++++
 .../BoltConnectionElementResources.properties      |  26 +++
 .../bolt/sampler/BoltSamplerResources.properties   |  28 ++++
 .../protocol/bolt/sampler/BoltSamplerSpec.groovy   | 123 +++++++++++++++
 .../jmeter/resources/ResourceKeyUsageTestBolt.java |  23 +++
 src/protocol/build.gradle.kts                      |   9 ++
 .../images/screenshots/bolt-connection-config.png  | Bin 0 -> 46364 bytes
 xdocs/images/screenshots/bolt-request.png          | Bin 0 -> 139114 bytes
 xdocs/usermanual/component_reference.xml           |  49 ++++++
 21 files changed, 747 insertions(+), 1 deletion(-)
Comment 2 The ASF infrastructure team 2022-09-24 20:38:18 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5177