From commits-return-8807-apmail-jmeter-commits-archive=jmeter.apache.org@jmeter.apache.org Thu Apr 5 20:41:32 2018 Return-Path: X-Original-To: apmail-jmeter-commits-archive@minotaur.apache.org Delivered-To: apmail-jmeter-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E715218E13 for ; Thu, 5 Apr 2018 20:41:31 +0000 (UTC) Received: (qmail 34120 invoked by uid 500); 5 Apr 2018 20:41:31 -0000 Delivered-To: apmail-jmeter-commits-archive@jmeter.apache.org Received: (qmail 34092 invoked by uid 500); 5 Apr 2018 20:41:31 -0000 Mailing-List: contact commits-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 commits@jmeter.apache.org Received: (qmail 34083 invoked by uid 99); 5 Apr 2018 20:41:31 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2018 20:41:31 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id E64CB3A0057 for ; Thu, 5 Apr 2018 20:41:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1828477 - in /jmeter/trunk/bin/testfiles: TEST_HTTP.jmx TEST_HTTP_HttpClient4.xml TEST_HTTP_Java.xml Date: Thu, 05 Apr 2018 20:41:30 -0000 To: commits@jmeter.apache.org From: pmouawad@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20180405204130.E64CB3A0057@svn01-us-west.apache.org> Author: pmouawad Date: Thu Apr 5 20:41:30 2018 New Revision: 1828477 URL: http://svn.apache.org/viewvc?rev=1828477&view=rev Log: [Bug 60190] Content-Type is added for POST unconditionally Fix test failure in Java Bugzilla Id: 60190 Modified: jmeter/trunk/bin/testfiles/TEST_HTTP.jmx jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.xml jmeter/trunk/bin/testfiles/TEST_HTTP_Java.xml Modified: jmeter/trunk/bin/testfiles/TEST_HTTP.jmx URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TEST_HTTP.jmx?rev=1828477&r1=1828476&r2=1828477&view=diff ============================================================================== --- jmeter/trunk/bin/testfiles/TEST_HTTP.jmx (original) +++ jmeter/trunk/bin/testfiles/TEST_HTTP.jmx Thu Apr 5 20:41:30 2018 @@ -776,7 +776,6 @@ mirrorServer.start(); POST /test?name0=value0 HTTP/1.1 Connection: keep-alive Accept-Encoding: gzip - Content-Type: application/x-www-form-urlencoded Content-Length: 12 Host: localhost:8081 User-Agent: @@ -978,12 +977,20 @@ if(prev.getSamplerData().indexOf(textToC + + request_headers + contentType + Content-Type: (.*) + $1$ + nv_contentType + 1 + + POST /test?name0=value0 HTTP/1.1 Connection: keep-alive Accept-Encoding: gzip - Content-Type: text/plain Content-Length: 14 Host: localhost:8081 User-Agent: @@ -995,6 +1002,19 @@ if(prev.getSamplerData().indexOf(textToC + + + nv_contentType + text/plain + + Assertion.response_data + false + 40 + + variable + contentType + + Modified: jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.xml URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.xml?rev=1828477&r1=1828476&r2=1828477&view=diff ============================================================================== --- jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.xml (original) +++ jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.xml Thu Apr 5 20:41:30 2018 @@ -185,6 +185,11 @@ false false + + Response Assertion + false + false + Modified: jmeter/trunk/bin/testfiles/TEST_HTTP_Java.xml URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TEST_HTTP_Java.xml?rev=1828477&r1=1828476&r2=1828477&view=diff ============================================================================== --- jmeter/trunk/bin/testfiles/TEST_HTTP_Java.xml (original) +++ jmeter/trunk/bin/testfiles/TEST_HTTP_Java.xml Thu Apr 5 20:41:30 2018 @@ -161,6 +161,11 @@ false false + + Response Assertion + false + false +