Author: pmouawad
Date: Mon May 1 13:53:11 2017
New Revision: 1793337
URL: http://svn.apache.org/viewvc?rev=1793337&view=rev
Log:
Bug 61056 - HTTP : Support brotli decoding
Add Test
Bugzilla Id: 61056
Added:
jmeter/trunk/bin/testfiles/ResponseDecompression.csv
jmeter/trunk/bin/testfiles/ResponseDecompression.jmx (with props)
jmeter/trunk/bin/testfiles/ResponseDecompression.xml (with props)
Modified:
jmeter/trunk/build.xml
Added: jmeter/trunk/bin/testfiles/ResponseDecompression.csv
URL:
http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/ResponseDecompression.csv?rev=1793337&view=auto
==============================================================================
--- jmeter/trunk/bin/testfiles/ResponseDecompression.csv (added)
+++ jmeter/trunk/bin/testfiles/ResponseDecompression.csv Mon May 1 13:53:11
2017
@@ -0,0 +1,6 @@
+HR1-GZIP;200;OK;Thread Group 1-1;text;true
+HR2-GZIP;200;OK;Thread Group 1-1;text;true
+HR1-DEFLATE;200;OK;Thread Group 1-1;text;true
+HR2-DEFLATE;200;OK;Thread Group 1-1;text;true
+HR-BROTLI;200;OK;Thread Group 1-1;text;true
+HR-NoCompression;200;OK;Thread Group 1-1;text;true
Added: jmeter/trunk/bin/testfiles/ResponseDecompression.jmx
URL:
http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/ResponseDecompression.jmx?rev=1793337&view=auto
==============================================================================
--- jmeter/trunk/bin/testfiles/ResponseDecompression.jmx (added)
+++ jmeter/trunk/bin/testfiles/ResponseDecompression.jmx Mon May 1 13:53:11
2017
@@ -0,0 +1,387 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jmeterTestPlan version="1.2" properties="3.2" jmeter="3.3-SNAPSHOT.20170501">
+ <hashTree>
+ <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan"
enabled="true">
+ <stringProp name="TestPlan.comments"></stringProp>
+ <boolProp name="TestPlan.functional_mode">false</boolProp>
+ <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
+ <elementProp name="TestPlan.user_defined_variables"
elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments"
testname="User Defined Variables" enabled="true">
+ <collectionProp name="Arguments.arguments"/>
+ </elementProp>
+ <stringProp name="TestPlan.user_define_classpath"></stringProp>
+ </TestPlan>
+ <hashTree>
+ <ConfigTestElement guiclass="HttpDefaultsGui"
testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
+ <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">jmeter.apache.org</stringProp>
+ <stringProp name="HTTPSampler.port"></stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path"></stringProp>
+ <stringProp name="HTTPSampler.concurrentPool">6</stringProp>
+ <stringProp name="HTTPSampler.connect_timeout"></stringProp>
+ <stringProp name="HTTPSampler.response_timeout"></stringProp>
+ </ConfigTestElement>
+ <hashTree/>
+ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager"
testname="HTTP Header Manager" enabled="true">
+ <collectionProp name="HeaderManager.headers">
+ <elementProp name="User-Agent" elementType="Header">
+ <stringProp name="Header.name">User-Agent</stringProp>
+ <stringProp name="Header.value">Mozilla/5.0 (Macintosh; Intel Mac
OS X 10.11; rv:52.0) Gecko/20100101 Firefox/52.0</stringProp>
+ </elementProp>
+ <elementProp name="Accept" elementType="Header">
+ <stringProp name="Header.name">Accept</stringProp>
+ <stringProp
name="Header.value">text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</stringProp>
+ </elementProp>
+ <elementProp name="Accept-Language" elementType="Header">
+ <stringProp name="Header.name">Accept-Language</stringProp>
+ <stringProp name="Header.value"> en-US,en;q=0.5</stringProp>
+ </elementProp>
+ <elementProp name="Cache-Control" elementType="Header">
+ <stringProp name="Header.name">Cache-Control</stringProp>
+ <stringProp name="Header.value">max-age=0</stringProp>
+ </elementProp>
+ </collectionProp>
+ </HeaderManager>
+ <hashTree/>
+ <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup"
testname="Thread Group" enabled="true">
+ <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
+ <elementProp name="ThreadGroup.main_controller"
elementType="LoopController" guiclass="LoopControlPanel"
testclass="LoopController" testname="Loop Controller" enabled="true">
+ <boolProp name="LoopController.continue_forever">false</boolProp>
+ <stringProp name="LoopController.loops">1</stringProp>
+ </elementProp>
+ <stringProp name="ThreadGroup.num_threads">1</stringProp>
+ <stringProp name="ThreadGroup.ramp_time">1</stringProp>
+ <longProp name="ThreadGroup.start_time">1493581595000</longProp>
+ <longProp name="ThreadGroup.end_time">1493581595000</longProp>
+ <boolProp name="ThreadGroup.scheduler">false</boolProp>
+ <stringProp name="ThreadGroup.duration"></stringProp>
+ <stringProp name="ThreadGroup.delay"></stringProp>
+ </ThreadGroup>
+ <hashTree>
+ <GenericController guiclass="LogicControllerGui"
testclass="GenericController" testname="SC_GZIP" enabled="true"/>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui"
testclass="ResponseAssertion" testname="RA_gzip" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="256417959">Content-Encoding: gzip</stringProp>
+ <stringProp name="465119335">content-encoding: gzip</stringProp>
+ </collectionProp>
+ <stringProp
name="Assertion.test_field">Assertion.response_headers</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">48</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager"
testname="HTTP_HM_GZIP" enabled="true">
+ <collectionProp name="HeaderManager.headers">
+ <elementProp name="" elementType="Header">
+ <stringProp name="Header.name">Accept-Encoding</stringProp>
+ <stringProp name="Header.value">gzip</stringProp>
+ </elementProp>
+ </collectionProp>
+ </HeaderManager>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui"
testclass="HTTPSamplerProxy" testname="HR1-GZIP" enabled="true">
+ <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">www.google.com</stringProp>
+ <stringProp name="HTTPSampler.port"></stringProp>
+ <stringProp name="HTTPSampler.protocol"></stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/</stringProp>
+ <stringProp name="HTTPSampler.method">GET</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">true</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>
+ <ResponseAssertion guiclass="AssertionGui"
testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-2082082985">// Google Inc.</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/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui"
testclass="HTTPSamplerProxy" testname="HR2-GZIP" enabled="true">
+ <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">/</stringProp>
+ <stringProp name="HTTPSampler.method">GET</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">true</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>
+ <ResponseAssertion guiclass="AssertionGui"
testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-2112255206">Apache Software
Foundation</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/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui"
testclass="GenericController" testname="SC_DEFLATE" enabled="true"/>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui"
testclass="ResponseAssertion" testname="RA_deflate" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-770951746">Content-Encoding:
deflate</stringProp>
+ <stringProp name="1834063358">content-encoding:
deflate</stringProp>
+ </collectionProp>
+ <stringProp
name="Assertion.test_field">Assertion.response_headers</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">48</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager"
testname="HTTP_HM_DEFLATE" enabled="true">
+ <collectionProp name="HeaderManager.headers">
+ <elementProp name="" elementType="Header">
+ <stringProp name="Header.name">Accept-Encoding</stringProp>
+ <stringProp name="Header.value">deflate</stringProp>
+ </elementProp>
+ </collectionProp>
+ </HeaderManager>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui"
testclass="HTTPSamplerProxy" testname="HR1-DEFLATE" enabled="true">
+ <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">twitter.com</stringProp>
+ <stringProp name="HTTPSampler.port"></stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/</stringProp>
+ <stringProp name="HTTPSampler.method">GET</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">true</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>
+ <ResponseAssertion guiclass="AssertionGui"
testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="748307027">Twitter</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/>
+ </hashTree>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui"
testclass="HTTPSamplerProxy" testname="HR2-DEFLATE" enabled="true">
+ <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">www.bing.com</stringProp>
+ <stringProp name="HTTPSampler.port"></stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/</stringProp>
+ <stringProp name="HTTPSampler.method">GET</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">true</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>
+ <ResponseAssertion guiclass="AssertionGui"
testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-94228242">microsoft</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/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui"
testclass="GenericController" testname="SC_BROTLI" enabled="true"/>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui"
testclass="ResponseAssertion" testname="RA_brotli" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-2024312099">Content-Encoding: br</stringProp>
+ <stringProp name="1908861597">content-encoding: br</stringProp>
+ </collectionProp>
+ <stringProp
name="Assertion.test_field">Assertion.response_headers</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">48</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager"
testname="HTTP_HM_BROTLI" enabled="true">
+ <collectionProp name="HeaderManager.headers">
+ <elementProp name="" elementType="Header">
+ <stringProp name="Header.name">Accept-Encoding</stringProp>
+ <stringProp name="Header.value">br</stringProp>
+ </elementProp>
+ </collectionProp>
+ </HeaderManager>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui"
testclass="HTTPSamplerProxy" testname="HR-BROTLI" enabled="true">
+ <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">tools.keycdn.com</stringProp>
+ <stringProp name="HTTPSampler.port"></stringProp>
+ <stringProp name="HTTPSampler.protocol">https</stringProp>
+ <stringProp name="HTTPSampler.contentEncoding"></stringProp>
+ <stringProp name="HTTPSampler.path">/</stringProp>
+ <stringProp name="HTTPSampler.method">GET</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">true</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>
+ <ResponseAssertion guiclass="AssertionGui"
testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="1940719543"><title>KeyCDN - Free Web
Tools</title></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/>
+ </hashTree>
+ </hashTree>
+ <GenericController guiclass="LogicControllerGui"
testclass="GenericController" testname="SC_NoCompression" enabled="true"/>
+ <hashTree>
+ <ResponseAssertion guiclass="AssertionGui"
testclass="ResponseAssertion" testname="RA_no_compression" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-2024312099">Content-Encoding: br</stringProp>
+ <stringProp name="256417959">Content-Encoding: gzip</stringProp>
+ <stringProp name="-770951746">Content-Encoding:
deflate</stringProp>
+ </collectionProp>
+ <stringProp
name="Assertion.test_field">Assertion.response_headers</stringProp>
+ <boolProp name="Assertion.assume_success">false</boolProp>
+ <intProp name="Assertion.test_type">52</intProp>
+ </ResponseAssertion>
+ <hashTree/>
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui"
testclass="HTTPSamplerProxy" testname="HR-NoCompression" enabled="true">
+ <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">/</stringProp>
+ <stringProp name="HTTPSampler.method">GET</stringProp>
+ <boolProp name="HTTPSampler.follow_redirects">true</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>
+ <ResponseAssertion guiclass="AssertionGui"
testclass="ResponseAssertion" testname="RA" enabled="true">
+ <collectionProp name="Asserion.test_strings">
+ <stringProp name="-2112255206">Apache Software
Foundation</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/>
+ </hashTree>
+ </hashTree>
+ </hashTree>
+ <ResultCollector guiclass="ViewResultsFullVisualizer"
testclass="ResultCollector" testname="View Results Tree" enabled="true">
+ <boolProp name="ResultCollector.error_logging">false</boolProp>
+ <objProp>
+ <name>saveConfig</name>
+ <value class="SampleSaveConfiguration">
+ <time>false</time>
+ <latency>false</latency>
+ <timestamp>false</timestamp>
+ <success>true</success>
+ <label>true</label>
+ <code>true</code>
+ <message>true</message>
+ <threadName>true</threadName>
+ <dataType>true</dataType>
+ <encoding>false</encoding>
+ <assertions>false</assertions>
+ <subresults>false</subresults>
+ <responseData>false</responseData>
+ <samplerData>false</samplerData>
+ <xml>false</xml>
+ <fieldNames>false</fieldNames>
+ <responseHeaders>false</responseHeaders>
+ <requestHeaders>false</requestHeaders>
+ <responseDataOnError>false</responseDataOnError>
+
<saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
+ <assertionsResultsToSave>0</assertionsResultsToSave>
+ </value>
+ </objProp>
+ <stringProp name="filename">ResponseDecompression.csv</stringProp>
+ </ResultCollector>
+ <hashTree/>
+ <ResultCollector guiclass="SimpleDataWriter" testclass="ResultCollector"
testname="Simple Data Writer" enabled="true">
+ <boolProp name="ResultCollector.error_logging">false</boolProp>
+ <objProp>
+ <name>saveConfig</name>
+ <value class="SampleSaveConfiguration">
+ <time>false</time>
+ <latency>false</latency>
+ <timestamp>false</timestamp>
+ <success>true</success>
+ <label>true</label>
+ <code>true</code>
+ <message>true</message>
+ <threadName>false</threadName>
+ <dataType>true</dataType>
+ <encoding>false</encoding>
+ <assertions>true</assertions>
+ <subresults>true</subresults>
+ <responseData>false</responseData>
+ <samplerData>false</samplerData>
+ <xml>true</xml>
+ <fieldNames>false</fieldNames>
+ <responseHeaders>false</responseHeaders>
+ <requestHeaders>false</requestHeaders>
+ <responseDataOnError>false</responseDataOnError>
+
<saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
+ <assertionsResultsToSave>0</assertionsResultsToSave>
+ </value>
+ </objProp>
+ <stringProp name="filename">ResponseDecompression.xml</stringProp>
+ </ResultCollector>
+ <hashTree/>
+ </hashTree>
+ <WorkBench guiclass="WorkBenchGui" testclass="WorkBench"
testname="WorkBench" enabled="true">
+ <boolProp name="WorkBench.save">true</boolProp>
+ </WorkBench>
+ <hashTree/>
+ </hashTree>
+</jmeterTestPlan>
Propchange: jmeter/trunk/bin/testfiles/ResponseDecompression.jmx
------------------------------------------------------------------------------
svn:eol-style = LF
Added: jmeter/trunk/bin/testfiles/ResponseDecompression.xml
URL:
http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/ResponseDecompression.xml?rev=1793337&view=auto
==============================================================================
--- jmeter/trunk/bin/testfiles/ResponseDecompression.xml (added)
+++ jmeter/trunk/bin/testfiles/ResponseDecompression.xml Mon May 1 13:53:11
2017
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<testResults version="1.2">
+<httpSample s="true" lb="HR1-GZIP" rc="200" rm="OK" dt="text">
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_gzip</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <httpSample s="true" lb="https://www.google.com/" rc="302" rm="Found"
dt="text"/>
+ <httpSample s="true"
lb="https://www.google.fr/?gfe_rd=cr&ei=2zwHWZSTE9aAaOuGkOgB" rc="200"
rm="OK" dt="text"/>
+</httpSample>
+<httpSample s="true" lb="HR2-GZIP" rc="200" rm="OK" dt="text">
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_gzip</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR1-DEFLATE" rc="200" rm="OK" dt="text">
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_deflate</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR2-DEFLATE" rc="200" rm="OK" dt="text">
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_deflate</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR-BROTLI" rc="200" rm="OK" dt="text">
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_brotli</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+<httpSample s="true" lb="HR-NoCompression" rc="200" rm="OK" dt="text">
+ <assertionResult>
+ <name>RA</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+ <assertionResult>
+ <name>RA_no_compression</name>
+ <failure>false</failure>
+ <error>false</error>
+ </assertionResult>
+</httpSample>
+
+</testResults>
Propchange: jmeter/trunk/bin/testfiles/ResponseDecompression.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: jmeter/trunk/bin/testfiles/ResponseDecompression.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: jmeter/trunk/build.xml
URL:
http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1793337&r1=1793336&r2=1793337&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Mon May 1 13:53:11 2017
@@ -123,6 +123,7 @@
<property name="skip.batchtest_Http4ImplPreemptiveBasicAuth" value="false" />
<property name="skip.batchtest_SlowCharsFeature" value="false" />
<property name="skip.batchtest_TestKeepAlive" value="false" />
+ <property name="skip.batchtest_ResponseDecompression" value="false" />
<property name="skip.test_https" value="true" />
<property name="skip.test_http" value="false" />
<property
name="skip.test_TestDNSCacheManager.testWithCustomResolverAnd1Server"
value="false" />
@@ -2761,6 +2762,12 @@ run JMeter unless all the JMeter jars ar
<param name="batchtest.jmx" value="TestKeepAlive.jmx"/>
<param name="skip.batchtest" value="${skip.batchtest_TestKeepAlive}" />
</antcall>
+
+ <antcall target="batchtest">
+ <param name="batchtest.name" value="ResponseDecompression"/>
+ <param name="batchtest.jmx" value="ResponseDecompression.jmx"/>
+ <param name="skip.batchtest"
value="${skip.batchtest_ResponseDecompression}" />
+ </antcall>
<antcall target="batchtest">
<param name="batchtest.name" value="TestHeaderManager"/>