Authored by Rong

commit by shell

... ... @@ -26,7 +26,7 @@
<collectionProp name="Arguments.arguments">
<elementProp name="HOST_API" elementType="Argument">
<stringProp name="Argument.name">HOST_API</stringProp>
<stringProp name="Argument.value">192.168.104.40:8999</stringProp>
<stringProp name="Argument.value">192.168.104.40:8080</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
... ... @@ -89,7 +89,7 @@
<stringProp name="HTTPSampler.response_timeout"></stringProp>
<stringProp name="HTTPSampler.protocol"></stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">http://${HOST_API}/gateway?${searchValue}</stringProp>
<stringProp name="HTTPSampler.path">http://${HOST_API}/gateway/?${searchValue}</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
... ... @@ -113,7 +113,7 @@ int rd = new Random().nextInt(1);
String clientType = clientTypes[rd];
String privateKey = privateKeys[rd];
String req = &quot;a=1&amp;client_type=&quot;+clientType+&quot;&amp;private_key=&quot;+privateKey+&quot;&quot;;
String req = &quot;app_version=6.1.0&amp;client_type=&quot;+clientType+&quot;&amp;fromPage=iFP_ProductDetail&amp;method=app.product.test&amp;os_version=9.1&amp;physical_channel=1&amp;private_key=&quot;+privateKey+&quot;&amp;screen_size=375x667&amp;session_key=c9e62120b6a534dea8a06e8e3875e810&amp;token=&amp;udid=dbff80c827e771b3035a1a5ae80892d571860a8d&amp;v=7&quot;;
MessageDigest md = MessageDigest.getInstance(&quot;MD5&quot;);
byte[] btInput = req.getBytes();
md.update(btInput);
... ...