Author: pmouawad
Date: Tue Nov 28 07:43:09 2017
New Revision: 1816520
URL: http://svn.apache.org/viewvc?rev=1816520&view=rev
Log:
Add connect/response timeouts to avoid too much failures due to target slow site
Modified:
jmeter/trunk/bin/testfiles/SlowCharsFeature.jmx
Modified: jmeter/trunk/bin/testfiles/SlowCharsFeature.jmx
URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/testfiles/SlowCharsFeature.jmx?rev=1816520&r1=1816519&r2=1816520&view=diff
==============================================================================
--- jmeter/trunk/bin/testfiles/SlowCharsFeature.jmx (original)
+++ jmeter/trunk/bin/testfiles/SlowCharsFeature.jmx Tue Nov 28 07:43:09 2017
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<jmeterTestPlan version="1.2" properties="3.2" jmeter="3.3-SNAPSHOT.20170705">
+<jmeterTestPlan version="1.2" properties="3.4" jmeter="4.0-SNAPSHOT.20171127">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
@@ -21,8 +21,8 @@
<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>
+ <stringProp name="HTTPSampler.connect_timeout">3000</stringProp>
+ <stringProp name="HTTPSampler.response_timeout">10000</stringProp>
</ConfigTestElement>
<hashTree/>
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header
Manager" enabled="true">
@@ -50,7 +50,7 @@
</SetupThreadGroup>
<hashTree>
<JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="JSR223
Sampler" enabled="true">
- <stringProp name="cacheKey">68419a77-41bf-452b-8745-b16c86eb3582</stringProp>
+ <stringProp name="cacheKey">true</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="script">import org.apache.jmeter.util.JMeterUtils;
@@ -150,7 +150,7 @@ SampleResult.setBytes(0);</stringProp>
</ResponseAssertion>
<hashTree/>
<JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSA-CheckResponseTimeHigherThan5s"
enabled="true">
- <stringProp name="cacheKey">d6b698eb-6fee-4c9f-a93e-9323476767fe</stringProp>
+ <stringProp name="cacheKey">true</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="script">if(SampleResult.getTime() < 5000) {
@@ -231,9 +231,5 @@ SampleResult.setBytes(0);</stringProp>
</ResultCollector>
<hashTree/>
</hashTree>
- <WorkBench guiclass="WorkBenchGui" testclass="WorkBench" testname="WorkBench" enabled="true">
- <boolProp name="WorkBench.save">true</boolProp>
- </WorkBench>
- <hashTree/>
</hashTree>
</jmeterTestPlan>
|