You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/02/27 23:20:21 UTC
svn commit: r1784667 - in /jmeter/trunk/bin/testfiles: TEST_HTTP.jmx
TEST_HTTP_HttpClient4.csv TEST_HTTP_HttpClient4.xml TEST_HTTP_Java.csv
TEST_HTTP_Java.xml
Author: pmouawad
Date: Mon Feb 27 23:20:21 2017
New Revision: 1784667
URL: http://svn.apache.org/viewvc?rev=1784667&view=rev
Log:
Enrich Test
Modified:
jmeter/trunk/bin/testfiles/TEST_HTTP.jmx
jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.csv
jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.xml
jmeter/trunk/bin/testfiles/TEST_HTTP_Java.csv
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=1784667&r1=1784666&r2=1784667&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/TEST_HTTP.jmx (original)
+++ jmeter/trunk/bin/testfiles/TEST_HTTP.jmx Mon Feb 27 23:20:21 2017
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<jmeterTestPlan version="1.2" properties="3.2" jmeter="3.2-SNAPSHOT.20170226">
+<jmeterTestPlan version="1.2" properties="3.2" jmeter="3.2-SNAPSHOT.20170228">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
@@ -949,6 +949,467 @@ mirrorServer.start();</stringProp>
</ResponseAssertion>
<hashTree/>
</hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HR-POST_MULTIPART_WITH_FILE" enabled="true">
+ <elementProp name="HTTPsampler.Files" elementType="HTTPFileArgs">
+ <collectionProp name="HTTPFileArgs.files">
+ <elementProp name="user.properties" elementType="HTTPFileArg">
+ <stringProp name="File.path">user.properties</stringProp>
+ <stringProp name="File.paramname"></stringProp>
+ <stringProp name="File.mimetype">text/plain</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
+ <collectionProp name="Arguments.arguments"/>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain"></stringProp>
+ <stringProp name="HTTPSampler.port"></stringProp>
+ <stringProp name="HTTPSampler.protocol"></stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/test?name0=value0</stringProp>
+ <stringProp name="HTTPSampler.method">POST</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
+ <collectionProp name="HeaderManager.headers">
+ <elementProp name="Accept-Encoding" elementType="Header">
+ <stringProp name="Header.name">Accept-Encoding</stringProp>
+ <stringProp name="Header.value">gzip</stringProp>
+ </elementProp>
+ </collectionProp>
+ </HeaderManager>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_not_present" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1722553038">Content-Type: multipart/form-data; boundary=</stringProp>
+ <stringProp name="-1500123463">Content-Disposition: form-data; name="fileName"; filename="user.properties"</stringProp>
+ <stringProp name="1533831720">Content-Transfer-Encoding: binary</stringProp>
+ <stringProp name="-1150149293">boundary=</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">20</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_response_contains" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1439390532">Sample user.properties file</stringProp>
+ <stringProp name="2117109222">Host: localhost:8081</stringProp>
+ <stringProp name="-1351522793">User-Agent:</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="894172713">Connection: keep-alive</stringProp>
+ <stringProp name="-1680100360">Accept-Encoding: gzip</stringProp>
+ <stringProp name="-1752268452">Content-Type: text/plain</stringProp>
+ <stringProp name="1542131616">Content-Length: </stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.request_headers</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HR-POST_MULTIPART_WITH_FILE_AND_CONTENTTYPE" enabled="true">
+ <elementProp name="HTTPsampler.Files" elementType="HTTPFileArgs">
+ <collectionProp name="HTTPFileArgs.files">
+ <elementProp name="user.properties" elementType="HTTPFileArg">
+ <stringProp name="File.path">user.properties</stringProp>
+ <stringProp name="File.paramname"></stringProp>
+ <stringProp name="File.mimetype">text/plain</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
+ <collectionProp name="Arguments.arguments"/>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain"></stringProp>
+ <stringProp name="HTTPSampler.port"></stringProp>
+ <stringProp name="HTTPSampler.protocol"></stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/test?name0=value0</stringProp>
+ <stringProp name="HTTPSampler.method">POST</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
+ <collectionProp name="HeaderManager.headers">
+ <elementProp name="Accept-Encoding" elementType="Header">
+ <stringProp name="Header.name">Accept-Encoding</stringProp>
+ <stringProp name="Header.value">gzip</stringProp>
+ </elementProp>
+ <elementProp name="" elementType="Header">
+ <stringProp name="Header.name">Content-Type</stringProp>
+ <stringProp name="Header.value">text/plain</stringProp>
+ </elementProp>
+ </collectionProp>
+ </HeaderManager>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_not_present" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1722553038">Content-Type: multipart/form-data; boundary=</stringProp>
+ <stringProp name="-1500123463">Content-Disposition: form-data; name="fileName"; filename="user.properties"</stringProp>
+ <stringProp name="1533831720">Content-Transfer-Encoding: binary</stringProp>
+ <stringProp name="-1150149293">boundary=</stringProp>
+ <stringProp name="-1014315474">PUT http://localhost:8081/test?name0=value0</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">20</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_response_contains" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1439390532">Sample user.properties file</stringProp>
+ <stringProp name="-1351522793">User-Agent:</stringProp>
+ <stringProp name="2117109222">Host: localhost:8081</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="894172713">Connection: keep-alive</stringProp>
+ <stringProp name="-1680100360">Accept-Encoding: gzip</stringProp>
+ <stringProp name="-1752268452">Content-Type: text/plain</stringProp>
+ <stringProp name="1542131616">Content-Length: </stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.request_headers</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HR-PUT_MULTIPART_WITH_FILE_AND_CONTENTTYPE" enabled="true">
+ <elementProp name="HTTPsampler.Files" elementType="HTTPFileArgs">
+ <collectionProp name="HTTPFileArgs.files">
+ <elementProp name="user.properties" elementType="HTTPFileArg">
+ <stringProp name="File.path">user.properties</stringProp>
+ <stringProp name="File.paramname"></stringProp>
+ <stringProp name="File.mimetype">text/plain</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
+ <collectionProp name="Arguments.arguments"/>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain"></stringProp>
+ <stringProp name="HTTPSampler.port"></stringProp>
+ <stringProp name="HTTPSampler.protocol"></stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/test?name0=value0</stringProp>
+ <stringProp name="HTTPSampler.method">PUT</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
+ <collectionProp name="HeaderManager.headers">
+ <elementProp name="Accept-Encoding" elementType="Header">
+ <stringProp name="Header.name">Accept-Encoding</stringProp>
+ <stringProp name="Header.value">gzip</stringProp>
+ </elementProp>
+ <elementProp name="" elementType="Header">
+ <stringProp name="Header.name">Content-Type</stringProp>
+ <stringProp name="Header.value">text/plain</stringProp>
+ </elementProp>
+ </collectionProp>
+ </HeaderManager>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_not_present" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1722553038">Content-Type: multipart/form-data; boundary=</stringProp>
+ <stringProp name="-1500123463">Content-Disposition: form-data; name="fileName"; filename="user.properties"</stringProp>
+ <stringProp name="1533831720">Content-Transfer-Encoding: binary</stringProp>
+ <stringProp name="-1150149293">boundary=</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">20</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_response_contains" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1439390532">Sample user.properties file</stringProp>
+ <stringProp name="1737626343">PUT /test?name0=value0 HTTP/1.1</stringProp>
+ <stringProp name="2117109222">Host: localhost:8081</stringProp>
+ <stringProp name="-1351522793">User-Agent:</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="894172713">Connection: keep-alive</stringProp>
+ <stringProp name="-1680100360">Accept-Encoding: gzip</stringProp>
+ <stringProp name="-1752268452">Content-Type: text/plain</stringProp>
+ <stringProp name="1542131616">Content-Length: </stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.request_headers</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HR-PUT_WITH_BODY" enabled="true">
+ <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
+ <collectionProp name="Arguments.arguments">
+ <elementProp name="" elementType="HTTPArgument">
+ <boolProp name="HTTPArgument.always_encode">false</boolProp>
+ <stringProp name="Argument.value">Body of Put</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain"></stringProp>
+ <stringProp name="HTTPSampler.port"></stringProp>
+ <stringProp name="HTTPSampler.protocol"></stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/test?name0=value0</stringProp>
+ <stringProp name="HTTPSampler.method">PUT</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
+ <collectionProp name="HeaderManager.headers">
+ <elementProp name="Accept-Encoding" elementType="Header">
+ <stringProp name="Header.name">Accept-Encoding</stringProp>
+ <stringProp name="Header.value">gzip</stringProp>
+ </elementProp>
+ <elementProp name="" elementType="Header">
+ <stringProp name="Header.name">Content-Type</stringProp>
+ <stringProp name="Header.value">text/plain</stringProp>
+ </elementProp>
+ </collectionProp>
+ </HeaderManager>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_not_present" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1722553038">Content-Type: multipart/form-data; boundary=</stringProp>
+ <stringProp name="-1500123463">Content-Disposition: form-data; name="fileName"; filename="user.properties"</stringProp>
+ <stringProp name="1533831720">Content-Transfer-Encoding: binary</stringProp>
+ <stringProp name="-1150149293">boundary=</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">20</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_response_contains" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="1737626343">PUT /test?name0=value0 HTTP/1.1</stringProp>
+ <stringProp name="-1294586556">Body of Put</stringProp>
+ <stringProp name="-1351522793">User-Agent:</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="894172713">Connection: keep-alive</stringProp>
+ <stringProp name="-1680100360">Accept-Encoding: gzip</stringProp>
+ <stringProp name="-1752268452">Content-Type: text/plain</stringProp>
+ <stringProp name="1542131616">Content-Length: </stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.request_headers</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If_java_impl" enabled="true">
+ <stringProp name="IfController.condition">${__jexl3("${__P(jmeter.httpsampler,)}" == "Java",)}</stringProp>
+ <boolProp name="IfController.evaluateAll">false</boolProp>
+ <boolProp name="IfController.useExpression">true</boolProp>
+ </IfController>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HR-PUT_WITH_PARAMETERS" enabled="true">
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
+ <collectionProp name="Arguments.arguments">
+ <elementProp name="name1" elementType="HTTPArgument">
+ <boolProp name="HTTPArgument.always_encode">false</boolProp>
+ <stringProp name="Argument.value">value1</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ <boolProp name="HTTPArgument.use_equals">true</boolProp>
+ <stringProp name="Argument.name">name1</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain"></stringProp>
+ <stringProp name="HTTPSampler.port"></stringProp>
+ <stringProp name="HTTPSampler.protocol"></stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/test?name0=value0</stringProp>
+ <stringProp name="HTTPSampler.method">PUT</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
+ <collectionProp name="HeaderManager.headers">
+ <elementProp name="Accept-Encoding" elementType="Header">
+ <stringProp name="Header.name">Accept-Encoding</stringProp>
+ <stringProp name="Header.value">gzip</stringProp>
+ </elementProp>
+ </collectionProp>
+ </HeaderManager>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_not_present" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1722553038">Content-Type: multipart/form-data; boundary=</stringProp>
+ <stringProp name="-1500123463">Content-Disposition: form-data; name="fileName"; filename="user.properties"</stringProp>
+ <stringProp name="1533831720">Content-Transfer-Encoding: binary</stringProp>
+ <stringProp name="-1150149293">boundary=</stringProp>
+ <stringProp name="-1752268452">Content-Type: text/plain</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">20</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_response_contains" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="1737626343">PUT /test?name0=value0 HTTP/1.1</stringProp>
+ <stringProp name="2117109222">Host: localhost:8081</stringProp>
+ <stringProp name="-1351522793">User-Agent:</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="894172713">Connection: keep-alive</stringProp>
+ <stringProp name="-1680100360">Accept-Encoding: gzip</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.request_headers</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
+ <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If_not_java_impl" enabled="true">
+ <stringProp name="IfController.condition">${__jexl3("${__P(jmeter.httpsampler,)}" != "Java",)}</stringProp>
+ <boolProp name="IfController.evaluateAll">false</boolProp>
+ <boolProp name="IfController.useExpression">true</boolProp>
+ </IfController>
+ <hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="HR-PUT_WITH_PARAMETERS" enabled="true">
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
+ <collectionProp name="Arguments.arguments">
+ <elementProp name="name1" elementType="HTTPArgument">
+ <boolProp name="HTTPArgument.always_encode">false</boolProp>
+ <stringProp name="Argument.value">value1</stringProp>
+ <stringProp name="Argument.metadata">=</stringProp>
+ <boolProp name="HTTPArgument.use_equals">true</boolProp>
+ <stringProp name="Argument.name">name1</stringProp>
+ </elementProp>
+ </collectionProp>
+ </elementProp>
+ <stringProp name="HTTPSampler.domain"></stringProp>
+ <stringProp name="HTTPSampler.port"></stringProp>
+ <stringProp name="HTTPSampler.protocol"></stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/test?name0=value0</stringProp>
+ <stringProp name="HTTPSampler.method">PUT</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
+ <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
+ </HTTPSamplerProxy>
+ <hashTree>
+ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
+ <collectionProp name="HeaderManager.headers">
+ <elementProp name="Accept-Encoding" elementType="Header">
+ <stringProp name="Header.name">Accept-Encoding</stringProp>
+ <stringProp name="Header.value">gzip</stringProp>
+ </elementProp>
+ </collectionProp>
+ </HeaderManager>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_not_present" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-1722553038">Content-Type: multipart/form-data; boundary=</stringProp>
+ <stringProp name="-1500123463">Content-Disposition: form-data; name="fileName"; filename="user.properties"</stringProp>
+ <stringProp name="1533831720">Content-Transfer-Encoding: binary</stringProp>
+ <stringProp name="-1150149293">boundary=</stringProp>
+ <stringProp name="-1752268452">Content-Type: text/plain</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">20</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA_response_contains" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="1737626343">PUT /test?name0=value0 HTTP/1.1</stringProp>
+ <stringProp name="2117109222">Host: localhost:8081</stringProp>
+ <stringProp name="-1351522793">User-Agent:</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="894172713">Connection: keep-alive</stringProp>
+ <stringProp name="-1680100360">Accept-Encoding: gzip</stringProp>
+ <stringProp name="561439888">Content-Length: 0</stringProp>
+ </collectionProp>
+ <stringProp name="Assertion.test_field">Assertion.request_headers</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">16</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ </hashTree>
+ </hashTree>
</hashTree>
<PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
<stringProp name="ThreadGroup.on_sample_error">stoptest</stringProp>
Modified: jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.csv
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.csv?rev=1784667&r1=1784666&r2=1784667&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.csv (original)
+++ jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.csv Mon Feb 27 23:20:21 2017
@@ -13,4 +13,9 @@ HR-POST_WITH_PARAMETERS,200,TG_TEST_POST
HR-POST_WITH_PARAMETERS_MULTIPART,200,TG_TEST_POST 4-1,text,true
HR-POST_WITH_BODY,200,TG_TEST_POST 4-1,text,true
HR-POST_WITH_FILE,200,TG_TEST_POST 4-1,text,true
+HR-POST_MULTIPART_WITH_FILE,200,TG_TEST_POST 4-1,text,true
+HR-POST_MULTIPART_WITH_FILE_AND_CONTENTTYPE,200,TG_TEST_POST 4-1,text,true
+HR-PUT_MULTIPART_WITH_FILE_AND_CONTENTTYPE,200,TG_TEST_POST 4-1,text,true
+HR-PUT_WITH_BODY,200,TG_TEST_POST 4-1,text,true
+HR-PUT_WITH_PARAMETERS,200,TG_TEST_POST 4-1,text,true
JSS_stopMirror,200,tearDown Thread Group 1-1,text,true
Modified: jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.xml?rev=1784667&r1=1784666&r2=1784667&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.xml (original)
+++ jmeter/trunk/bin/testfiles/TEST_HTTP_HttpClient4.xml Mon Feb 27 23:20:21 2017
@@ -181,6 +181,91 @@
<error>false</error>
</assertionResult>
</httpSample>
+<httpSample s="true" lb="HR-POST_MULTIPART_WITH_FILE" rc="200" dt="text">
+ <assertionResult>
+ <name>RA_not_present</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_response_contains</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR-POST_MULTIPART_WITH_FILE_AND_CONTENTTYPE" rc="200" dt="text">
+ <assertionResult>
+ <name>RA_not_present</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_response_contains</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR-PUT_MULTIPART_WITH_FILE_AND_CONTENTTYPE" rc="200" dt="text">
+ <assertionResult>
+ <name>RA_not_present</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_response_contains</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR-PUT_WITH_BODY" rc="200" dt="text">
+ <assertionResult>
+ <name>RA_not_present</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_response_contains</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR-PUT_WITH_PARAMETERS" rc="200" dt="text">
+ <assertionResult>
+ <name>RA_not_present</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_response_contains</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
<sample s="true" lb="JSS_stopMirror" rc="200" dt="text"/>
</testResults>
Modified: jmeter/trunk/bin/testfiles/TEST_HTTP_Java.csv
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TEST_HTTP_Java.csv?rev=1784667&r1=1784666&r2=1784667&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/TEST_HTTP_Java.csv (original)
+++ jmeter/trunk/bin/testfiles/TEST_HTTP_Java.csv Mon Feb 27 23:20:21 2017
@@ -11,4 +11,9 @@ HR-POST_WITH_PARAMETERS,200,TG_TEST_POST
HR-POST_WITH_PARAMETERS_MULTIPART,200,TG_TEST_POST 4-1,text,true
HR-POST_WITH_BODY,200,TG_TEST_POST 4-1,text,true
HR-POST_WITH_FILE,200,TG_TEST_POST 4-1,text,true
+HR-POST_MULTIPART_WITH_FILE,200,TG_TEST_POST 4-1,text,true
+HR-POST_MULTIPART_WITH_FILE_AND_CONTENTTYPE,200,TG_TEST_POST 4-1,text,true
+HR-PUT_MULTIPART_WITH_FILE_AND_CONTENTTYPE,200,TG_TEST_POST 4-1,text,true
+HR-PUT_WITH_BODY,200,TG_TEST_POST 4-1,text,true
+HR-PUT_WITH_PARAMETERS,200,TG_TEST_POST 4-1,text,true
JSS_stopMirror,200,tearDown Thread Group 1-1,text,true
Modified: jmeter/trunk/bin/testfiles/TEST_HTTP_Java.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/TEST_HTTP_Java.xml?rev=1784667&r1=1784666&r2=1784667&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/TEST_HTTP_Java.xml (original)
+++ jmeter/trunk/bin/testfiles/TEST_HTTP_Java.xml Mon Feb 27 23:20:21 2017
@@ -157,6 +157,91 @@
<error>false</error>
</assertionResult>
</httpSample>
+<httpSample s="true" lb="HR-POST_MULTIPART_WITH_FILE" rc="200" dt="text">
+ <assertionResult>
+ <name>RA_not_present</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_response_contains</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR-POST_MULTIPART_WITH_FILE_AND_CONTENTTYPE" rc="200" dt="text">
+ <assertionResult>
+ <name>RA_not_present</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_response_contains</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR-PUT_MULTIPART_WITH_FILE_AND_CONTENTTYPE" rc="200" dt="text">
+ <assertionResult>
+ <name>RA_not_present</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_response_contains</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR-PUT_WITH_BODY" rc="200" dt="text">
+ <assertionResult>
+ <name>RA_not_present</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_response_contains</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR-PUT_WITH_PARAMETERS" rc="200" dt="text">
+ <assertionResult>
+ <name>RA_not_present</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_response_contains</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
<sample s="true" lb="JSS_stopMirror" rc="200" dt="text"/>
</testResults>