You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/02/19 21:45:14 UTC

[Bug 54584] New: MongoDB plugin

https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

            Bug ID: 54584
           Summary: MongoDB plugin
           Product: JMeter
           Version: 2.8
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: janpaulettles@gmail.com
    Classification: Unclassified

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #6 from Milamber <mi...@apache.org> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Comment on attachment 29968
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29968
source code, some example screen shots and the pom

Thanks for contributions, we'll be looking at it soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #9 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #7 from Milamber <mi...@apache.org> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #14 from Milamber <mi...@apache.org> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #8 from Milamber <mi...@apache.org> ---
URL: http://svn.apache.org/r1457325
Log:
Add the mongo jar in packages
Bugzilla Id: 54584

Modified:
    jmeter/trunk/build.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #10 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #12 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #15 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #11 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #1 from Jan <ja...@gmail.com> ---
Created attachment 29968
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29968&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

--- Comment #13 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54584] MongoDB plugin

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54584

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |epihin-m@yandex.ru

--- Comment #16 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
*** Bug 54960 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.