...
|
...
|
@@ -216,7 +216,7 @@ |
|
|
<stringProp name="shareMode">shareMode.all</stringProp>
|
|
|
</CSVDataSet>
|
|
|
<hashTree/>
|
|
|
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_app_yohocoin_lists" enabled="true">
|
|
|
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_app_yoho_yohocoin" enabled="true">
|
|
|
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
|
|
|
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true">
|
|
|
<boolProp name="LoopController.continue_forever">false</boolProp>
|
...
|
...
|
@@ -229,10 +229,10 @@ |
|
|
<boolProp name="ThreadGroup.scheduler">false</boolProp>
|
|
|
<stringProp name="ThreadGroup.duration"></stringProp>
|
|
|
<stringProp name="ThreadGroup.delay"></stringProp>
|
|
|
<stringProp name="TestPlan.comments">PC端点进我的有货币->查看明细</stringProp>
|
|
|
<stringProp name="TestPlan.comments">YOHO币总数(可降级)</stringProp>
|
|
|
</ThreadGroup>
|
|
|
<hashTree>
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_app_yohocoin_lists" enabled="true">
|
|
|
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_app_yoho_yohocoin" enabled="true">
|
|
|
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
|
|
|
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
|
|
|
<collectionProp name="Arguments.arguments">
|
...
|
...
|
@@ -257,7 +257,7 @@ |
|
|
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
|
|
|
<boolProp name="HTTPSampler.monitor">false</boolProp>
|
|
|
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
|
|
|
<stringProp name="TestPlan.comments">PC端点进我的有货币->查看明细</stringProp>
|
|
|
<stringProp name="TestPlan.comments">YOHO币总数(可降级)</stringProp>
|
|
|
</HTTPSamplerProxy>
|
|
|
<hashTree>
|
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
...
|
...
|
@@ -273,7 +273,7 @@ int rd = new Random().nextInt(1); |
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=&limit=10&method=app.yohocoin.lists&os_version=10.3.2&page=1&physical_channel=1&private_key="+privateKey+"&screen_size=375x667&session_key=49344417c98d88ebde01c91cc2de466a&udid=ba027b82c0b747a57708b9264b298162531daf8f&uid="+bsh.args[0]+"&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&method=app.yoho.yohocoin&os_version=10.3.3&physical_channel=2&private_key="+privateKey+"&screen_size=375x667&session_key=8cedffab3eb35478d58f460cf7d3d37e&udid=0df4b99bc0a55e9630cfdb3ba8f82b6f73a6cedf&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
|