Skip to content

Commit

Permalink
fix: response timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
rorlic committed Mar 29, 2024
1 parent 2132cb7 commit e4b7e44
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
3 changes: 2 additions & 1 deletion load-testing/server/ingest.speed.01T.jmx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<hashTree>
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults">
<intProp name="HTTPSampler.connect_timeout">3000</intProp>
<intProp name="HTTPSampler.response_timeout">1000</intProp>
<intProp name="HTTPSampler.response_timeout">3000</intProp>
<stringProp name="HTTPSampler.domain">${hostname}</stringProp>
<stringProp name="HTTPSampler.port">${port}</stringProp>
<stringProp name="HTTPSampler.contentEncoding">utf8</stringProp>
Expand Down Expand Up @@ -231,6 +231,7 @@
</PostThreadGroup>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Tear Down - Delete LDES">
<intProp name="HTTPSampler.response_timeout">15000</intProp>
<stringProp name="HTTPSampler.path">/admin/api/v1/eventstreams/observations</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">DELETE</stringProp>
Expand Down
3 changes: 2 additions & 1 deletion load-testing/server/ingest.speed.02T.jmx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<hashTree>
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults">
<intProp name="HTTPSampler.connect_timeout">3000</intProp>
<intProp name="HTTPSampler.response_timeout">1000</intProp>
<intProp name="HTTPSampler.response_timeout">3000</intProp>
<stringProp name="HTTPSampler.domain">${hostname}</stringProp>
<stringProp name="HTTPSampler.port">${port}</stringProp>
<stringProp name="HTTPSampler.contentEncoding">utf8</stringProp>
Expand Down Expand Up @@ -231,6 +231,7 @@
</PostThreadGroup>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Tear Down - Delete LDES">
<intProp name="HTTPSampler.response_timeout">15000</intProp>
<stringProp name="HTTPSampler.path">/admin/api/v1/eventstreams/observations</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">DELETE</stringProp>
Expand Down
21 changes: 12 additions & 9 deletions load-testing/server/ingest.speed.04T.jmx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
</TestPlan>
<hashTree>
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="Variables">
Expand Down Expand Up @@ -53,7 +55,7 @@
</collectionProp>
</Arguments>
<hashTree/>
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults">
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
<intProp name="HTTPSampler.connect_timeout">3000</intProp>
<intProp name="HTTPSampler.response_timeout">5000</intProp>
<stringProp name="HTTPSampler.domain">${hostname}</stringProp>
Expand All @@ -65,7 +67,7 @@
<stringProp name="HTTPSampler.implementation">HttpClient4</stringProp>
</ConfigTestElement>
<hashTree/>
<SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="Setup">
<SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="Setup" enabled="true">
<intProp name="ThreadGroup.num_threads">1</intProp>
<intProp name="ThreadGroup.ramp_time">1</intProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
Expand All @@ -76,7 +78,7 @@
</elementProp>
</SetupThreadGroup>
<hashTree>
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager">
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
<collectionProp name="HeaderManager.headers">
<elementProp name="" elementType="Header">
<stringProp name="Header.name">Content-Type</stringProp>
Expand All @@ -85,7 +87,7 @@
</collectionProp>
</HeaderManager>
<hashTree/>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Setup - Create LDES">
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Setup - Create LDES" enabled="true">
<stringProp name="HTTPSampler.path">/admin/api/v1/eventstreams</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
Expand All @@ -102,7 +104,7 @@
</elementProp>
</HTTPSamplerProxy>
<hashTree/>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Setup - Create by-page View">
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Setup - Create by-page View" enabled="true">
<stringProp name="HTTPSampler.path">/admin/api/v1/eventstreams/observations/views</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
Expand Down Expand Up @@ -135,7 +137,7 @@
<hashTree>
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults">
<intProp name="HTTPSampler.connect_timeout">3000</intProp>
<intProp name="HTTPSampler.response_timeout">1000</intProp>
<intProp name="HTTPSampler.response_timeout">3000</intProp>
<stringProp name="HTTPSampler.domain">${hostname}</stringProp>
<stringProp name="HTTPSampler.port">${port}</stringProp>
<stringProp name="HTTPSampler.contentEncoding">utf8</stringProp>
Expand All @@ -154,7 +156,7 @@
</collectionProp>
</HeaderManager>
<hashTree/>
<CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter">
<CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="Counter" enabled="true">
<stringProp name="CounterConfig.start">1</stringProp>
<stringProp name="CounterConfig.end"></stringProp>
<stringProp name="CounterConfig.incr">1</stringProp>
Expand All @@ -163,7 +165,7 @@
<boolProp name="CounterConfig.per_user">false</boolProp>
</CounterConfig>
<hashTree/>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Test - Send ${total_count} members (${threads}T)">
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Test - Send ${total_count} members (${threads}T)" enabled="true">
<intProp name="HTTPSampler.concurrentPool">6</intProp>
<stringProp name="HTTPSampler.path">/observations</stringProp>
<stringProp name="HTTPSampler.method">POST</stringProp>
Expand Down Expand Up @@ -219,7 +221,7 @@
<hashTree/>
</hashTree>
</hashTree>
<PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="Tear Down">
<PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="Tear Down" enabled="true">
<intProp name="ThreadGroup.num_threads">1</intProp>
<intProp name="ThreadGroup.ramp_time">1</intProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
Expand All @@ -231,6 +233,7 @@
</PostThreadGroup>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Tear Down - Delete LDES">
<intProp name="HTTPSampler.response_timeout">15000</intProp>
<stringProp name="HTTPSampler.path">/admin/api/v1/eventstreams/observations</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">DELETE</stringProp>
Expand Down
3 changes: 2 additions & 1 deletion load-testing/server/ingest.speed.08T.jmx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<hashTree>
<ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
<intProp name="HTTPSampler.connect_timeout">3000</intProp>
<intProp name="HTTPSampler.response_timeout">1000</intProp>
<intProp name="HTTPSampler.response_timeout">3000</intProp>
<stringProp name="HTTPSampler.domain">${hostname}</stringProp>
<stringProp name="HTTPSampler.port">${port}</stringProp>
<stringProp name="HTTPSampler.contentEncoding">utf8</stringProp>
Expand Down Expand Up @@ -233,6 +233,7 @@
</PostThreadGroup>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Tear Down - Delete LDES" enabled="true">
<intProp name="HTTPSampler.response_timeout">15000</intProp>
<stringProp name="HTTPSampler.path">/admin/api/v1/eventstreams/observations</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">DELETE</stringProp>
Expand Down

0 comments on commit e4b7e44

Please sign in to comment.