Use this one: https://github.com/jolestar/jmeter-mongodb-plugin
you can find there plugin which is dedicated especially for mongo u got documentation there as well. Good Luck! -----Original Message----- From: harold wang [mailto:[email protected]] Sent: Tuesday, February 17, 2015 7:17 PM To: JMeter Users List Cc: [email protected] Subject: Re: how to use the Mongodb script Hi Erez Please tell me how to add these add-ons. Thanks Harold 2015-02-17 2:29 GMT-06:00 Erez Naim <[email protected]>: > Hello harold, > > > > The problem which you found "response code: 500" means that you have a > server error, in case you want to use MongoDB plugin you have to add > some add-ons to your Jmeter ext folder. > > > > Let me know, I can guide you what to do. > > > > Erez > > > > *From:* harold wang [mailto:[email protected]] > *Sent:* Tuesday, February 17, 2015 9:26 AM > *To:* JMeter Users List > *Subject:* how to use the Mongodb script > > > > Hi Guys > > I downloaded the lastest Jmeter which is 2.12, and try to use the > Mongodb script to test a Mongodb at a VM built by vagrant > > > > I changed some parameters according to the manual at homepage(just > server IP and Mongo source), attachment is the screenshot, but the > result pops something like > > > > "Response code: 500 > > Response message: javax.script.ScriptException: Sourced file: inline > evaluation of: ``import com.mongodb.DB; import > org.apache.jmeter.protocol.mongodb.config.MongoDBH . . . '' : Typed > variable declaration : Method Invocation coll.insert : at Line: 20 : > in > file: inline evaluation of: ``import com.mongodb.DB; import > org.apache.jmeter.protocol.mongodb.config.MongoDBH . . . '' : coll > .insert ( doc , WriteConcern .ACKNOWLEDGED " > > > > > > > I was confused about the result, did I forget to install some > libraries or some other software such as tomcat at the VM ? > > > > Thanks for all help > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
