Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D2CD1200BA4 for ; Sat, 15 Oct 2016 16:35:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D1D60160AF1; Sat, 15 Oct 2016 14:35:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ED9A1160AE7 for ; Sat, 15 Oct 2016 16:35:51 +0200 (CEST) Received: (qmail 5966 invoked by uid 500); 15 Oct 2016 14:35:50 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 5955 invoked by uid 99); 15 Oct 2016 14:35:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Oct 2016 14:35:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7BAF8181353 for ; Sat, 15 Oct 2016 14:35:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id YMtTFSdB5gJu for ; Sat, 15 Oct 2016 14:35:46 +0000 (UTC) Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C00905FADB for ; Sat, 15 Oct 2016 14:35:45 +0000 (UTC) Received: by mail-qt0-f169.google.com with SMTP id q7so92313048qtq.1 for ; Sat, 15 Oct 2016 07:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=GRnittWXI5ii94c9xdTo1kSu3m3Xd7Ei9vzS/i3elHw=; b=IJCKVQ2/+lbIKQ4Pj7dBtEznWPR/yi0ZO3V49LgKpxGorYUW15hBQYDVtegj8B8a2M UphVgGaJ+bkLpe0Sp77TPAfS0JcvVf+Zy2JH7rEvkH2CNgNCwSFUW+Ht9Pn2r95IM0AF 3qvhVw8cbeJNQOACgqCitjEaV4nEZh5ZD/YLUTfHLso9sY9A9rHlZVIzccSvmqBJrLQp 7mEiVRdT8DMfwlgtwmHH31ksMcQRLh4xy+N+OdpyklWwSTIlqWK22hvZIsO8hN1Lf9SM S/DmYdVMNg7d4TwAwGZhFGVtVZCfzNRPkjsVDSBQHn4yN187A0yM1hzE/TGy4eeezLf0 qTHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=GRnittWXI5ii94c9xdTo1kSu3m3Xd7Ei9vzS/i3elHw=; b=eoVgSBKiZb9saX2DJYLJOrlhTpNhCpG2Dz3mKPAg4RpXNN52dY6jZxS+lgYlreMR5F Yh4EZJdMTudjpT5yMGK+m8kpQZWk8CkNaD0aNWa7U6MfmEEVH5UU6lG3Q4zeqUhu93Qr JWqyhVH/EXi5pYbNnoSD7mQI6C6ZjQElkr0YotB0+cifWqNTTPvyEjWohup+lZm4wJhp mNA1PLK1H7O4cdNlV1jJTPTzA5zFj/dCfRTCiLZkEBRcakT6EJGP1qxe1Fkqmx3pq9tM M6wOQj90n6AVdTseo8LVZfN1/w6PAlMH68cO5gfHtrcVkpQ+A65ij0T1in8Cw0uNeIP2 sUdg== X-Gm-Message-State: AA6/9Rk6+yxnma8ikZKj2emJrxZkBeJmDaF6pySOPeG2SM8LuXdrbEvWj+S3HPH00x0Gwu3mGDFlNYMSMtvSLA== X-Received: by 10.200.35.153 with SMTP id q25mr15711650qtq.10.1476542144660; Sat, 15 Oct 2016 07:35:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.138.24 with HTTP; Sat, 15 Oct 2016 07:35:44 -0700 (PDT) In-Reply-To: <6DD78D4B-D1BF-4450-96CE-9CDB2D52B49E@internetallee.de> References: <9020A567-A9FC-4707-BAFF-FD4437B5941C@internetallee.de> <6DD78D4B-D1BF-4450-96CE-9CDB2D52B49E@internetallee.de> From: Allexandre Sampaio Date: Sat, 15 Oct 2016 11:35:44 -0300 Message-ID: Subject: Re: Error while using Custom Samplers To: JMeter Users List Content-Type: multipart/alternative; boundary=001a11404eba074b4a053ee842dd archived-at: Sat, 15 Oct 2016 14:35:53 -0000 --001a11404eba074b4a053ee842dd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 tests. Since I'm a new user of JMeter, I couldn't find another way to do this without using a custom sampler... Thank you again for the help! Att., *Allexandre Sampaio* *Sistemas de Informa=C3=A7=C3=A3o - IFBA* *Vit=C3=B3ria da Conquista - BA* *(77) 99964 3521* 2016-10-15 7:03 GMT-03:00 Felix Schumacher < felix.schumacher@internetallee.de>: > > > Am 14. Oktober 2016 22:08:35 MESZ, schrieb Allexandre Sampaio < > allexandresss@gmail.com>: > >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 soon. > > > > >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! > > Nice to know, that your problem is solved. > > Could you tell us, what you are missing from the current mongodb sampler? > Apart from the newer driver version? > > Felix > > > > >Att., > > > >*Allexandre Sampaio* > >*Sistemas de Informa=C3=A7=C3=A3o - IFBA* > >*Vit=C3=B3ria da Conquista - BA* > >*(77) 99964 3521* > > > >2016-10-14 15:17 GMT-03:00 Felix Schumacher < > >felix.schumacher@internetallee.de>: > > > >> > >> > >> Am 14. Oktober 2016 17:11:30 MESZ, schrieb Allexandre Sampaio < > >> allexandresss@gmail.com>: > >> >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=C3=A7=C3=A3o - IFBA* > >> >*Vit=C3=B3ria da Conquista - BA* > >> >*(77) 99964 3521* > >> > > >> >2016-10-14 11:42 GMT-03:00 Felix Schumacher < > >> >felix.schumacher@internetallee.de>: > >> > > >> >> > >> >> > >> >> Am 14. Oktober 2016 15:08:54 MESZ, schrieb Allexandre Sampaio < > >> >> allexandresss@gmail.com>: > >> >> >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: user-unsubscribe@jmeter.apache.org > >> >> For additional commands, e-mail: user-help@jmeter.apache.org > >> >> > >> >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > >> For additional commands, e-mail: user-help@jmeter.apache.org > >> > >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > For additional commands, e-mail: user-help@jmeter.apache.org > > --001a11404eba074b4a053ee842dd--