Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85407118B4 for ; Tue, 8 Jul 2014 17:15:24 +0000 (UTC) Received: (qmail 24602 invoked by uid 500); 8 Jul 2014 17:15:24 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 24558 invoked by uid 500); 8 Jul 2014 17:15:24 -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 24544 invoked by uid 99); 8 Jul 2014 17:15:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2014 17:15:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of asp.adieu@gmail.com designates 209.85.220.41 as permitted sender) Received: from [209.85.220.41] (HELO mail-pa0-f41.google.com) (209.85.220.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2014 17:15:20 +0000 Received: by mail-pa0-f41.google.com with SMTP id fb1so7676265pad.14 for ; Tue, 08 Jul 2014 10:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ko782s5TgC1XxsXMGoshtMmUFx3JjxoojC5fq3+T650=; b=PB+KWLO9LYBY4ZnV7d/aSLA/HZ6GwLVm7z8C59eDKgR8zbkrygi2CaQcFNrVKXHVLl XiYGQY/H4tk92Z7L6onesJ+25Hl9S65C47azrV2JeXAT5L8vVPpm6gb+tDMvV8bGmf9n IwcjWFlR5XWFfx8qRqf//WBzML9XbVzKEtHJKyZgHjdpiJize+upI60YEiEIjWJPOOqD Ak5EHdEJs86TTuwcMOQeOS87F6msGO//p5/uusWknhOkLrstQb0Mg7vyoLPM9KpVE2mw /Qa1I4a0QbqxzHeR5lfZjGuwNvrQRdg4Jp12lQQ7d9+OUfLziZLLmNSBGMmWDZ8aLFp3 IvZg== MIME-Version: 1.0 X-Received: by 10.68.181.67 with SMTP id du3mr36327127pbc.96.1404839695647; Tue, 08 Jul 2014 10:14:55 -0700 (PDT) Received: by 10.70.15.132 with HTTP; Tue, 8 Jul 2014 10:14:55 -0700 (PDT) In-Reply-To: References: Date: Tue, 8 Jul 2014 19:14:55 +0200 Message-ID: Subject: Re: Running JMeter unit tests (test errors) From: Adrian Speteanu To: JMeter Users List Content-Type: multipart/alternative; boundary=047d7b33c81206889004fdb1bb8f X-Virus-Checked: Checked by ClamAV on apache.org --047d7b33c81206889004fdb1bb8f Content-Type: text/plain; charset=UTF-8 Hi, Couldn't help noticing that you're using an old version. Is there a particular reason why you're not using the latest one? (I doubt that a lot of people have ran tests on such an old version in the past year or more...) Cheers, Adrian S On Tue, Jul 8, 2014 at 1:46 AM, Sai Zhang wrote: > Hi all, > > I downloaded JMeter 2.9 and would like to run its unit test suite. > > I followed the instructions in its build.xml file to build JMeter from > source. > > However, the following command fails (well not exactly fails, the test it > supposes to run fails): > > ant junit (by default: it runs the AllTest class) > > or > > ant -Dtest.case=org.apache.jmeter.engine.TestTreeCloner.testCloning junit > > More specifically, both commands above result in "Tests run=1, Failures: 0, > Errors: 1" which seems to be strange to me. > > I doubt that I may use the wrong way to execute the unit tests of JMeter, > so could any one kindly share some tips on running its full test suite? > > Thanks a lot > > -Sai > --047d7b33c81206889004fdb1bb8f--