...
|
...
|
@@ -181,7 +181,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -190,7 +190,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&content_code=6ce0f53a921110bf7f16765aa6d223d5&fromPage=iFP_Home&method=app.cover.getfloat&os_version=10.2.1&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=8be620e2d951d49128232f8b4c392422&udid=380aebe1da2c72def222c78249f99ef08c18260a&uid=7062123&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&content_code=6ce0f53a921110bf7f16765aa6d223d5&fromPage=iFP_Home&method=app.cover.getfloat&os_version=10.2.1&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=8be620e2d951d49128232f8b4c392422&udid=380aebe1da2c72def222c78249f99ef08c18260a&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -276,7 +276,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -285,7 +285,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.9.0&client_type="+clientType+"&os_version=yohobuy:h5&private_key="+privateKey+"&screen_size=720x1280&share_id=2409&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&os_version=10.2.1&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=ca5239b2b7304c61076522dd21934244&share_id=2403&udid=d17930b6d446107039bc3c52d4dcf25b31bcdf66&uid="+bsh.args[0]+"&v=7&yh_channel=1";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -371,7 +371,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -380,7 +380,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
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=iFP_Lanuch&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&udid=0bb4ec033080c1ac87602172eb0920311a70d45a&uid=0&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=iFP_Lanuch&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&udid=0bb4ec033080c1ac87602172eb0920311a70d45a&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -466,7 +466,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -475,7 +475,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&fromPage=iFP_Gender&os_version=10.3.1&physical_channel=1&private_key="+privateKey+"&screen_size=375x667&udid=155baae56a5ce7d9e7f9bf037a41a9e8fd766dda&uid=0&v=7";
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&fromPage=iFP_Gender&os_version=10.3.1&physical_channel=1&private_key="+privateKey+"&screen_size=375x667&udid=155baae56a5ce7d9e7f9bf037a41a9e8fd766dda&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -561,7 +561,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -570,7 +570,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&udid=6bde85c56740592cbe550ac4dc459d67680a8aef&uid=0&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&udid=6bde85c56740592cbe550ac4dc459d67680a8aef&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -656,7 +656,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -665,7 +665,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&fromPage=iFP_Lanuch&os_version=10.3.1&physical_channel=1&private_key="+privateKey+"&screen_size=375x667&udid=155baae56a5ce7d9e7f9bf037a41a9e8fd766dda&uid=0&v=7";
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&fromPage=iFP_Lanuch&os_version=10.3.1&physical_channel=1&private_key="+privateKey+"&screen_size=375x667&udid=155baae56a5ce7d9e7f9bf037a41a9e8fd766dda&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -751,7 +751,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -760,7 +760,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "client_type="+clientType+"&method=app.passport.verify&private_key="+privateKey+"&session_key=68047abde3c40c3e0e9e6bf7a111064b&uid=12570331";
|
|
|
String req = "client_type="+clientType+"&method=app.passport.verify&private_key="+privateKey+"&session_key=68047abde3c40c3e0e9e6bf7a111064b&uid="+bsh.args[0]+"";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -846,7 +846,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -855,7 +855,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
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=iFP_Gender&method=app.cover.getCoverStart&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&type=iphone5&udid=6bde85c56740592cbe550ac4dc459d67680a8aef&uid=0&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=iFP_Gender&method=app.cover.getCoverStart&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&type=iphone5&udid=6bde85c56740592cbe550ac4dc459d67680a8aef&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -941,7 +941,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -950,7 +950,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.9.0&client_type="+clientType+"&method=app.resources.getNotices&os_version=yohobuy:h5&private_key="+privateKey+"&screen_size=720x1280&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=aFP_My&method=app.resources.getNotices&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=560c128a19e4c0c545c9be0464e04b94&udid=605211968c20393e88d68173609bdbfeff0af956&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -1036,7 +1036,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -1045,7 +1045,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=1.4.3&client_type="+clientType+"&method=app.resources.config.clientInitConfig&os_version=6.5.9&private_key="+privateKey+"&screen_size=375x555&session_key=&uid=0&v=7";
|
|
|
String req = "app_version=1.4.3&client_type="+clientType+"&method=app.resources.config.clientInitConfig&os_version=6.5.9&private_key="+privateKey+"&screen_size=375x555&session_key=&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -1226,7 +1226,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -1235,7 +1235,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.9.0&client_type="+clientType+"&method=app.search.getTerms&os_version=yohobuy:h5&private_key="+privateKey+"&screen_size=720x1280&uid=0&v=7&yh_channel=1";
|
|
|
String req = "app_version=5.9.0&client_type="+clientType+"&method=app.search.getTerms&os_version=yohobuy:h5&private_key="+privateKey+"&screen_size=720x1280&uid="+bsh.args[0]+"&v=7&yh_channel=1";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -1321,7 +1321,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -1330,7 +1330,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
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=aFP_My&method=app.passport.profile&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=e29f98f3b5b7c2beb6ceee9736281f29&udid=c35b27a1641e68261d2f8945575115836720676d&uid=15494854&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=aFP_My&method=app.passport.profile&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=e29f98f3b5b7c2beb6ceee9736281f29&udid=c35b27a1641e68261d2f8945575115836720676d&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -1416,7 +1416,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -1425,7 +1425,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
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=aFP_My&method=app.passport.checkIsBindedOrRelated&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=375x667&session_key=d4464aa80683527ba1bc687cef8c7d8e&udid=92ddf13bd3ec81b386bab705980f2bbae3cc3621&uid=14835590&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=aFP_My&method=app.passport.checkIsBindedOrRelated&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=375x667&session_key=d4464aa80683527ba1bc687cef8c7d8e&udid=92ddf13bd3ec81b386bab705980f2bbae3cc3621&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -1511,7 +1511,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -1520,7 +1520,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&method=user.instalment.getStatus&os_version=yohobuy:h5&private_key="+privateKey+"&screen_size=720x1280&session_key=2920b832c8ad6f81fb2eec4103a29b47&session_type=android&uid=13850340&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&method=user.instalment.getStatus&os_version=yohobuy:h5&private_key="+privateKey+"&screen_size=720x1280&session_key=2920b832c8ad6f81fb2eec4103a29b47&session_type=android&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -1606,7 +1606,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -1615,7 +1615,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
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=aFP_Category&method=app.sort.get&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=c2483cef0e109a241557f9673932559d&udid=6bde85c56740592cbe550ac4dc459d67680a8aef&uid=11006757&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=aFP_Category&method=app.sort.get&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=c2483cef0e109a241557f9673932559d&udid=6bde85c56740592cbe550ac4dc459d67680a8aef&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -1701,7 +1701,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -1710,7 +1710,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&method=app.search.hotword&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=320x568&udid=adafa5b0513c52fe12bf37003826ab77b99f952e&uid=0&v=7";
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&method=app.search.hotword&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=320x568&udid=adafa5b0513c52fe12bf37003826ab77b99f952e&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -1796,7 +1796,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -1805,7 +1805,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
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=aFP_My&gender=1,3&method=app.coupons.queryUserCouponRemind&os_version=android5.0.2:vivo_Y51A&physical_channel=1&private_key="+privateKey+"&screen_size=540x960&session_key=91f5b3fc932aac5500d59b7ac307abc8&udid=A100004E1A486Baf4770812e53076b&uid=51686990&v=7&yh_channel=1";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=aFP_My&gender=1,3&method=app.coupons.queryUserCouponRemind&os_version=android5.0.2:vivo_Y51A&physical_channel=1&private_key="+privateKey+"&screen_size=540x960&session_key=91f5b3fc932aac5500d59b7ac307abc8&udid=A100004E1A486Baf4770812e53076b&uid="+bsh.args[0]+"&v=7&yh_channel=1";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -1891,7 +1891,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -1900,7 +1900,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&content_code=201504091403001&fromPage=aFP_ShopCart&gender=1,3&limit=40&method=app.search.newLast7day&os_version=android4.4.4:CHM-CL00&page=1&physical_channel=1&private_key="+privateKey+"&rec_pos=100006&screen_size=720x1280&session_key=bbec82bfa0c58a93b2cc1790ff8b16ea&udid=A000005996F653935bc76c8ea5dffe&uid=16016374&v=7&yh_channel=1";
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&content_code=201504091403001&fromPage=aFP_ShopCart&gender=1,3&limit=40&method=app.search.newLast7day&os_version=android4.4.4:CHM-CL00&page=1&physical_channel=1&private_key="+privateKey+"&rec_pos=100006&screen_size=720x1280&session_key=bbec82bfa0c58a93b2cc1790ff8b16ea&udid=A000005996F653935bc76c8ea5dffe&uid="+bsh.args[0]+"&v=7&yh_channel=1";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -1986,7 +1986,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -1995,7 +1995,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
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=iFP_Home&method=app.recommend.popup&os_version=10.0.2&physical_channel=1&private_key="+privateKey+"&rec_pos=100010&screen_size=414x736&session_key=7a4adc867325ac0636afd8b27b2e1f3c&udid=eb51e3553552194afe96700e1d69eb78fc32a442&uid=7292615&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=iFP_Home&method=app.recommend.popup&os_version=10.0.2&physical_channel=1&private_key="+privateKey+"&rec_pos=100010&screen_size=414x736&session_key=7a4adc867325ac0636afd8b27b2e1f3c&udid=eb51e3553552194afe96700e1d69eb78fc32a442&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -2081,7 +2081,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -2090,7 +2090,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.9.0&client_type="+clientType+"&method=app.Shopping.count&os_version=yohobuy:h5&private_key="+privateKey+"&screen_size=720x1280&shopping_key=&uid=0&v=7";
|
|
|
String req = "app_version=5.9.0&client_type="+clientType+"&method=app.Shopping.count&os_version=yohobuy:h5&private_key="+privateKey+"&screen_size=720x1280&shopping_key=&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -2176,7 +2176,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -2185,7 +2185,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.8.1&channel_id=4&client_type="+clientType+"&contentCode=e823582db5ead63c82e0d348c4e6a6bb&fromPage=aFP_Category&method=app.sort.fromBigData&msort=21&os_version=10.3.2&physical_channel=4&private_key="+privateKey+"&screen_size=375x667&session_key=820e45d1ae0ecfd8e37244b344444f5a&udid=04d8799b2594c451e9d95a9f44eca49fd28f0ac5&uid=14731904&v=7";
|
|
|
String req = "app_version=5.8.1&channel_id=4&client_type="+clientType+"&contentCode=e823582db5ead63c82e0d348c4e6a6bb&fromPage=aFP_Category&method=app.sort.fromBigData&msort=21&os_version=10.3.2&physical_channel=4&private_key="+privateKey+"&screen_size=375x667&session_key=820e45d1ae0ecfd8e37244b344444f5a&udid=04d8799b2594c451e9d95a9f44eca49fd28f0ac5&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -2271,7 +2271,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -2280,7 +2280,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
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=iFP_My&method=app.yoho.redpacket&os_version=10.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=6c11cdee1b6002c72cfdfdab8b6de642&udid=ef8fa5d50340674427c91275b41f75288842cc12&uid=11807217&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=iFP_My&method=app.yoho.redpacket&os_version=10.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=6c11cdee1b6002c72cfdfdab8b6de642&udid=ef8fa5d50340674427c91275b41f75288842cc12&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -2366,7 +2366,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -2375,7 +2375,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
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=iFP_RecommendProduct&limit=30&method=app.home.newPreference&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&rec_pos=100004&screen_size=375x667&udid=9561cd2262d04577127d43b483232a2f745dc25b&uid=0&v=7&yh_channel=1";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=iFP_RecommendProduct&limit=30&method=app.home.newPreference&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&rec_pos=100004&screen_size=375x667&udid=9561cd2262d04577127d43b483232a2f745dc25b&uid="+bsh.args[0]+"&v=7&yh_channel=1";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -2461,7 +2461,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -2470,7 +2470,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
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=iFP_AppDelegate&method=app.home.getInfoNum&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=c2483cef0e109a241557f9673932559d&udid=6bde85c56740592cbe550ac4dc459d67680a8aef&uid=11006757&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=iFP_AppDelegate&method=app.home.getInfoNum&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=c2483cef0e109a241557f9673932559d&udid=6bde85c56740592cbe550ac4dc459d67680a8aef&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -2556,7 +2556,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -2565,7 +2565,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&is_read=N&method=app.inbox.getTotal&os_version=8.3&physical_channel=2&private_key="+privateKey+"&screen_size=375x667&session_key=779ad0263fdaf7ae4d6cd2d6f71b6b38&udid=a2c948fc82ff58a0317cf7e751d13dcd0aa54fa3&uid=15427054&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&is_read=N&method=app.inbox.getTotal&os_version=8.3&physical_channel=2&private_key="+privateKey+"&screen_size=375x667&session_key=779ad0263fdaf7ae4d6cd2d6f71b6b38&udid=a2c948fc82ff58a0317cf7e751d13dcd0aa54fa3&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -2651,7 +2651,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -2660,7 +2660,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
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=iFP_Login&method=app.coupons.total&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=dfa69d983755f1de704ded4498d70e59&type=notuse&udid=0bb4ec033080c1ac87602172eb0920311a70d45a&uid=10953221&v=7";
|
|
|
String req = "app_version=5.8.1&client_type="+clientType+"&fromPage=iFP_Login&method=app.coupons.total&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=414x736&session_key=dfa69d983755f1de704ded4498d70e59&type=notuse&udid=0bb4ec033080c1ac87602172eb0920311a70d45a&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -2746,7 +2746,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -2755,7 +2755,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&method=app.helper.getServiceOnline&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=320x568&udid=adafa5b0513c52fe12bf37003826ab77b99f952e&uid=0&v=7";
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&method=app.helper.getServiceOnline&os_version=10.3.2&physical_channel=1&private_key="+privateKey+"&screen_size=320x568&udid=adafa5b0513c52fe12bf37003826ab77b99f952e&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
@@ -2936,7 +2936,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri |
|
|
<BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true">
|
|
|
<stringProp name="TestPlan.comments"></stringProp>
|
|
|
<boolProp name="resetInterpreter">false</boolProp>
|
|
|
<stringProp name="parameters"></stringProp>
|
|
|
<stringProp name="parameters">${uid}</stringProp>
|
|
|
<stringProp name="filename"></stringProp>
|
|
|
<stringProp name="script">import java.security.MessageDigest;
|
|
|
import java.util.Random;
|
...
|
...
|
@@ -2945,7 +2945,7 @@ String[] privateKeys = {"fd4ad5fcfa0de589ef238c0e7331b585"}; |
|
|
int rd = new Random().nextInt(1);
|
|
|
String clientType = clientTypes[rd];
|
|
|
String privateKey = privateKeys[rd];
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&fromPage=aFP_My&method=app.activity.getlist&os_version=10.0.1&physical_channel=1&private_key="+privateKey+"&screen_size=375x667&session_key=0a0b7646f81b6a5f5ebc8c54d4337c3e&udid=de010d38c2bd111e6887e36e7596352814e7a001&uid=4037126&v=7";
|
|
|
String req = "app_version=5.7.0&client_type="+clientType+"&fromPage=aFP_My&method=app.activity.getlist&os_version=10.0.1&physical_channel=1&private_key="+privateKey+"&screen_size=375x667&session_key=0a0b7646f81b6a5f5ebc8c54d4337c3e&udid=de010d38c2bd111e6887e36e7596352814e7a001&uid="+bsh.args[0]+"&v=7";
|
|
|
MessageDigest md = MessageDigest.getInstance("MD5");
|
|
|
byte[] btInput = req.getBytes();
|
|
|
md.update(btInput);
|
...
|
...
|
|