Jmeter test
This commit is contained in:
@@ -32,8 +32,6 @@
|
||||
</elementProp>
|
||||
</collectionProp>
|
||||
</elementProp>
|
||||
<boolProp name="TestPlan.functional_mode">false</boolProp>
|
||||
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
|
||||
</TestPlan>
|
||||
<hashTree>
|
||||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="JWT Authentication" enabled="false">
|
||||
@@ -95,8 +93,8 @@
|
||||
<hashTree/>
|
||||
</hashTree>
|
||||
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="API Tests">
|
||||
<intProp name="ThreadGroup.num_threads">1</intProp>
|
||||
<intProp name="ThreadGroup.ramp_time">10</intProp>
|
||||
<intProp name="ThreadGroup.num_threads">2</intProp>
|
||||
<intProp name="ThreadGroup.ramp_time">5</intProp>
|
||||
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
|
||||
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
||||
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller">
|
||||
@@ -105,6 +103,26 @@
|
||||
</elementProp>
|
||||
</ThreadGroup>
|
||||
<hashTree>
|
||||
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="Local Machine Defined Variables" enabled="false">
|
||||
<collectionProp name="Arguments.arguments">
|
||||
<elementProp name="BASE_URL" elementType="Argument">
|
||||
<stringProp name="Argument.name">BASE_URL</stringProp>
|
||||
<stringProp name="Argument.value">localhost</stringProp>
|
||||
<stringProp name="Argument.metadata">=</stringProp>
|
||||
</elementProp>
|
||||
<elementProp name="PORT" elementType="Argument">
|
||||
<stringProp name="Argument.name">PORT</stringProp>
|
||||
<stringProp name="Argument.value">4500</stringProp>
|
||||
<stringProp name="Argument.metadata">=</stringProp>
|
||||
</elementProp>
|
||||
<elementProp name="PROTO" elementType="Argument">
|
||||
<stringProp name="Argument.name">PROTO</stringProp>
|
||||
<stringProp name="Argument.value">http</stringProp>
|
||||
<stringProp name="Argument.metadata">=</stringProp>
|
||||
</elementProp>
|
||||
</collectionProp>
|
||||
</Arguments>
|
||||
<hashTree/>
|
||||
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="Local User Defined Variables" enabled="false">
|
||||
<collectionProp name="Arguments.arguments">
|
||||
<elementProp name="BASE_URL" elementType="Argument">
|
||||
@@ -169,7 +187,7 @@
|
||||
</collectionProp>
|
||||
</HeaderManager>
|
||||
<hashTree/>
|
||||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="EligibilityCheck" enabled="true">
|
||||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="EligibilityCheck">
|
||||
<stringProp name="TestPlan.comments">EligibilityCheck</stringProp>
|
||||
<stringProp name="HTTPSampler.domain">${BASE_URL}</stringProp>
|
||||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||||
@@ -188,8 +206,8 @@
|
||||
"countryCode": "NGR",
|
||||
"customerId": "${CustomerId}",
|
||||
"accountId": "${AccountID}",
|
||||
"msisdn": "801${__Random(1000000,9999999)}",
|
||||
"channel": "100"
|
||||
"msisdn": "234801${__Random(1000000,9999999)}",
|
||||
"channel": "USSD"
|
||||
}
|
||||
</stringProp>
|
||||
<stringProp name="Argument.metadata">=</stringProp>
|
||||
@@ -198,14 +216,14 @@
|
||||
</elementProp>
|
||||
</HTTPSamplerProxy>
|
||||
<hashTree>
|
||||
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract Transaction ID" enabled="true">
|
||||
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract Transaction ID">
|
||||
<stringProp name="JSONPostProcessor.referenceNames">transactionId</stringProp>
|
||||
<stringProp name="JSONPostProcessor.jsonPathExprs">$.transactionId</stringProp>
|
||||
<stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
|
||||
<stringProp name="JSONPostProcessor.defaultValues">NO_TRANSACTION_ID</stringProp>
|
||||
</JSONPostProcessor>
|
||||
<hashTree/>
|
||||
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract Customer ID" enabled="true">
|
||||
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract Customer ID">
|
||||
<stringProp name="JSONPostProcessor.referenceNames">customerId</stringProp>
|
||||
<stringProp name="JSONPostProcessor.jsonPathExprs">$.customerId</stringProp>
|
||||
<stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
|
||||
@@ -233,25 +251,25 @@
|
||||
<stringProp name="JSONPostProcessor.defaultValues">NGR</stringProp>
|
||||
</JSONPostProcessor>
|
||||
<hashTree/>
|
||||
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract Offer ID" enabled="true">
|
||||
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract Offer ID">
|
||||
<stringProp name="JSONPostProcessor.referenceNames">offerId</stringProp>
|
||||
<stringProp name="JSONPostProcessor.jsonPathExprs">$.eligibleOffers[1].offerId</stringProp>
|
||||
<stringProp name="JSONPostProcessor.jsonPathExprs">$.eligibleOffers[0].offerId</stringProp>
|
||||
<stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
|
||||
<stringProp name="JSONPostProcessor.defaultValues">101</stringProp>
|
||||
</JSONPostProcessor>
|
||||
<hashTree/>
|
||||
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract Product ID" enabled="true">
|
||||
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract Product ID">
|
||||
<stringProp name="JSONPostProcessor.referenceNames">productId</stringProp>
|
||||
<stringProp name="JSONPostProcessor.jsonPathExprs">$.eligibleOffers[1].productId</stringProp>
|
||||
<stringProp name="JSONPostProcessor.jsonPathExprs">$.eligibleOffers[0].product_id</stringProp>
|
||||
<stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
|
||||
<stringProp name="JSONPostProcessor.defaultValues">2030</stringProp>
|
||||
<stringProp name="JSONPostProcessor.defaultValues">AMPC</stringProp>
|
||||
</JSONPostProcessor>
|
||||
<hashTree/>
|
||||
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract Max Amount" enabled="true">
|
||||
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="Extract Max Amount">
|
||||
<stringProp name="JSONPostProcessor.referenceNames">maxAmount</stringProp>
|
||||
<stringProp name="JSONPostProcessor.jsonPathExprs">$.eligibleOffers[0].maxAmount</stringProp>
|
||||
<stringProp name="JSONPostProcessor.match_numbers">1</stringProp>
|
||||
<stringProp name="JSONPostProcessor.defaultValues">5000</stringProp>
|
||||
<stringProp name="JSONPostProcessor.defaultValues">6600</stringProp>
|
||||
</JSONPostProcessor>
|
||||
<hashTree/>
|
||||
<JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion - Result Code" enabled="true">
|
||||
@@ -264,11 +282,11 @@
|
||||
</JSONPathAssertion>
|
||||
<hashTree/>
|
||||
<ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Constant Timer" enabled="true">
|
||||
<stringProp name="ConstantTimer.delay">10000</stringProp>
|
||||
<stringProp name="ConstantTimer.delay">1000</stringProp>
|
||||
</ConstantTimer>
|
||||
<hashTree/>
|
||||
</hashTree>
|
||||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SelectOffer" enabled="true">
|
||||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SelectOffer">
|
||||
<stringProp name="HTTPSampler.domain">${BASE_URL}</stringProp>
|
||||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||||
<stringProp name="HTTPSampler.protocol">${PROTO}</stringProp>
|
||||
@@ -290,7 +308,7 @@
|
||||
"requestedAmount": "${maxAmount}",
|
||||
"productId": "${productId}",
|
||||
"offerId": "${offerId}",
|
||||
"channel": "100"
|
||||
"channel": "USSD"
|
||||
}</stringProp>
|
||||
<stringProp name="Argument.metadata">=</stringProp>
|
||||
</elementProp>
|
||||
@@ -359,7 +377,7 @@
|
||||
"requestedAmount": "${requestedAmount}",
|
||||
"collectionType": 0,
|
||||
"offerId": "${offerId}",
|
||||
"channel": "100"
|
||||
"channel": "USSD"
|
||||
}</stringProp>
|
||||
<stringProp name="Argument.metadata">=</stringProp>
|
||||
</elementProp>
|
||||
@@ -391,7 +409,7 @@
|
||||
</ConstantTimer>
|
||||
<hashTree/>
|
||||
</hashTree>
|
||||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="LoanStatus" enabled="true">
|
||||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="LoanStatus" enabled="false">
|
||||
<stringProp name="HTTPSampler.domain">${BASE_URL}</stringProp>
|
||||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||||
<stringProp name="HTTPSampler.protocol">${PROTO}</stringProp>
|
||||
@@ -449,7 +467,7 @@
|
||||
</JSONPostProcessor>
|
||||
<hashTree/>
|
||||
</hashTree>
|
||||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Repayment" enabled="true">
|
||||
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Repayment" enabled="false">
|
||||
<stringProp name="HTTPSampler.domain">${BASE_URL}</stringProp>
|
||||
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
|
||||
<stringProp name="HTTPSampler.protocol">${PROTO}</stringProp>
|
||||
@@ -497,7 +515,7 @@
|
||||
</ResponseAssertion>
|
||||
<hashTree/>
|
||||
</hashTree>
|
||||
<CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="Sample Test Account CSV" enabled="true">
|
||||
<CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="Sample Test Account CSV">
|
||||
<stringProp name="delimiter">,</stringProp>
|
||||
<stringProp name="fileEncoding"></stringProp>
|
||||
<stringProp name="filename">sample_account.csv</stringProp>
|
||||
@@ -510,7 +528,7 @@
|
||||
</CSVDataSet>
|
||||
<hashTree/>
|
||||
</hashTree>
|
||||
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
|
||||
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree">
|
||||
<boolProp name="ResultCollector.error_logging">false</boolProp>
|
||||
<objProp>
|
||||
<name>saveConfig</name>
|
||||
@@ -547,7 +565,7 @@
|
||||
<stringProp name="filename"></stringProp>
|
||||
</ResultCollector>
|
||||
<hashTree/>
|
||||
<ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
|
||||
<ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report">
|
||||
<boolProp name="ResultCollector.error_logging">false</boolProp>
|
||||
<objProp>
|
||||
<name>saveConfig</name>
|
||||
|
||||
@@ -1,4 +1,61 @@
|
||||
CustomerId,AccountID
|
||||
CID0000034073,ACC2169670011
|
||||
CID0000034074,ACC1755079012
|
||||
CID0000034075,ACC2167582015
|
||||
CID0000034076,ACC2054076010
|
||||
CID0000034078,ACC2004539013
|
||||
CID0000034080,ACC2181856013
|
||||
CID0000034081,ACC0955799023
|
||||
CID0000034082,ACC2100883010
|
||||
CID0000034083,ACC1995830019
|
||||
CID0000034084,ACC2215293014
|
||||
CID0000034085,ACC1258232017
|
||||
CID0000034086,ACC1201871012
|
||||
CID0000034088,ACC1562752010
|
||||
CID0000034089,ACC1966200016
|
||||
CID0000034090,ACC1866764018
|
||||
CID0000034091,ACC1798049010
|
||||
CID0000034093,ACC1429044014
|
||||
CID0000034094,ACC2058750013
|
||||
CID0000034095,ACC1528947018
|
||||
CID0000034097,ACC1719881017
|
||||
CID0000034098,ACC0840074011
|
||||
CID0000034099,ACC2262789018
|
||||
CID0000034100,ACC1586178010
|
||||
CID0000034101,ACC0944669018
|
||||
CID0000034102,ACC2152519013
|
||||
CID0000034103,ACC2073736010
|
||||
CID0000034106,ACC2072082019
|
||||
CID0000034107,ACC2083597010
|
||||
CID0000034109,ACC1914065018
|
||||
CID0000034110,ACC1103166027
|
||||
CID0000034111,ACC0764343028
|
||||
CID0000034113,ACC1954916015
|
||||
CID0000034114,ACC1991030017
|
||||
CID0000034115,ACC1916205016
|
||||
CID0000034116,ACC1689272015
|
||||
CID0000034117,ACC1978490016
|
||||
CID0000034118,ACC1058685019
|
||||
CID0000034119,ACC1988128011
|
||||
CID0000034121,ACC2011744017
|
||||
CID0000034122,ACC1409741010
|
||||
CID0000034124,ACC2156655014
|
||||
CID0000034125,ACC1932856012
|
||||
CID0000034126,ACC0971428017
|
||||
CID0000034127,ACC1289951013
|
||||
CID0000034128,ACC1990674014
|
||||
CID0000034130,ACC1257741015
|
||||
CID0000034131,ACC1528288012
|
||||
CID0000034132,ACC0850332015
|
||||
CID0000034133,ACC1340809013
|
||||
CID0000034134,ACC1608589017
|
||||
CID0000034135,ACC1084279011
|
||||
CID0000034136,ACC1205777019
|
||||
CID0000034139,ACC1641395019
|
||||
CID0000034140,ACC2139761013
|
||||
CID0000034141,ACC1292729010
|
||||
CID0000034142,ACC0885497011
|
||||
CID0000034143,ACC2142259015
|
||||
CID0000025524,ACC1277958011
|
||||
CID0000025585,ACC1623724015
|
||||
CID0000025751,ACC1914421014
|
||||
@@ -42724,63 +42781,6 @@ CID0000034068,ACC1875437019
|
||||
CID0000034069,ACC2125408016
|
||||
CID0000034071,ACC0996506011
|
||||
CID0000034072,ACC1134277015
|
||||
CID0000034073,ACC2169670011
|
||||
CID0000034074,ACC1755079012
|
||||
CID0000034075,ACC2167582015
|
||||
CID0000034076,ACC2054076010
|
||||
CID0000034078,ACC2004539013
|
||||
CID0000034080,ACC2181856013
|
||||
CID0000034081,ACC0955799023
|
||||
CID0000034082,ACC2100883010
|
||||
CID0000034083,ACC1995830019
|
||||
CID0000034084,ACC2215293014
|
||||
CID0000034085,ACC1258232017
|
||||
CID0000034086,ACC1201871012
|
||||
CID0000034088,ACC1562752010
|
||||
CID0000034089,ACC1966200016
|
||||
CID0000034090,ACC1866764018
|
||||
CID0000034091,ACC1798049010
|
||||
CID0000034093,ACC1429044014
|
||||
CID0000034094,ACC2058750013
|
||||
CID0000034095,ACC1528947018
|
||||
CID0000034097,ACC1719881017
|
||||
CID0000034098,ACC0840074011
|
||||
CID0000034099,ACC2262789018
|
||||
CID0000034100,ACC1586178010
|
||||
CID0000034101,ACC0944669018
|
||||
CID0000034102,ACC2152519013
|
||||
CID0000034103,ACC2073736010
|
||||
CID0000034106,ACC2072082019
|
||||
CID0000034107,ACC2083597010
|
||||
CID0000034109,ACC1914065018
|
||||
CID0000034110,ACC1103166027
|
||||
CID0000034111,ACC0764343028
|
||||
CID0000034113,ACC1954916015
|
||||
CID0000034114,ACC1991030017
|
||||
CID0000034115,ACC1916205016
|
||||
CID0000034116,ACC1689272015
|
||||
CID0000034117,ACC1978490016
|
||||
CID0000034118,ACC1058685019
|
||||
CID0000034119,ACC1988128011
|
||||
CID0000034121,ACC2011744017
|
||||
CID0000034122,ACC1409741010
|
||||
CID0000034124,ACC2156655014
|
||||
CID0000034125,ACC1932856012
|
||||
CID0000034126,ACC0971428017
|
||||
CID0000034127,ACC1289951013
|
||||
CID0000034128,ACC1990674014
|
||||
CID0000034130,ACC1257741015
|
||||
CID0000034131,ACC1528288012
|
||||
CID0000034132,ACC0850332015
|
||||
CID0000034133,ACC1340809013
|
||||
CID0000034134,ACC1608589017
|
||||
CID0000034135,ACC1084279011
|
||||
CID0000034136,ACC1205777019
|
||||
CID0000034139,ACC1641395019
|
||||
CID0000034140,ACC2139761013
|
||||
CID0000034141,ACC1292729010
|
||||
CID0000034142,ACC0885497011
|
||||
CID0000034143,ACC2142259015
|
||||
CID0000034144,ACC0903590018
|
||||
CID0000034145,ACC1231259017
|
||||
CID0000034147,ACC2253671012
|
||||
|
||||
|
Can't render this file because it is too large.
|
Reference in New Issue
Block a user