Authored by Rong

commit by shell

... ... @@ -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&#31471;&#28857;&#36827;&#25105;&#30340;&#26377;&#36135;&#24065;-&gt;&#26597;&#30475;&#26126;&#32454;</stringProp>
<stringProp name="TestPlan.comments">YOHO&#24065;&#24635;&#25968;&#65288;&#21487;&#38477;&#32423;&#65289;</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&#31471;&#28857;&#36827;&#25105;&#30340;&#26377;&#36135;&#24065;-&gt;&#26597;&#30475;&#26126;&#32454;</stringProp>
<stringProp name="TestPlan.comments">YOHO&#24065;&#24635;&#25968;&#65288;&#21487;&#38477;&#32423;&#65289;</stringProp>
</HTTPSamplerProxy>
<hashTree>
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true">
... ... @@ -273,7 +273,7 @@ int rd = new Random().nextInt(1);
String clientType = clientTypes[rd];
String privateKey = privateKeys[rd];
String req = &quot;app_version=5.8.1&amp;client_type=&quot;+clientType+&quot;&amp;fromPage=&amp;limit=10&amp;method=app.yohocoin.lists&amp;os_version=10.3.2&amp;page=1&amp;physical_channel=1&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=375x667&amp;session_key=49344417c98d88ebde01c91cc2de466a&amp;udid=ba027b82c0b747a57708b9264b298162531daf8f&amp;uid=&quot;+bsh.args[0]+&quot;&amp;v=7&quot;;
String req = &quot;app_version=5.8.1&amp;client_type=&quot;+clientType+&quot;&amp;method=app.yoho.yohocoin&amp;os_version=10.3.3&amp;physical_channel=2&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=375x667&amp;session_key=8cedffab3eb35478d58f460cf7d3d37e&amp;udid=0df4b99bc0a55e9630cfdb3ba8f82b6f73a6cedf&amp;uid=&quot;+bsh.args[0]+&quot;&amp;v=7&quot;;
MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;);
byte[] btInput = req.getBytes();
md.update(btInput);
... ...