From user-return-46996-archive-asf-public=cust-asf.ponee.io@jmeter.apache.org Thu Sep 6 22:05:40 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id ECC34180668 for ; Thu, 6 Sep 2018 22:05:39 +0200 (CEST) Received: (qmail 82695 invoked by uid 500); 6 Sep 2018 20:05:38 -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 82684 invoked by uid 99); 6 Sep 2018 20:05:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2018 20:05:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 614CCC8FB7 for ; Thu, 6 Sep 2018 20:05:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.902 X-Spam-Level: * X-Spam-Status: No, score=1.902 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=0.001, 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.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id KDmcZmgI8MA7 for ; Thu, 6 Sep 2018 20:05:37 +0000 (UTC) Received: from mail-qt0-f173.google.com (mail-qt0-f173.google.com [209.85.216.173]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B63C55F125 for ; Thu, 6 Sep 2018 20:05:36 +0000 (UTC) Received: by mail-qt0-f173.google.com with SMTP id k38-v6so13757965qtk.11 for ; Thu, 06 Sep 2018 13:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=jowiNNVxIOJueqK2CtSmlejQQ3qYgulkwfazq3Io8us=; b=mgnVc5v3/QiFCfIxMUTPZA4wokAKzhZOqZiO58My8qHCJpZ85dgjiTQRCS8bRna4uT jxEPWDq7Ao6eHdNizmX8EOJFQnES9RSV2xe9WAzxDjp6jsuLYQMhM5RatHkaeTCOH5FG rpthSvsaUQokpqEJZMvkX7Wkhb/VwrACs00FnxUKfXpRPa5HCZwEdYUmDzRSv3WzP34d 7Y7nkOq6zAnGe5ap7ywunMx8viRTnE4RW2MizQ9zIt++UYOWgNk2/oAX0bJaCr+5s22G F6t3wUNJ2CZDDFFsI9tubwQGLk9TK17EoMf4rRPeWuTQmrNgrRURCHtxj6UE9eFGi6rP 8sYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=jowiNNVxIOJueqK2CtSmlejQQ3qYgulkwfazq3Io8us=; b=QlcS7PDrAkjF3iswr7OHD4puPHZRgV9WpI4OqcGKnBYmdYw6TgsFAdKPEHLAmOUm6G 96vTEQEtzo5QZyHpmUB25W0RwztO7jIEfqzDWKhNc77ueuIdllww1VPL84S2kDtyurFU kxzOn6GE/BPIBp8IzW74/L9Q86jc+eIHdt9UQvoF6efIv636gn+M2zQFCVY1uAhduix5 kxoQLmEiHyomA0KZRtES8sMcjtSkCHS761bD9lAJeVZ4C/q1J2qnpxdeQrRnwzwY9yeB TswCjsR+1lzW62XXu2RPzdkrPllLx+/mVhNfLxk3EPTdQj60+7sX8ElVSoY9DcOCY4wm bryA== X-Gm-Message-State: APzg51DVe7bdOEOzcwd6g0dtVx1S2W6aLzcyj4VgVCHiKGheelAKWRIZ PyndtQ6OyJJyCTgC2Z5Bs5dgDMZ+bt1p6zu4t4lRzA== X-Google-Smtp-Source: ANB0VdblGz7fPtd1lujGbwkrp4VzsMWJAUwkLhiVeoWpgAOz+86RoJtX6a5BgkeuBGBo5WHSvLBTgBjGtnwWYr1m084= X-Received: by 2002:a0c:93c9:: with SMTP id g9-v6mr3440252qvg.14.1536264335285; Thu, 06 Sep 2018 13:05:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Philippe Mouawad Date: Thu, 6 Sep 2018 22:05:25 +0200 Message-ID: Subject: Re: JUnit Setup Issues To: JMeter Users List Content-Type: multipart/alternative; boundary="000000000000fc63170575396977" --000000000000fc63170575396977 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You can't attach files, so either share it in pastebin or similar website, or copy content here . In both cases, remove sensitive information if any. Thanks On Thu, Sep 6, 2018 at 10:02 PM Maxwell Falcon wrote: > Here is my class and I'll attach the log file: > > package community; > > import ... > > public class LoginTests extends BaseCommunityTest { > > private User user; > > @Before > public void loginTestInit() { > > } > > @Test > @TestCase(owner =3D Owner.Kevin, testId =3D 834089) > public void loginLogout() { > System.out.println("Test"); > } > } > > =EF=BB=BFOn 9/6/18, 3:32 PM, "Philippe Mouawad" > wrote: > > Hello, > You're in the right place. > > Would it be possible to show your class maybe removing the code of > methods > and also show jmeter.log ? > > Thank you > > On Thu, Sep 6, 2018 at 8:13 PM Maxwell Falcon > wrote: > > > Hello, this is my first time using the mailing list, so I hope that > I am > > posting in the right channel/list. > > > > Essentially I am trying to run some of my Junit tests in JMeter. > Right > > now I have exported my project as a .jar and put the .jar in the > lib/junit > > directory. In JMeter I add the Junit sampler and results tree > listener. > > In the JUnit sampler I select my classname and test and then hit > run. I > > get response code 100 but the test shows up red and never runs. > Looking at > > the log it looks the error is > > > > =E2=80=9CTrying to find constructor with one String parameter retur= ned error: > > community.LoginTests.(java.lang.String)=E2=80=9D > > > > I do not have a constructor in the test class. Any help would be > greatly > > appreciated. If I am posting this in the wrong place then please > let me > > know. > > > > -Maxwell > > > > > -- > Cordialement. > Philippe Mouawad. > Ubik-Ing=C3=A9nierie > > UBIK LOAD PACK Web Site > > UBIK LOAD PACK on TWITTER > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org > For additional commands, e-mail: user-help@jmeter.apache.org --=20 Cordialement. Philippe Mouawad. --000000000000fc63170575396977--