Bug 54584 - MongoDB plugin
Summary: MongoDB plugin
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.8
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
: 54960 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-19 20:45 UTC by Jan
Modified: 2013-09-09 20:07 UTC (History)
2 users (show)



Attachments
source code, some example screen shots and the pom (627.51 KB, application/x-zip-compressed)
2013-02-19 20:51 UTC, Jan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan 2013-02-19 20:45:14 UTC
Please find attached a zip of the source for a mongodb plugin.  I use it for comparing the relative performances of mongo scripts.

I'm happy to share it/contribute back into the great work that many folks have executed over the years.

I was told to checkout jmeter eclipse, add the code and team>create patch but I'm a ubuntu / intellij user so the other suggestion was to send it as a zip.

The attached source is also available here:
https://github.com/JanPaulEttles/mongometer

Let me know if you can use it or if you think it's pants and needs work.
Comment 1 Jan 2013-02-19 20:51:15 UTC
Created attachment 29968 [details]
source code, some example screen shots and the pom

I tried to add the zip when creating the enhancement req, but it came back with an error, so attaching again.

Turns out: 

The file you are trying to attach is 2222 kilobytes (KB) in size. Attachments cannot be more than 1000 KB. 
We recommend that you store your attachment elsewhere and then paste the URL to this file on the attachment creation page in the appropriate text field. 
Alternately, if your attachment is an image, you could convert it to a compressible format like JPG or PNG and try again.

I've removed most of the screen shots which tbh I thought were pretty helpful.  They are available on https://github.com/JanPaulEttles/mongometer
Comment 2 Philippe Mouawad 2013-02-19 21:07:09 UTC
Comment on attachment 29968 [details]
source code, some example screen shots and the pom

Thanks for contributions, we'll be looking at it soon.
Comment 3 Philippe Mouawad 2013-03-02 23:47:40 UTC
Date: Sat Mar  2 23:45:21 2013
New Revision: 1451961

URL: http://svn.apache.org/r1451961
Log:
Bug 54584 - MongoDB plugin
Bugzilla Id: 54584

Added:
    jmeter/trunk/res/maven/ApacheJMeter_mongodb.pom
    jmeter/trunk/src/protocol/mongodb/
    jmeter/trunk/src/protocol/mongodb/org/
    jmeter/trunk/src/protocol/mongodb/org/apache/
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElement.java   (with props)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementBeanInfo.java   (with props)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementResources.properties   (with props)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementResources_fr.properties   (with props)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/mongo/
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/mongo/EvalResultHandler.java   (with props)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/mongo/MongoDB.java   (with props)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/mongo/MongoUtils.java   (with props)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptRunner.java   (with props)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.java   (with props)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerBeanInfo.java   (with props)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerResources.properties   (with props)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerResources_fr.properties   (with props)
Modified:
    jmeter/trunk/build.properties
    jmeter/trunk/build.xml
    jmeter/trunk/res/maven/ApacheJMeter_parent.pom
    jmeter/trunk/xdocs/changes.xml
    jmeter/trunk/xdocs/usermanual/component_reference.xml
Comment 4 Philippe Mouawad 2013-03-02 23:54:24 UTC
Date: Sat Mar  2 23:52:15 2013
New Revision: 1451962

URL: http://svn.apache.org/r1451962
Log:
Bug 54584 - MongoDB plugin
EOL
Bugzilla Id: 54584

Modified:
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElement.java   (props changed)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementBeanInfo.java   (props changed)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementResources.properties   (props changed)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementResources_fr.properties   (props changed)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/mongo/EvalResultHandler.java   (props changed)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/mongo/MongoDB.java   (props changed)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/mongo/MongoUtils.java   (props changed)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptRunner.java   (props changed)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSampler.java   (props changed)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerBeanInfo.java   (props changed)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerResources.properties   (props changed)
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerResources_fr.properties   (props changed)
Comment 5 Philippe Mouawad 2013-03-03 00:14:26 UTC
Date: Sun Mar  3 00:13:19 2013
New Revision: 1451964

URL: http://svn.apache.org/r1451964
Log:
Bug 54584 - MongoDB plugin
Add to eclipse.classpath
Bugzilla Id: 54584

Modified:
    jmeter/trunk/eclipse.classpath


Date: Sun Mar  3 00:13:46 2013
New Revision: 1451965

URL: http://svn.apache.org/r1451965
Log:
Bug 54584 - MongoDB plugin
Document use
Bugzilla Id: 54584

Modified:
    jmeter/trunk/lib/aareadme.txt
Comment 6 Milamber 2013-03-03 11:23:03 UTC
URL: http://svn.apache.org/r1452025
Log:
Update version in saveservice
Add Mongo elements to saveservice
Bugzilla Id: 54584

Modified:
    jmeter/trunk/bin/saveservice.properties
    jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java


URL: http://svn.apache.org/r1452026
Log:
Add an exclusion for mongo jar
Bugzilla Id: 54584

Modified:
    jmeter/trunk/lib/   (props changed)

URL: http://svn.apache.org/r1452027
Log:
Update fileversion property
Bugzilla Id: 54584

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java
Comment 7 Milamber 2013-03-08 08:38:02 UTC
URL: http://svn.apache.org/r1454282
Log:
Add French translation, add AL header on resources properties files, litte javadoc and serial id.
Bugzilla Id: 54584

Modified:
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElement.java
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementResources.properties
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementResources_fr.properties
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptRunner.java
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerResources.properties
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerResources_fr.properties
Comment 8 Milamber 2013-03-16 22:23:53 UTC
URL: http://svn.apache.org/r1457325
Log:
Add the mongo jar in packages
Bugzilla Id: 54584

Modified:
    jmeter/trunk/build.xml
Comment 9 Philippe Mouawad 2013-04-17 20:33:32 UTC
Date: Wed Apr 17 20:31:08 2013
New Revision: 1469063

URL: http://svn.apache.org/r1469063
Log:
upgrade to mongo-java-driver-2.11.1

Modified:
    jmeter/trunk/build.properties
    jmeter/trunk/eclipse.classpath
    jmeter/trunk/lib/   (props changed)
    jmeter/trunk/lib/aareadme.txt
    jmeter/trunk/res/maven/ApacheJMeter_parent.pom
Comment 10 Philippe Mouawad 2013-04-30 21:38:10 UTC
Updated deprecated methods to new API
Added an option for WriteConcern#continueOnInsertError
Improved GUI for boolean values


Date: Tue Apr 30 21:35:38 2013
New Revision: 1477841

URL: http://svn.apache.org/r1477841
Log:
Bug 54584 - MongoDB plugin
Bugzilla Id: 54584

Modified:
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElement.java
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementBeanInfo.java
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementResources.properties
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoSourceElementResources_fr.properties
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/mongo/MongoDB.java
Comment 11 Philippe Mouawad 2013-05-05 20:57:04 UTC
Date: Sun May  5 20:55:32 2013
New Revision: 1479389

URL: http://svn.apache.org/r1479389
Log:
Bug 54584 - MongoDB plugin
Update docs
Bugzilla Id: 54584

Added:
    jmeter/trunk/docs/images/screenshots/mongodb-script.png   (with props)
    jmeter/trunk/docs/images/screenshots/mongodb-source-config.png   (with props)
    jmeter/trunk/xdocs/images/screenshots/mongodb-source-config.png   (with props)

Date: Sun May  5 20:52:24 2013
New Revision: 1479387

URL: http://svn.apache.org/r1479387
Log:
Bug 54584 - MongoDB plugin
Bugzilla Id: 54584

Added:
    jmeter/trunk/xdocs/images/screenshots/mongodb-script.png   (with props)
Comment 12 Philippe Mouawad 2013-05-12 14:11:45 UTC
Date: Sun May 12 14:11:02 2013
New Revision: 1481562

URL: http://svn.apache.org/r1481562
Log:
Bug 54584 - MongoDB plugin
Finalize documentation
Bugzilla Id: 54584

Modified:
    jmeter/trunk/xdocs/usermanual/component_reference.xml
Comment 13 Philippe Mouawad 2013-06-30 14:21:38 UTC
Date: Sun Jun 30 14:20:45 2013
New Revision: 1498129

URL: http://svn.apache.org/r1498129
Log:
Bug 54584 - MongoDB plugin
Set MongoDB Script in alpha and clarify documentation on eval issue
Bugzilla Id: 54584

Modified:
    jmeter/trunk/xdocs/usermanual/component_reference.xml
Comment 14 Milamber 2013-06-30 17:46:48 UTC
URL: http://svn.apache.org/r1498166
Log:
Bug 54584 - MongoDB plugin
Set MongoDB Script in alpha and clarify documentation on eval issue

Title must be sync with name in component_reference.xml

Bugzilla Id: 54584


Modified:
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerResources.properties
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/sampler/MongoScriptSamplerResources_fr.properties
Comment 15 Philippe Mouawad 2013-07-14 21:03:08 UTC
Date: Sun Jul 14 21:01:33 2013
New Revision: 1503051

URL: http://svn.apache.org/r1503051
Log:
Bug 54584 - MongoDB plugin
Add MongoDBHolder to allow easier access to DB api
Bugzilla Id: 54584

Added:
    jmeter/trunk/src/protocol/mongodb/org/apache/jmeter/protocol/mongodb/config/MongoDBHolder.java   (with props)
Modified:
    jmeter/trunk/xdocs/usermanual/component_reference.xml


Date: Sun Jul 14 20:59:45 2013
New Revision: 1503050

URL: http://svn.apache.org/r1503050
Log:
Missing javadocs for MongoDB

Modified:
    jmeter/trunk/build.xml
Comment 16 Philippe Mouawad 2013-09-09 20:07:46 UTC
*** Bug 54960 has been marked as a duplicate of this bug. ***
Comment 17 The ASF infrastructure team 2022-09-24 20:37:53 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3064