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

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

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

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

Re: HttpClient SSL Handshake and self-signed certificate

2016-10-14 Thread Ivan Rancati
hi, No idea whether JMeter validates the hostname. I thought not, as I have some tests that access the server by IP address, and the server certificate has a hostname. A couple of ideas to try to narrow down the problem - check jmeter.log You should see some INFO entries from

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,

HttpClient SSL Handshake and self-signed certificate

2016-10-14 Thread Stuart Barlow
Hi In test environments self-signed certificates are common and they're not always created in the right way. I'm trying to connect via HTTPS Request to a website that uses a self-signed cert where the hostname is not correctly set inside the cert. The CN field has a value like