Re: Error while using Custom Samplers

2016-10-15 Thread Philippe Mouawad
Thanks for feedback. Note you could have used a CSV Dataset to load the data and either: - the mongodb sampler to write. - or Mongo config + jsr223 sampler using groovy and the mongo config Regards On Saturday, October 15, 2016, Allexandre Sampaio wrote: > Ok, I can take a look and test the cu

Re: Error while using Custom Samplers

2016-10-15 Thread Allexandre Sampaio
Ok, I can take a look and test the currently nightly version. Well, the current mongodb sampler works really well, but my tutor asked me to use a real dataset to do the tests... So, the sampler I've developed imports a .csv file that contains the data from a real datbase and uses it to load the tes

Re: Error while using Custom Samplers

2016-10-15 Thread Felix Schumacher
Am 14. Oktober 2016 22:08:35 MESZ, schrieb Allexandre Sampaio : >Well, I've just taken the old version of JMeter I had here... now I'm >upgrading it to the newest version. It would be nice, of you could test the current nightly, too. We are hopefully releasing the next JMeter version really so

Re: Error while using Custom Samplers

2016-10-14 Thread Allexandre Sampaio
Well, I've just taken the old version of JMeter I had here... now I'm upgrading it to the newest version. About the mongodb driver that came with JMeter, I didin't even thought in removing it, and it was the problem Now I removed and replaced it with the same mongodb driver I used to compile t

Re: Error while using Custom Samplers

2016-10-14 Thread Felix Schumacher
Am 14. Oktober 2016 17:11:30 MESZ, schrieb Allexandre Sampaio : >Right, I'm using the version 3.0.0 of mongo-java-driver (available in >http://central.maven.org/maven2/org/mongodb/mongo-java-driver/3.0.0/). >The missing method is the "getDatabase(DB_NAME)", that returns the >instance >of the dat

Re: Error while using Custom Samplers

2016-10-14 Thread Allexandre Sampaio
Right, I'm using the version 3.0.0 of mongo-java-driver (available in http://central.maven.org/maven2/org/mongodb/mongo-java-driver/3.0.0/). The missing method is the "getDatabase(DB_NAME)", that returns the instance of the database. (I did some tests while coding the sampler and the getDatabase me

Re: Error while using Custom Samplers

2016-10-14 Thread Felix Schumacher
Am 14. Oktober 2016 15:08:54 MESZ, schrieb Allexandre Sampaio : >Hi, I'm having some trouble while using custom samplers on JMeter. >When I try to load the tests, the console shows a message that says >"NoSuchMethodError", refering to a method from the >mongo-java-driver-3.0.0 >library. >After s

Error while using Custom Samplers

2016-10-14 Thread Allexandre Sampaio
Hi, I'm having some trouble while using custom samplers on JMeter. When I try to load the tests, the console shows a message that says "NoSuchMethodError", refering to a method from the mongo-java-driver-3.0.0 library. After search for help, I couldn't fix the problem, in every topic I've read, the