Authored by Rong

commit by shell

... ... @@ -204,7 +204,7 @@
<stringProp name="shareMode">shareMode.all</stringProp>
</CSVDataSet>
<hashTree/>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_app_sort_fromBigData" enabled="true">
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_app_Shopping_count" 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>
... ... @@ -217,10 +217,10 @@
<boolProp name="ThreadGroup.scheduler">false</boolProp>
<stringProp name="ThreadGroup.duration"></stringProp>
<stringProp name="ThreadGroup.delay"></stringProp>
<stringProp name="TestPlan.comments">&#20998;&#31867;&#21015;&#34920;&#22823;&#25968;&#25454;</stringProp>
<stringProp name="TestPlan.comments">&#36141;&#29289;&#36710;&#25968;&#37327;</stringProp>
</ThreadGroup>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_app_sort_fromBigData" enabled="true">
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_app_Shopping_count" enabled="true">
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
<collectionProp name="Arguments.arguments">
... ... @@ -245,7 +245,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">&#20998;&#31867;&#21015;&#34920;&#22823;&#25968;&#25454;</stringProp>
<stringProp name="TestPlan.comments">&#36141;&#29289;&#36710;&#25968;&#37327;</stringProp>
</HTTPSamplerProxy>
<hashTree>
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true">
... ... @@ -260,7 +260,7 @@ String[] privateKeys = {&quot;fd4ad5fcfa0de589ef238c0e7331b585&quot;};
int rd = new Random().nextInt(1);
String clientType = clientTypes[rd];
String privateKey = privateKeys[rd];
String req = &quot;app_version=5.8.1&amp;channel_id=4&amp;client_type=&quot;+clientType+&quot;&amp;contentCode=e823582db5ead63c82e0d348c4e6a6bb&amp;fromPage=aFP_Category&amp;method=app.sort.fromBigData&amp;msort=21&amp;os_version=10.3.2&amp;physical_channel=4&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=375x667&amp;session_key=820e45d1ae0ecfd8e37244b344444f5a&amp;udid=04d8799b2594c451e9d95a9f44eca49fd28f0ac5&amp;uid=&quot;+bsh.args[0]+&quot;&amp;v=7&quot;;
String req = &quot;app_version=5.9.0&amp;client_type=&quot;+clientType+&quot;&amp;method=app.Shopping.count&amp;os_version=yohobuy:h5&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=720x1280&amp;shopping_key=&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);
... ...