This commit is contained in:
2021-10-25 16:32:55 +00:00
parent 605facf3bd
commit 8821b1f701
4 changed files with 21 additions and 3 deletions

1
load/jmeterui.bat Normal file
View File

@@ -0,0 +1 @@
jmeter/bin/jmeter.bat

16
load/notes.txt Normal file
View File

@@ -0,0 +1,16 @@
Goals
1) DEV READINESS: Find fail points that prevent release and need adjusting
2) MARKETING / HOSTING: Find out what kind of specific load (number of simultaneous users) a droplet can handle
What are the bottlenecks specifically?
Find out what categories of users can fit into which sized hardware
i.e. a small shop with 10 users can infinitely use the tiniest droplet??
Does database size matter when it comes to load? (not specifically reporting on huge numbers of records for example, just normal sane operation)
todo: make sure it's simulating realistically, i.e. how users would really work with it as much as possible
todo: add parameters for max of each object or read data and auto know, create objects, generate report,filterid
todo: remove anything redundant, best to test each area of server, not every single route
simpler is better for load testing, this isn't a completeness or acceptance test method leave that to cypress e2e
todo: generate reports in load test
todo: create records in load test
avoid inventory affecting for the moment, too complex to test, just a customer or something simple for now

1
load/runtest.bat Normal file
View File

@@ -0,0 +1 @@
./jmeter/bin/jmeter.bat -n -t stressdevops.jmx -l ./results/results.jtl -e -o ./results

View File

@@ -285,7 +285,7 @@
<hashTree/>
</hashTree>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Login and test threadgroup" enabled="true">
<stringProp name="ThreadGroup.on_sample_error">stoptestnow</stringProp>
<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>
<intProp name="LoopController.loops">-1</intProp>
@@ -15282,7 +15282,7 @@
<stringProp name="filename"></stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="SimpleDataWriter" testclass="ResultCollector" testname="Simple Data Writer" enabled="true">
<ResultCollector guiclass="SimpleDataWriter" testclass="ResultCollector" testname="Simple Data Writer" enabled="false">
<boolProp name="ResultCollector.error_logging">false</boolProp>
<objProp>
<name>saveConfig</name>
@@ -15316,7 +15316,7 @@
<connectTime>true</connectTime>
</value>
</objProp>
<stringProp name="filename">C:\data\code\raven-test\load\lastrun</stringProp>
<stringProp name="filename">C:\data\code\raven-test\load\stress-last-run.csv</stringProp>
</ResultCollector>
<hashTree/>
</hashTree>