Authored by Rong

commit by shell

... ... @@ -108,7 +108,7 @@
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="resetInterpreter">false</boolProp>
<stringProp name="parameters">${activityId} ${uid}</stringProp>
<stringProp name="parameters">${SNCP} ${activityId} ${uid}</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="script">import java.security.MessageDigest;
import java.util.Random;
... ... @@ -118,7 +118,7 @@ int rd = new Random().nextInt(2);
String clientType = clientTypes[rd];
String privateKey = privateKeys[rd];
String req = &quot;activityId=&quot;+bsh.args[0]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=app.collage.productList&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[1]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
String req = &quot;_sncp=&quot;+bsh.args[0]+&quot;&amp;activityId=&quot;+bsh.args[1]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=app.collage.productList&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[2]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;);
byte[] btInput = req.getBytes();
md.update(btInput);
... ... @@ -206,7 +206,7 @@ vars.put(&quot;searchValue&quot;,req+&quot;&amp;client_secret=&quot;+md5);</stri
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="resetInterpreter">false</boolProp>
<stringProp name="parameters">${activityId} ${uid}</stringProp>
<stringProp name="parameters">${SNCP} ${activityId} ${uid}</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="script">import java.security.MessageDigest;
import java.util.Random;
... ... @@ -216,7 +216,7 @@ int rd = new Random().nextInt(2);
String clientType = clientTypes[rd];
String privateKey = privateKeys[rd];
String req = &quot;activityId=&quot;+bsh.args[0]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=app.activity.getGroups&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[1]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
String req = &quot;_sncp=&quot;+bsh.args[0]+&quot;&amp;activityId=&quot;+bsh.args[1]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=app.activity.getGroups&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[2]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;);
byte[] btInput = req.getBytes();
md.update(btInput);
... ... @@ -304,7 +304,7 @@ vars.put(&quot;searchValue&quot;,req+&quot;&amp;client_secret=&quot;+md5);</stri
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="resetInterpreter">false</boolProp>
<stringProp name="parameters">${product_skn} ${uid}</stringProp>
<stringProp name="parameters">${SNCP} ${product_skn} ${uid}</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="script">import java.security.MessageDigest;
import java.util.Random;
... ... @@ -314,7 +314,7 @@ int rd = new Random().nextInt(2);
String clientType = clientTypes[rd];
String privateKey = privateKeys[rd];
String req = &quot;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=app.product.data&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;product_skn=&quot;+bsh.args[0]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[1]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
String req = &quot;_sncp=&quot;+bsh.args[0]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=app.product.data&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;product_skn=&quot;+bsh.args[1]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[2]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;);
byte[] btInput = req.getBytes();
md.update(btInput);
... ... @@ -402,7 +402,7 @@ vars.put(&quot;searchValue&quot;,req+&quot;&amp;client_secret=&quot;+md5);</stri
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="resetInterpreter">false</boolProp>
<stringProp name="parameters">${product_skn} ${uid}</stringProp>
<stringProp name="parameters">${SNCP} ${product_skn} ${uid}</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="script">import java.security.MessageDigest;
import java.util.Random;
... ... @@ -412,7 +412,7 @@ int rd = new Random().nextInt(2);
String clientType = clientTypes[rd];
String privateKey = privateKeys[rd];
String req = &quot;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=smallapp.product.intro&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;productskn=&quot;+bsh.args[0]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[1]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
String req = &quot;_sncp=&quot;+bsh.args[0]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=smallapp.product.intro&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;productskn=&quot;+bsh.args[1]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[2]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;);
byte[] btInput = req.getBytes();
md.update(btInput);
... ... @@ -500,7 +500,7 @@ vars.put(&quot;searchValue&quot;,req+&quot;&amp;client_secret=&quot;+md5);</stri
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="resetInterpreter">false</boolProp>
<stringProp name="parameters">${product_skn} ${uid}</stringProp>
<stringProp name="parameters">${SNCP} ${product_skn} ${uid}</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="script">import java.security.MessageDigest;
import java.util.Random;
... ... @@ -510,7 +510,7 @@ int rd = new Random().nextInt(2);
String clientType = clientTypes[rd];
String privateKey = privateKeys[rd];
String req = &quot;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;coupon_limit_status=0&amp;method=app.product.supportService&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;product_skn=&quot;+bsh.args[0]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[1]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
String req = &quot;_sncp=&quot;+bsh.args[0]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;coupon_limit_status=0&amp;method=app.product.supportService&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;product_skn=&quot;+bsh.args[1]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[2]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;);
byte[] btInput = req.getBytes();
md.update(btInput);
... ... @@ -598,7 +598,7 @@ vars.put(&quot;searchValue&quot;,req+&quot;&amp;client_secret=&quot;+md5);</stri
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="resetInterpreter">false</boolProp>
<stringProp name="parameters">${product_skn} ${uid}</stringProp>
<stringProp name="parameters">${SNCP} ${product_skn} ${uid}</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="script">import java.security.MessageDigest;
import java.util.Random;
... ... @@ -608,7 +608,7 @@ int rd = new Random().nextInt(2);
String clientType = clientTypes[rd];
String privateKey = privateKeys[rd];
String req = &quot;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=app.Shopping.count&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;product_skn=&quot;+bsh.args[0]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[1]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
String req = &quot;_sncp=&quot;+bsh.args[0]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=app.Shopping.count&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;product_skn=&quot;+bsh.args[1]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[2]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;);
byte[] btInput = req.getBytes();
md.update(btInput);
... ... @@ -696,7 +696,7 @@ vars.put(&quot;searchValue&quot;,req+&quot;&amp;client_secret=&quot;+md5);</stri
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="resetInterpreter">false</boolProp>
<stringProp name="parameters">${activityId} ${product_skn} ${uid}</stringProp>
<stringProp name="parameters">${SNCP} ${activityId} ${product_skn} ${uid}</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="script">import java.security.MessageDigest;
import java.util.Random;
... ... @@ -706,7 +706,7 @@ int rd = new Random().nextInt(2);
String clientType = clientTypes[rd];
String privateKey = privateKeys[rd];
String req = &quot;activityId=&quot;+bsh.args[0]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=app.collage.productInfo&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;productSkn=&quot;+bsh.args[1]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[2]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
String req = &quot;_sncp=&quot;+bsh.args[0]+&quot;&amp;activityId=&quot;+bsh.args[1]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;client_type=&quot;+clientType+&quot;&amp;method=app.collage.productInfo&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;productSkn=&quot;+bsh.args[2]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[3]+&quot;&amp;user_source=wechat&amp;v=7&quot;;
MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;);
byte[] btInput = req.getBytes();
md.update(btInput);
... ... @@ -794,7 +794,7 @@ vars.put(&quot;searchValue&quot;,req+&quot;&amp;client_secret=&quot;+md5);</stri
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="resetInterpreter">false</boolProp>
<stringProp name="parameters">${activityId} ${product_sku} ${uid}</stringProp>
<stringProp name="parameters">${SNCP} ${activityId} ${product_sku} ${uid}</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="script">import java.security.MessageDigest;
import java.util.Random;
... ... @@ -804,7 +804,7 @@ int rd = new Random().nextInt(2);
String clientType = clientTypes[rd];
String privateKey = privateKeys[rd];
String req = &quot;activity_id=&quot;+bsh.args[0]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;buy_number=1&amp;client_type=&quot;+clientType+&quot;&amp;group_no=&amp;is_support_apple_pay=N&amp;method=app.GroupBuy.payment&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;product_sku=&quot;+bsh.args[1]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[2]+&quot;&amp;user_source=wechat&amp;v=7&amp;yoho_coin_mode=0&quot;;
String req = &quot;_sncp=&quot;+bsh.args[0]+&quot;&amp;activity_id=&quot;+bsh.args[1]+&quot;&amp;app_version=2.3.2&amp;business_line=miniapp&amp;buy_number=1&amp;client_type=&quot;+clientType+&quot;&amp;group_no=&amp;is_support_apple_pay=N&amp;method=app.GroupBuy.payment&amp;os_version=6.6.1&amp;private_key=&quot;+privateKey+&quot;&amp;product_sku=&quot;+bsh.args[2]+&quot;&amp;screen_size=375x603&amp;session_key=57760afa8df1c8fa854f05c95f147e50&amp;source_type=wechat&amp;udid=a937bd3fee40ae778d8aa76f1bb8d8c2&amp;uid=&quot;+bsh.args[3]+&quot;&amp;user_source=wechat&amp;v=7&amp;yoho_coin_mode=0&quot;;
MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;);
byte[] btInput = req.getBytes();
md.update(btInput);
... ...