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 the project, and the sampler works! Thank you, Felix, you helped me a lot! Att., *Allexandre Sampaio* *Sistemas de Informação - IFBA* *Vitória da Conquista - BA* *(77) 99964 3521* 2016-10-14 15:17 GMT-03:00 Felix Schumacher < [email protected]>: > > > Am 14. Oktober 2016 17:11:30 MESZ, schrieb Allexandre Sampaio < > [email protected]>: > >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 method worked fine). > >Actually, I'm coding my own sampler, that's because I need to do some > >specific operations in the database, using my own dataset, so, I > >couldn't > >use the mongodb sampler recomended. > >Finally, I'm using JMeter version 2.13, on a Ubuntu 16.10 desktop with > >Java > >8. > > Did you remove the mongodb driver that came with JMeter? > > And why are you still using JMeter 2.13? > > Felix > > > > > > >Att., > > > >*Allexandre Sampaio* > >*Sistemas de Informação - IFBA* > >*Vitória da Conquista - BA* > >*(77) 99964 3521* > > > >2016-10-14 11:42 GMT-03:00 Felix Schumacher < > >[email protected]>: > > > >> > >> > >> Am 14. Oktober 2016 15:08:54 MESZ, schrieb Allexandre Sampaio < > >> [email protected]>: > >> >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 indicated fix method was by putting the library .jar in > >the > >> >JMeter lib/ext folder,but I'm sure I did this! > >> >Did anyone have had a problem like this? > >> > >> I haven't used the mongodb sampler, but to get more help, it > >certainly > >> would help to give more information. > >> > >> What driver jar did you use exactly, which method is missing? Which > >> sampler did you use? Which version is your JMeter? > >> > >> It might be helpful to have your Java version or OS and it's version. > >> > >> Regards, > >> Felix > >> > > >> >Thanks, > >> >*Allexandre Sampaio* > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
