Return-Path: X-Original-To: apmail-jmeter-dev-archive@minotaur.apache.org Delivered-To: apmail-jmeter-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6563910662 for ; Tue, 1 Oct 2013 21:09:47 +0000 (UTC) Received: (qmail 39021 invoked by uid 500); 1 Oct 2013 21:09:47 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 38922 invoked by uid 500); 1 Oct 2013 21:09:46 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 38912 invoked by uid 99); 1 Oct 2013 21:09:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2013 21:09:45 +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 philippe.mouawad@gmail.com designates 209.85.223.178 as permitted sender) Received: from [209.85.223.178] (HELO mail-ie0-f178.google.com) (209.85.223.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Oct 2013 21:09:38 +0000 Received: by mail-ie0-f178.google.com with SMTP id to1so14886733ieb.23 for ; Tue, 01 Oct 2013 14:09:17 -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=n/zy5P13sh5nOwwpY384Pq5WX7ykqlFBmnVpTRduQUg=; b=Lw9fLzxWMMN0Vkxc20mpxgfcJobmg3vFNfG9C1cFSG+h1qYcVS4XyoDqHdlvWhYUqp 7mr53rfOnrgN600TbbMD1QXn351QTSbKg+n+GJSWSG1n9ZBEaCkc/Aj1aT3M8Qew2y0C hh7/sRYlvlG+kjdvmh+OD0DUVJRe83c/6jTwAc4Cho93muXotN20r/Ljw3i/s6xqfBhN AwvXoSYt+mRIg5r5bI+hkMbudUKFOcESxDoaFxjAQYQ48jMf/IKBhW7Z5oHJwlWC3EYZ 1IvuJFPo9aHOD2aBhrqrccnvgLIcIYTaF5si4dAeKvYJMNdhkye7Fx6MYsX/Z1Pf+u9R NaUA== MIME-Version: 1.0 X-Received: by 10.50.49.14 with SMTP id q14mr19804852ign.2.1380661757679; Tue, 01 Oct 2013 14:09:17 -0700 (PDT) Received: by 10.42.222.2 with HTTP; Tue, 1 Oct 2013 14:09:17 -0700 (PDT) In-Reply-To: References: <20130206194204.850E423888D2@eris.apache.org> Date: Tue, 1 Oct 2013 23:09:17 +0200 Message-ID: Subject: Re: svn commit: r1443162 - /jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java From: Philippe Mouawad To: "dev@jmeter.apache.org" Content-Type: multipart/alternative; boundary=e89a8f8395b39f1f7904e7b45de9 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f8395b39f1f7904e7b45de9 Content-Type: text/plain; charset=ISO-8859-1 Sorry, my mistake. It was due to a plugin. Regards Philippe On Sat, Sep 21, 2013 at 3:59 PM, sebb wrote: > On 20 September 2013 20:11, sebb wrote: > > On 19 September 2013 11:44, Philippe Mouawad > wrote: > >> Hello, > >> This commit has an impact which is the following: > >> - You cannot read anymore with 2.10 JTL files generated by version < > 2.10. > > I've been trying to see how to test the issue, and cannot find a problem. > Are you sure the change causes a problem? > As far as I can tell, the field is not accessed directly by the save > service, only through getter/setter. > > Was this an XML file or a CSV file? > > Have you a sample JTL file that does not work any more? > > > Oops, that was not intentional. > > > >> Shall we keep it or rollback it ? > > > > I'll have a look at this shortly. > > > > It appears the unit tests don't catch this problem, so clearly they > > need fixing too. > > > >> Regards > >> > >> > >> On Wed, Feb 6, 2013 at 8:42 PM, wrote: > >> > >>> Author: sebb > >>> Date: Wed Feb 6 19:42:04 2013 > >>> New Revision: 1443162 > >>> > >>> URL: http://svn.apache.org/viewvc?rev=1443162&view=rev > >>> Log: > >>> Rename private field to better reflect its contents > >>> > >>> Modified: > >>> jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java > >>> > >>> Modified: > >>> jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java > >>> URL: > >>> > http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java?rev=1443162&r1=1443161&r2=1443162&view=diff > >>> > >>> > ============================================================================== > >>> --- jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java > >>> (original) > >>> +++ jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java > Wed > >>> Feb 6 19:42:04 2013 > >>> @@ -173,7 +173,7 @@ public class SampleResult implements Ser > >>> // ISO-8895-1, UTF-8 > >>> > >>> /** elapsed time */ > >>> - private long time = 0; > >>> + private long elapsedTime = 0; > >>> > >>> /** time to first response */ > >>> private long latency = 0; > >>> @@ -272,7 +272,7 @@ public class SampleResult implements Ser > >>> > >>> // Allow test code to change the default useNanoTime and > >>> nanoThreadSleep settings > >>> SampleResult(boolean nanoTime, long nanoThreadSleep) { > >>> - this.time = 0; > >>> + this.elapsedTime = 0; > >>> this.useNanoTime = nanoTime; > >>> this.nanoThreadSleep = nanoThreadSleep; > >>> this.nanoTimeOffset = initOffset(); > >>> @@ -321,7 +321,7 @@ public class SampleResult implements Ser > >>> subResults = res.subResults; // TODO ?? > >>> success = res.success;//OK > >>> threadName = res.threadName;//OK > >>> - time = res.time; > >>> + elapsedTime = res.elapsedTime; > >>> timeStamp = res.timeStamp; > >>> } > >>> > >>> @@ -420,7 +420,7 @@ public class SampleResult implements Ser > >>> endTime = stamp; > >>> } > >>> timeStamp = stamp; > >>> - time = elapsed; > >>> + elapsedTime = elapsed; > >>> } > >>> > >>> /* > >>> @@ -717,7 +717,7 @@ public class SampleResult implements Ser > >>> * > >>> */ > >>> public long getTime() { > >>> - return time; > >>> + return elapsedTime; > >>> } > >>> > >>> public boolean isSuccessful() { > >>> @@ -991,7 +991,7 @@ public class SampleResult implements Ser > >>> log.error("setEndTime must be called after setStartTime", > new > >>> Throwable("Invalid call sequence")); > >>> // TODO should this throw an error? > >>> } else { > >>> - time = endTime - startTime - idleTime; > >>> + elapsedTime = endTime - startTime - idleTime; > >>> } > >>> } > >>> > >>> > >>> > >>> > >> > >> > >> -- > >> Cordialement. > >> Philippe Mouawad. > -- Cordialement. Philippe Mouawad. --e89a8f8395b39f1f7904e7b45de9--