Authored by Rong

commit by shell

@@ -1789,7 +1789,7 @@ vars.put(&quot;searchValue&quot;,req+&quot;&amp;client_secret=&quot;+md5);</stri @@ -1789,7 +1789,7 @@ vars.put(&quot;searchValue&quot;,req+&quot;&amp;client_secret=&quot;+md5);</stri
1789 <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true"> 1789 <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="&#21069;&#32622;BeanShell" enabled="true">
1790 <stringProp name="TestPlan.comments"></stringProp> 1790 <stringProp name="TestPlan.comments"></stringProp>
1791 <boolProp name="resetInterpreter">false</boolProp> 1791 <boolProp name="resetInterpreter">false</boolProp>
1792 - <stringProp name="parameters">${product_id} ${uid}</stringProp> 1792 + <stringProp name="parameters">${SNCP} ${product_id} ${uid}</stringProp>
1793 <stringProp name="filename"></stringProp> 1793 <stringProp name="filename"></stringProp>
1794 <stringProp name="script">import java.security.MessageDigest; 1794 <stringProp name="script">import java.security.MessageDigest;
1795 import java.util.Random; 1795 import java.util.Random;
@@ -1799,7 +1799,7 @@ int rd = new Random().nextInt(2); @@ -1799,7 +1799,7 @@ int rd = new Random().nextInt(2);
1799 String clientType = clientTypes[rd]; 1799 String clientType = clientTypes[rd];
1800 String privateKey = privateKeys[rd]; 1800 String privateKey = privateKeys[rd];
1801 String os_version = &quot;android7.1.1:vivo_X20Plus_A&quot;; 1801 String os_version = &quot;android7.1.1:vivo_X20Plus_A&quot;;
1802 -String req = &quot;app_version=6.6.0&amp;business_line=yohobuy&amp;client_type=&quot;+clientType+&quot;&amp;fromPage=aFP_ProductDetail&amp;gender=1,3&amp;id=&quot;+bsh.args[0]+&quot;&amp;method=app.favorite.isFavoriteNew&amp;os_version=&quot;+os_version+&quot;&amp;physical_channel=1&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=1080x2040&amp;session_key=d99017a864d27b7772fa494bc2edc8e3&amp;udid=867476033141296577e6dba2096f180&amp;uid=&quot;+bsh.args[1]+&quot;&amp;v=7&amp;vip_level=1&amp;yh_channel=1&quot;; 1802 +String req = &quot;_sncp=&quot;+bsh.args[0]+&quot;&amp;app_version=6.6.0&amp;business_line=yohobuy&amp;client_type=&quot;+clientType+&quot;&amp;fromPage=aFP_ProductDetail&amp;gender=1,3&amp;id=&quot;+bsh.args[1]+&quot;&amp;method=app.favorite.isFavoriteNew&amp;os_version=&quot;+os_version+&quot;&amp;physical_channel=1&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=1080x2040&amp;session_key=d99017a864d27b7772fa494bc2edc8e3&amp;udid=867476033141296577e6dba2096f180&amp;uid=&quot;+bsh.args[2]+&quot;&amp;v=7&amp;vip_level=1&amp;yh_channel=1&quot;;
1803 MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;); 1803 MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;);
1804 byte[] btInput = req.getBytes(); 1804 byte[] btInput = req.getBytes();
1805 md.update(btInput); 1805 md.update(btInput);
@@ -1814,7 +1814,7 @@ for(byte b : btResult){ @@ -1814,7 +1814,7 @@ for(byte b : btResult){
1814 } 1814 }
1815 String md5 = sb.toString(); 1815 String md5 = sb.toString();
1816 os_version=URLEncoder.encode(os_version); 1816 os_version=URLEncoder.encode(os_version);
1817 -req = &quot;app_version=6.6.0&amp;business_line=yohobuy&amp;client_type=&quot;+clientType+&quot;&amp;fromPage=aFP_ProductDetail&amp;gender=1,3&amp;id=&quot;+bsh.args[0]+&quot;&amp;method=app.favorite.isFavoriteNew&amp;os_version=&quot;+os_version+&quot;&amp;physical_channel=1&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=1080x2040&amp;session_key=d99017a864d27b7772fa494bc2edc8e3&amp;udid=867476033141296577e6dba2096f180&amp;uid=&quot;+bsh.args[1]+&quot;&amp;v=7&amp;vip_level=1&amp;yh_channel=1&quot;; 1817 +req = &quot;_sncp=&quot;+bsh.args[0]+&quot;&amp;app_version=6.6.0&amp;business_line=yohobuy&amp;client_type=&quot;+clientType+&quot;&amp;fromPage=aFP_ProductDetail&amp;gender=1,3&amp;id=&quot;+bsh.args[1]+&quot;&amp;method=app.favorite.isFavoriteNew&amp;os_version=&quot;+os_version+&quot;&amp;physical_channel=1&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=1080x2040&amp;session_key=d99017a864d27b7772fa494bc2edc8e3&amp;udid=867476033141296577e6dba2096f180&amp;uid=&quot;+bsh.args[2]+&quot;&amp;v=7&amp;vip_level=1&amp;yh_channel=1&quot;;
1818 vars.put(&quot;searchValue&quot;,req+&quot;&amp;client_secret=&quot;+md5);</stringProp> 1818 vars.put(&quot;searchValue&quot;,req+&quot;&amp;client_secret=&quot;+md5);</stringProp>
1819 </BeanShellPreProcessor> 1819 </BeanShellPreProcessor>
1820 <hashTree/> 1820 <hashTree/>