Add: ElasticSearch backend listener #615
Add: ElasticSearch backend listener #615anthonygauthier wants to merge 1 commit intoapache:masterfrom
Conversation
30202d8 to
c79f1c8
Compare
|
Hey there @pmouawad , anything to change in your opinion? |
|
Hello @delirius325 , Thanks |
|
Just in case, here's dependency impact. For instance, we already have |
c79f1c8 to
067db4c
Compare
|
@vlsi Thanks for the feedback! I've added comments concerning AWS and I've switched from Gson to Jackson, therefore avoiding the need to add a new dependency. |
Updated realtime-results.xml doc Removed ES related versions from gradle.propertiesÉ Removed trailing lines in gradle.properties Added license at the beginning of all new files Removed org.json:json and usgin Gson instead Correctly using Gson in getElasticSearchVersion() Applied code style Added local MIT license for aws-signing-request-interceptor Updated dependencies, switched from gson to jackson Applied styles
067db4c to
8ae1d3d
Compare
|
Hello @delirius325 ,
The addition looks really useful, but I am wondering if it's not better that this one remains as a plugin, as its pace of release can be faster than JMeter one. What's your thoughts ? |
|
Hey @pmouawad , You bring up some good points; including the plugin's JAR probably would be the more logical and flexible approach to this. Otherwise, I agree that I would have to cut back on some of the features to remove certain dependencies (i.e. for AWS). Honestly, it's a good thing you brought this up, I hadn't even thought about doing it like that. I'll look into making that happen instead of having an "official" implementation. Thanks for the feedback! |
|
Thanks for your answer. |
Description
After 3 years of developing and maintaining the ElasticSearch Backend Listener plugin for JMeter, I believe it's time for it to be integrated to the main codebase.
org.apache.jmeter.visualizers.backend.elasticsearchpackageMotivation and Context
As I mentioned above, after 3 years of developing, publishing and maintaining the plugin "Elasticsearch Backend Listener", I believe it is time for it to be added to the main codebase. As a result of this, Elasticsearch would officially be supported by JMeter and would evolve nicely with it.
It is clearly a used and needed integration since, as it stands, there are over 2500 users installing the plugin (source).
How Has This Been Tested?
The plugin itself has been tested through and through for over 3 years. As for how it's been tested in the main codebase; I've changed all the packages names, added the necessary dependencies in the
build.gradle.ktsof thecomponentsworkspace. I have applied the necessary coding styles, corrected and adjusted if necessary.My testing environment consisted of the following:
To test, I built JMeter using
gw runGui. I then added a sampleThread Groupas well asDebug samplersand aBackend Listenerto which I setup the config to point to my local ElasticSearch engine.I executed the test and verified that samples showed up.
Screenshots
Types of changes
Checklist: