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 8DB5B18D77 for ; Fri, 18 Mar 2016 21:30:41 +0000 (UTC) Received: (qmail 72840 invoked by uid 500); 18 Mar 2016 21:30:41 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 72809 invoked by uid 500); 18 Mar 2016 21:30:41 -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 72797 invoked by uid 99); 18 Mar 2016 21:30:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2016 21:30:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 77DE2C0221 for ; Fri, 18 Mar 2016 21:30:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id MQ59-AiKnb8G for ; Fri, 18 Mar 2016 21:30:38 +0000 (UTC) Received: from mail-qg0-f44.google.com (mail-qg0-f44.google.com [209.85.192.44]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 62D175F23E for ; Fri, 18 Mar 2016 21:30:38 +0000 (UTC) Received: by mail-qg0-f44.google.com with SMTP id a36so79807816qge.0 for ; Fri, 18 Mar 2016 14:30:38 -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; bh=eBfbQ0BND8Cu2bW9yHN2pcavohmHDp1BCzGmHIOqDMo=; b=o3fkMy4vmUg8cH+dTbtf+viD8HMtZaCqHpN19iYvM5mnorRpyhkQcwlwsfimN5AZsP zNzt8PUxMaTLVMXTKLWAmQaVR0T/c7E9GFKXLI3w7AiFGZFAzx3se/M8/qSThAVkLUhu txjlWnVcWgvfrXWdZ9pD2oed5aNwqbKkLZG38N5+ARftgMCCx63WErKNB16VmMfQ6oXo wgf32SBoZsyG/fBCU1mhI4P/yfJD1RCMgzP0GKQzVL8PwPQcgMDrLVNCGEwL1vGL0ekj MQj3LRrCZLHfb6RO7CyMFuPIHxvoG160yUzW2zF5Cdi3QHKdCNvepe8kWynKpQdxylQH JAfw== 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:date :message-id:subject:from:to; bh=eBfbQ0BND8Cu2bW9yHN2pcavohmHDp1BCzGmHIOqDMo=; b=bOOZvNXNDb3/+yev1p1cM5gAQ89KdGmNExA7ypMwrwjOU5dud5ijVEbKu0DTNGAUYb HSqm1Jaa+xHA2j3ZmcvvjY7roXOMDJifVK3p76e27ABlz7Q5HD6k4rbTPNPZH144QDx9 BYWSNle/0YHtGVo19DQk6qtMWerjBaXSV2k2CFaUSHHVanIHdbUon3gPOSoIoGrpci9K mZijSF5PA9SydRFD8lGFhPqp/yTBI7eMSSh5aaT16+RY/EGHkHvg+DKOQbvzPesZ2398 y7k6R5gvbsv/igtj0u4DjsIf4jXFLFuo/1GdwS0gdHRFLb2VjUJNhubSEtJ9G0w/AFmg z9Zg== X-Gm-Message-State: AD7BkJLmrPcA4u7Rwn2QPYYJ/1GDHlyuRlnrn8oxrrx896fz6aWnRT5tOmfZhCtnxHSDnC3jI4OR9RpfFDaq8A== MIME-Version: 1.0 X-Received: by 10.140.32.100 with SMTP id g91mr25381637qgg.47.1458336637525; Fri, 18 Mar 2016 14:30:37 -0700 (PDT) Received: by 10.55.116.65 with HTTP; Fri, 18 Mar 2016 14:30:37 -0700 (PDT) In-Reply-To: References: Date: Fri, 18 Mar 2016 22:30:37 +0100 Message-ID: Subject: Re: Deprecate Java Implementation in HTTP Request before dropping it in N+2 version ? From: Philippe Mouawad To: "dev@jmeter.apache.org" Content-Type: multipart/alternative; boundary=001a113b38703e69a8052e597591 --001a113b38703e69a8052e597591 Content-Type: text/plain; charset=UTF-8 Hello, Any thoughts on this one ? Some additional reasons: - What is the RFC supported ? With HttpClient we support RFC2616, which one do we support with Java when we delegate Redirection management to it ? Thanks On Sun, Mar 6, 2016 at 12:30 PM, Antonio Gomes Rodrigues wrote: > Hi, > > I never have to use Java implementation > > If HC3 and Java implementation are deprecated it will be great to remove it > from GUI (and use only the propertie in jmeter.propertie) > > It will allow to: > Don't disturb new comers with this choice > Simplify the GUI > Don't disturb user who don't care before > Advanded user who have the need of it have still the choice (in the > propertie file) before the remove of the feature > > Antonio > > 2016-03-05 0:45 GMT+01:00 Philippe Mouawad : > > > Hello, > > What do you think of dropping Java Implementation in 3.1 version ? > > > > I see many issues in keeping it: > > > > - More work to maintain Http Request > > - Algorithm complexity to handle this additional implementation > > - The implementation is very limited compared to HC4 (it appears only > > GET/POST/PUT are supported in our implementation) > > - Features of HttpHC4Implementation are not supported, so it can be > > disturbing when you switch between implementation that you lose some > > feature: > > - It does not support the following methods: COPY, LOCK, MKCOL, > MOVE, > > PATCH, PROPFIND, PROPPATCH, UNLOCK, REPORT, MKCALENDAR. > > - It does not support Kerberos Auth > > - https.use.cached.ssl.context > > - There is no control over how connections are re-used. When a > > connection is released by JMeter, it may or may not be re-used > > by the same > > thread. > > - The API is best suited to single-threaded usage - various > settings > > are defined via system properties, and therefore apply to all > > connections. > > - There is a bug in the handling of HTTPS via a Proxy (the CONNECT > is > > not handled correctly). See Java bugs 6226610 and 6208335. > > - It does not support virtual hosts. > > - It does not support client based certificate testing with > Keystore > > Config. > > - Digest Auth > > > > In my experience there is only one case I see where it was useful > > ,sometimes recording fails and only Java Impl is able to record: > > > > - I think bug is https://bz.apache.org/bugzilla/show_bug.cgi?id=59101 > . > > > > > > So maybe we should deprecate it in 3.0 and ask users who are facing > issues > > with HC4 to report any problem. > > > > If nothing is reported we disable it in 3.1 (make it possible to enable > it > > by a property) and drop it in 3.2. > > Regards > > Philippe > > > -- Cordialement. Philippe Mouawad. --001a113b38703e69a8052e597591--