mirror of https://github.com/abpframework/abp
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							206 lines
						
					
					
						
							12 KiB
						
					
					
				
			
		
		
	
	
							206 lines
						
					
					
						
							12 KiB
						
					
					
				| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.1">
 | |
|   <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.tearDown_on_shutdown">true</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>
 | |
|       <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">40</stringProp>
 | |
|         </elementProp>
 | |
|         <stringProp name="ThreadGroup.num_threads">2000</stringProp>
 | |
|         <stringProp name="ThreadGroup.ramp_time">20</stringProp>
 | |
|         <boolProp name="ThreadGroup.scheduler">false</boolProp>
 | |
|         <stringProp name="ThreadGroup.duration"></stringProp>
 | |
|         <stringProp name="ThreadGroup.delay"></stringProp>
 | |
|         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
 | |
|       </ThreadGroup>
 | |
|       <hashTree>
 | |
|         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create a book" 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">{
 | |
| 	"name": "${__RandomString(5, abcdefghijklmnopqrstuvwxyz)}",
 | |
| 	"price": ${__Random(1,999)},
 | |
| 	"isAvailable": true
 | |
| }
 | |
| </stringProp>
 | |
|                 <stringProp name="Argument.metadata">=</stringProp>
 | |
|               </elementProp>
 | |
|             </collectionProp>
 | |
|           </elementProp>
 | |
|           <stringProp name="HTTPSampler.domain">localhost</stringProp>
 | |
|           <stringProp name="HTTPSampler.port">5003</stringProp>
 | |
|           <stringProp name="HTTPSampler.protocol">https</stringProp>
 | |
|           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
 | |
|           <stringProp name="HTTPSampler.path">/api/books/</stringProp>
 | |
|           <stringProp name="HTTPSampler.method">POST</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>
 | |
|           <JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Get book id" enabled="true">
 | |
|             <stringProp name="JSONPostProcessor.referenceNames">BookId</stringProp>
 | |
|             <stringProp name="JSONPostProcessor.jsonPathExprs">$</stringProp>
 | |
|             <stringProp name="JSONPostProcessor.match_numbers"></stringProp>
 | |
|             <stringProp name="Scope.variable"></stringProp>
 | |
|           </JSONPostProcessor>
 | |
|           <hashTree/>
 | |
|         </hashTree>
 | |
|         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get book by id" enabled="true">
 | |
|           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true">
 | |
|             <collectionProp name="Arguments.arguments"/>
 | |
|           </elementProp>
 | |
|           <stringProp name="HTTPSampler.domain">localhost</stringProp>
 | |
|           <stringProp name="HTTPSampler.port">5003</stringProp>
 | |
|           <stringProp name="HTTPSampler.protocol">https</stringProp>
 | |
|           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
 | |
|           <stringProp name="HTTPSampler.path">api/books/${BookId}</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/>
 | |
|         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Update a book" 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">{
 | |
| 	"name": "${__RandomString(5, abcdefghijklmnopqrstuvwxyz)}",
 | |
| 	"price": ${__Random(1,999)},
 | |
| 	"isAvailable": true
 | |
| }
 | |
| </stringProp>
 | |
|                 <stringProp name="Argument.metadata">=</stringProp>
 | |
|               </elementProp>
 | |
|             </collectionProp>
 | |
|           </elementProp>
 | |
|           <stringProp name="HTTPSampler.domain">localhost</stringProp>
 | |
|           <stringProp name="HTTPSampler.port">5003</stringProp>
 | |
|           <stringProp name="HTTPSampler.protocol">https</stringProp>
 | |
|           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
 | |
|           <stringProp name="HTTPSampler.path">/api/books/${BookId}</stringProp>
 | |
|           <stringProp name="HTTPSampler.method">PUT</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/>
 | |
|         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get books" enabled="true">
 | |
|           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true">
 | |
|             <collectionProp name="Arguments.arguments"/>
 | |
|           </elementProp>
 | |
|           <stringProp name="HTTPSampler.domain">localhost</stringProp>
 | |
|           <stringProp name="HTTPSampler.port">5003</stringProp>
 | |
|           <stringProp name="HTTPSampler.protocol">https</stringProp>
 | |
|           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
 | |
|           <stringProp name="HTTPSampler.path">/api/books</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/>
 | |
|         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete a book" enabled="true">
 | |
|           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true">
 | |
|             <collectionProp name="Arguments.arguments"/>
 | |
|           </elementProp>
 | |
|           <stringProp name="HTTPSampler.domain">localhost</stringProp>
 | |
|           <stringProp name="HTTPSampler.port">5003</stringProp>
 | |
|           <stringProp name="HTTPSampler.protocol">https</stringProp>
 | |
|           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
 | |
|           <stringProp name="HTTPSampler.path">/api/books/${BookId}</stringProp>
 | |
|           <stringProp name="HTTPSampler.method">DELETE</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/>
 | |
|       </hashTree>
 | |
|       <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
 | |
|         <boolProp name="ResultCollector.error_logging">false</boolProp>
 | |
|         <objProp>
 | |
|           <name>saveConfig</name>
 | |
|           <value class="SampleSaveConfiguration">
 | |
|             <time>true</time>
 | |
|             <latency>true</latency>
 | |
|             <timestamp>true</timestamp>
 | |
|             <success>true</success>
 | |
|             <label>true</label>
 | |
|             <code>true</code>
 | |
|             <message>true</message>
 | |
|             <threadName>true</threadName>
 | |
|             <dataType>true</dataType>
 | |
|             <encoding>false</encoding>
 | |
|             <assertions>true</assertions>
 | |
|             <subresults>true</subresults>
 | |
|             <responseData>false</responseData>
 | |
|             <samplerData>false</samplerData>
 | |
|             <xml>false</xml>
 | |
|             <fieldNames>true</fieldNames>
 | |
|             <responseHeaders>false</responseHeaders>
 | |
|             <requestHeaders>false</requestHeaders>
 | |
|             <responseDataOnError>false</responseDataOnError>
 | |
|             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
 | |
|             <assertionsResultsToSave>0</assertionsResultsToSave>
 | |
|             <bytes>true</bytes>
 | |
|             <sentBytes>true</sentBytes>
 | |
|             <url>true</url>
 | |
|             <threadCounts>true</threadCounts>
 | |
|             <idleTime>true</idleTime>
 | |
|             <connectTime>true</connectTime>
 | |
|           </value>
 | |
|         </objProp>
 | |
|         <stringProp name="filename"></stringProp>
 | |
|       </ResultCollector>
 | |
|       <hashTree/>
 | |
|       <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>
 | |
|             <stringProp name="Header.value">application/json</stringProp>
 | |
|           </elementProp>
 | |
|         </collectionProp>
 | |
|       </HeaderManager>
 | |
|       <hashTree/>
 | |
|     </hashTree>
 | |
|   </hashTree>
 | |
| </jmeterTestPlan>
 |