码迷,mamicode.com
首页 > 其他好文 > 详细

JMeter学习-013-JMeter 逻辑控制器之-如果(If)控制器

时间:2015-08-27 02:04:08      阅读:12562      评论:0      收藏:0      [点我收藏+]

标签:

前文简述了 JMeter 如何通过 HTTP Cookie管理器,实现了在不执行登录操作的情况下,通过 Cookie 实现登录态的操作,具体请参阅:JMeter学习-012-JMeter 配置元件之-HTTP Cookie管理器-实现 Cookie 登录

我们在日常的自动化测试脚本编写过程中,通常会有需要进行判断的逻辑,从而根据判断条件的真假,控制是否进行相应的操作。JMeter 提供了一些逻辑控制器(例如:ForEach控制器、事务控制器、如果(If)控制器、循环控制器等),以供我们在自动化脚本中进行逻辑控制,下面就以易迅网App收藏接口测试用例为例,通过其相应的操作,对 如果(If)控制器 进行简单的应用演示。演示操作内容如下所示:

  1. 通过商品编号搜索商品,获取对应的商品系统编号。
  2. 通过商品系统编号在收藏列表中查询对应的收藏编号。
  3. 判断收藏编号是否存在。若存在,则删除,并验证是否删除成功。
  4. 收藏商品。
  5. 验证商品收藏是否成功。
  6. 再次收藏商品,验证重复收藏的提示信息是否正确。
  7. 从收藏列表中删除收藏商品。
  8. 验证是否成功删除了收藏商品。

下面针对第三步,简单描述一下 逻辑控制器如果(If)控制器 的使用方法。添加 如果(If)控制器 的步骤为:【添加 / 逻辑控制器 / 如果(If)控制器】,控制器的界面如下所示:

技术分享

  • 名称:IF逻辑控制器的简述。
  • 注释:对逻辑控制器的详细描述。
  • 条件:判断条件,可以引用变量。当为 true 时,执行响应的操作。

第三步配置的 IF逻辑控制器 如下所示:

技术分享

最终脚本执行结果,如下所示:

技术分享

 

附录一:

技术分享
   1 <?xml version="1.0" encoding="UTF-8"?>
   2 <jmeterTestPlan version="1.2" properties="2.8" jmeter="2.13 r1665067">
   3   <hashTree>
   4     <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="JMeter自动化- 用户相关测试" enabled="true">
   5       <stringProp name="TestPlan.comments"></stringProp>
   6       <boolProp name="TestPlan.functional_mode">false</boolProp>
   7       <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
   8       <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true">
   9         <collectionProp name="Arguments.arguments"/>
  10       </elementProp>
  11       <stringProp name="TestPlan.user_define_classpath"></stringProp>
  12     </TestPlan>
  13     <hashTree>
  14       <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="userCookie" enabled="true">
  15         <stringProp name="delimiter">,</stringProp>
  16         <stringProp name="fileEncoding">UTF-8</stringProp>
  17         <stringProp name="filename">./userCookie.txt</stringProp>
  18         <boolProp name="quotedData">false</boolProp>
  19         <boolProp name="recycle">true</boolProp>
  20         <stringProp name="shareMode">shareMode.all</stringProp>
  21         <boolProp name="stopThread">false</boolProp>
  22         <stringProp name="variableNames">appSource,appVersion,channelId,deviceId,districtid,userSkey,token,uid,version,wsid</stringProp>
  23       </CSVDataSet>
  24       <hashTree/>
  25       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="测试用例 - T001 - 用户收藏列表" enabled="false">
  26         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  27         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true">
  28           <boolProp name="LoopController.continue_forever">false</boolProp>
  29           <stringProp name="LoopController.loops">1</stringProp>
  30         </elementProp>
  31         <stringProp name="ThreadGroup.num_threads">1</stringProp>
  32         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
  33         <longProp name="ThreadGroup.start_time">1419563153000</longProp>
  34         <longProp name="ThreadGroup.end_time">1419563153000</longProp>
  35         <boolProp name="ThreadGroup.scheduler">false</boolProp>
  36         <stringProp name="ThreadGroup.duration"></stringProp>
  37         <stringProp name="ThreadGroup.delay"></stringProp>
  38       </ThreadGroup>
  39       <hashTree>
  40         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="T001-01-收藏列表" enabled="true">
  41           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
  42             <collectionProp name="Arguments.arguments">
  43               <elementProp name="uid" elementType="HTTPArgument">
  44                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
  45                 <stringProp name="Argument.name">uid</stringProp>
  46                 <stringProp name="Argument.value">${uid}</stringProp>
  47                 <stringProp name="Argument.metadata">=</stringProp>
  48                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
  49               </elementProp>
  50               <elementProp name="page" elementType="HTTPArgument">
  51                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
  52                 <stringProp name="Argument.name">page</stringProp>
  53                 <stringProp name="Argument.value">0</stringProp>
  54                 <stringProp name="Argument.metadata">=</stringProp>
  55                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
  56               </elementProp>
  57               <elementProp name="exAppTag" elementType="HTTPArgument">
  58                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
  59                 <stringProp name="Argument.name">exAppTag</stringProp>
  60                 <stringProp name="Argument.value">2045191607</stringProp>
  61                 <stringProp name="Argument.metadata">=</stringProp>
  62                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
  63               </elementProp>
  64             </collectionProp>
  65           </elementProp>
  66           <stringProp name="HTTPSampler.domain">mb.51buy.com</stringProp>
  67           <stringProp name="HTTPSampler.port"></stringProp>
  68           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  69           <stringProp name="HTTPSampler.response_timeout"></stringProp>
  70           <stringProp name="HTTPSampler.protocol">http</stringProp>
  71           <stringProp name="HTTPSampler.contentEncoding">GB2312</stringProp>
  72           <stringProp name="HTTPSampler.path">/json.php?mod=myfavor&amp;act=get&amp;appSource=android&amp;appVersion=${appVersion}</stringProp>
  73           <stringProp name="HTTPSampler.method">POST</stringProp>
  74           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  75           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  76           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  77           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  78           <boolProp name="HTTPSampler.monitor">false</boolProp>
  79           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  80           <stringProp name="TestPlan.comments">从收藏列表中获取对应收藏商品的收藏 ID</stringProp>
  81         </HTTPSamplerProxy>
  82         <hashTree>
  83           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
  84             <collectionProp name="HeaderManager.headers">
  85               <elementProp name="Charset" elementType="Header">
  86                 <stringProp name="Header.name">Charset</stringProp>
  87                 <stringProp name="Header.value">UTF-8</stringProp>
  88               </elementProp>
  89               <elementProp name="Content-Type" elementType="Header">
  90                 <stringProp name="Header.name">Content-Type</stringProp>
  91                 <stringProp name="Header.value">application/x-www-form-urlencoded</stringProp>
  92               </elementProp>
  93               <elementProp name="Accept-Encoding" elementType="Header">
  94                 <stringProp name="Header.name">Accept-Encoding</stringProp>
  95                 <stringProp name="Header.value">gzip</stringProp>
  96               </elementProp>
  97               <elementProp name="User-Agent" elementType="Header">
  98                 <stringProp name="Header.name">User-Agent</stringProp>
  99                 <stringProp name="Header.value">Dalvik/1.6.0 (Linux; U; Android 4.4.2; GT-I9502 Build/KOT49H)</stringProp>
 100               </elementProp>
 101             </collectionProp>
 102           </HeaderManager>
 103           <hashTree/>
 104           <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="Cookies" enabled="true">
 105             <collectionProp name="CookieManager.cookies">
 106               <elementProp name="appSource" elementType="Cookie" testname="appSource">
 107                 <stringProp name="Cookie.value">${appSource}</stringProp>
 108                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 109                 <stringProp name="Cookie.path"></stringProp>
 110                 <boolProp name="Cookie.secure">false</boolProp>
 111                 <longProp name="Cookie.expires">0</longProp>
 112                 <boolProp name="Cookie.path_specified">true</boolProp>
 113                 <boolProp name="Cookie.domain_specified">true</boolProp>
 114               </elementProp>
 115               <elementProp name="appVersion" elementType="Cookie" testname="appVersion">
 116                 <stringProp name="Cookie.value">${appVersion}</stringProp>
 117                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 118                 <stringProp name="Cookie.path"></stringProp>
 119                 <boolProp name="Cookie.secure">false</boolProp>
 120                 <longProp name="Cookie.expires">0</longProp>
 121                 <boolProp name="Cookie.path_specified">true</boolProp>
 122                 <boolProp name="Cookie.domain_specified">true</boolProp>
 123               </elementProp>
 124               <elementProp name="channelId" elementType="Cookie" testname="channelId">
 125                 <stringProp name="Cookie.value">${channelId}</stringProp>
 126                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 127                 <stringProp name="Cookie.path"></stringProp>
 128                 <boolProp name="Cookie.secure">false</boolProp>
 129                 <longProp name="Cookie.expires">0</longProp>
 130                 <boolProp name="Cookie.path_specified">true</boolProp>
 131                 <boolProp name="Cookie.domain_specified">true</boolProp>
 132               </elementProp>
 133               <elementProp name="deviceId" elementType="Cookie" testname="deviceId">
 134                 <stringProp name="Cookie.value">${deviceId}</stringProp>
 135                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 136                 <stringProp name="Cookie.path"></stringProp>
 137                 <boolProp name="Cookie.secure">false</boolProp>
 138                 <longProp name="Cookie.expires">0</longProp>
 139                 <boolProp name="Cookie.path_specified">true</boolProp>
 140                 <boolProp name="Cookie.domain_specified">true</boolProp>
 141               </elementProp>
 142               <elementProp name="districtid" elementType="Cookie" testname="districtid">
 143                 <stringProp name="Cookie.value">${districtid}</stringProp>
 144                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 145                 <stringProp name="Cookie.path"></stringProp>
 146                 <boolProp name="Cookie.secure">false</boolProp>
 147                 <longProp name="Cookie.expires">0</longProp>
 148                 <boolProp name="Cookie.path_specified">true</boolProp>
 149                 <boolProp name="Cookie.domain_specified">true</boolProp>
 150               </elementProp>
 151               <elementProp name="skey" elementType="Cookie" testname="skey">
 152                 <stringProp name="Cookie.value">${userSkey}</stringProp>
 153                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 154                 <stringProp name="Cookie.path"></stringProp>
 155                 <boolProp name="Cookie.secure">false</boolProp>
 156                 <longProp name="Cookie.expires">0</longProp>
 157                 <boolProp name="Cookie.path_specified">true</boolProp>
 158                 <boolProp name="Cookie.domain_specified">true</boolProp>
 159               </elementProp>
 160               <elementProp name="token" elementType="Cookie" testname="token">
 161                 <stringProp name="Cookie.value">${token}</stringProp>
 162                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 163                 <stringProp name="Cookie.path"></stringProp>
 164                 <boolProp name="Cookie.secure">false</boolProp>
 165                 <longProp name="Cookie.expires">0</longProp>
 166                 <boolProp name="Cookie.path_specified">true</boolProp>
 167                 <boolProp name="Cookie.domain_specified">true</boolProp>
 168               </elementProp>
 169               <elementProp name="uid" elementType="Cookie" testname="uid">
 170                 <stringProp name="Cookie.value">${uid}</stringProp>
 171                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 172                 <stringProp name="Cookie.path"></stringProp>
 173                 <boolProp name="Cookie.secure">false</boolProp>
 174                 <longProp name="Cookie.expires">0</longProp>
 175                 <boolProp name="Cookie.path_specified">true</boolProp>
 176                 <boolProp name="Cookie.domain_specified">true</boolProp>
 177               </elementProp>
 178               <elementProp name="version" elementType="Cookie" testname="version">
 179                 <stringProp name="Cookie.value">${version}</stringProp>
 180                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 181                 <stringProp name="Cookie.path"></stringProp>
 182                 <boolProp name="Cookie.secure">false</boolProp>
 183                 <longProp name="Cookie.expires">0</longProp>
 184                 <boolProp name="Cookie.path_specified">true</boolProp>
 185                 <boolProp name="Cookie.domain_specified">true</boolProp>
 186               </elementProp>
 187               <elementProp name="wsid" elementType="Cookie" testname="wsid">
 188                 <stringProp name="Cookie.value">${wsid}</stringProp>
 189                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 190                 <stringProp name="Cookie.path"></stringProp>
 191                 <boolProp name="Cookie.secure">false</boolProp>
 192                 <longProp name="Cookie.expires">0</longProp>
 193                 <boolProp name="Cookie.path_specified">true</boolProp>
 194                 <boolProp name="Cookie.domain_specified">true</boolProp>
 195               </elementProp>
 196             </collectionProp>
 197             <boolProp name="CookieManager.clearEachIteration">true</boolProp>
 198           </CookieManager>
 199           <hashTree/>
 200         </hashTree>
 201       </hashTree>
 202       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="测试用例 - T002 - 用户收藏列表" enabled="true">
 203         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
 204         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true">
 205           <boolProp name="LoopController.continue_forever">false</boolProp>
 206           <stringProp name="LoopController.loops">1</stringProp>
 207         </elementProp>
 208         <stringProp name="ThreadGroup.num_threads">1</stringProp>
 209         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
 210         <longProp name="ThreadGroup.start_time">1419563153000</longProp>
 211         <longProp name="ThreadGroup.end_time">1419563153000</longProp>
 212         <boolProp name="ThreadGroup.scheduler">false</boolProp>
 213         <stringProp name="ThreadGroup.duration"></stringProp>
 214         <stringProp name="ThreadGroup.delay"></stringProp>
 215       </ThreadGroup>
 216       <hashTree>
 217         <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="Favor_Good_Info" enabled="true">
 218           <stringProp name="filename">./Favor_Good_Info.txt</stringProp>
 219           <stringProp name="fileEncoding">UTF-8</stringProp>
 220           <stringProp name="variableNames">productID,districtId,areacode,repeatAddInfo</stringProp>
 221           <stringProp name="delimiter">,</stringProp>
 222           <boolProp name="quotedData">false</boolProp>
 223           <boolProp name="recycle">true</boolProp>
 224           <boolProp name="stopThread">false</boolProp>
 225           <stringProp name="shareMode">shareMode.all</stringProp>
 226         </CSVDataSet>
 227         <hashTree/>
 228         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="T002-01-搜索商品 【${productID}】" enabled="true">
 229           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
 230             <collectionProp name="Arguments.arguments">
 231               <elementProp name="q" elementType="HTTPArgument">
 232                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 233                 <stringProp name="Argument.value">${productID}</stringProp>
 234                 <stringProp name="Argument.metadata">=</stringProp>
 235                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
 236                 <stringProp name="Argument.name">q</stringProp>
 237               </elementProp>
 238               <elementProp name="districtId" elementType="HTTPArgument">
 239                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 240                 <stringProp name="Argument.value">${districtId}</stringProp>
 241                 <stringProp name="Argument.metadata">=</stringProp>
 242                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
 243                 <stringProp name="Argument.name">districtId</stringProp>
 244               </elementProp>
 245               <elementProp name="areacode" elementType="HTTPArgument">
 246                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 247                 <stringProp name="Argument.value">${areacode}</stringProp>
 248                 <stringProp name="Argument.metadata">=</stringProp>
 249                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
 250                 <stringProp name="Argument.name">areacode</stringProp>
 251               </elementProp>
 252               <elementProp name="dtype" elementType="HTTPArgument">
 253                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 254                 <stringProp name="Argument.value">list|page|classes</stringProp>
 255                 <stringProp name="Argument.metadata">=</stringProp>
 256                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
 257                 <stringProp name="Argument.name">dtype</stringProp>
 258               </elementProp>
 259               <elementProp name="districtId" elementType="HTTPArgument">
 260                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 261                 <stringProp name="Argument.name">districtId</stringProp>
 262                 <stringProp name="Argument.value">${districtId}</stringProp>
 263                 <stringProp name="Argument.metadata">=</stringProp>
 264                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
 265               </elementProp>
 266               <elementProp name="exAppTag" elementType="HTTPArgument">
 267                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 268                 <stringProp name="Argument.name">exAppTag</stringProp>
 269                 <stringProp name="Argument.value">2045191607</stringProp>
 270                 <stringProp name="Argument.metadata">=</stringProp>
 271                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
 272               </elementProp>
 273               <elementProp name="appSource" elementType="HTTPArgument">
 274                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 275                 <stringProp name="Argument.value">android</stringProp>
 276                 <stringProp name="Argument.metadata">=</stringProp>
 277                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
 278                 <stringProp name="Argument.name">appSource</stringProp>
 279               </elementProp>
 280               <elementProp name="appVersion" elementType="HTTPArgument">
 281                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 282                 <stringProp name="Argument.value">${appVersion}</stringProp>
 283                 <stringProp name="Argument.metadata">=</stringProp>
 284                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
 285                 <stringProp name="Argument.name">appVersion</stringProp>
 286               </elementProp>
 287             </collectionProp>
 288           </elementProp>
 289           <stringProp name="HTTPSampler.domain">mb.51buy.com</stringProp>
 290           <stringProp name="HTTPSampler.port"></stringProp>
 291           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
 292           <stringProp name="HTTPSampler.response_timeout"></stringProp>
 293           <stringProp name="HTTPSampler.protocol">http</stringProp>
 294           <stringProp name="HTTPSampler.contentEncoding">GB2312</stringProp>
 295           <stringProp name="HTTPSampler.path">/json.php?mod=Search&amp;act=page&amp;p=1&amp;pp=20</stringProp>
 296           <stringProp name="HTTPSampler.method">POST</stringProp>
 297           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
 298           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
 299           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
 300           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
 301           <boolProp name="HTTPSampler.monitor">false</boolProp>
 302           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
 303         </HTTPSamplerProxy>
 304         <hashTree>
 305           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
 306             <collectionProp name="HeaderManager.headers">
 307               <elementProp name="Charset" elementType="Header">
 308                 <stringProp name="Header.name">Charset</stringProp>
 309                 <stringProp name="Header.value">UTF-8</stringProp>
 310               </elementProp>
 311               <elementProp name="Content-Type" elementType="Header">
 312                 <stringProp name="Header.name">Content-Type</stringProp>
 313                 <stringProp name="Header.value">application/x-www-form-urlencoded</stringProp>
 314               </elementProp>
 315               <elementProp name="Accept-Encoding" elementType="Header">
 316                 <stringProp name="Header.name">Accept-Encoding</stringProp>
 317                 <stringProp name="Header.value">gzip</stringProp>
 318               </elementProp>
 319               <elementProp name="User-Agent" elementType="Header">
 320                 <stringProp name="Header.name">User-Agent</stringProp>
 321                 <stringProp name="Header.value">Dalvik/1.6.0 (Linux; U; Android 4.4.2; GT-I9502 Build/KOT49H)</stringProp>
 322               </elementProp>
 323             </collectionProp>
 324           </HeaderManager>
 325           <hashTree/>
 326           <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="Cookies" enabled="true">
 327             <collectionProp name="CookieManager.cookies">
 328               <elementProp name="appSource" elementType="Cookie" testname="appSource">
 329                 <stringProp name="Cookie.value">${appSource}</stringProp>
 330                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 331                 <stringProp name="Cookie.path"></stringProp>
 332                 <boolProp name="Cookie.secure">false</boolProp>
 333                 <longProp name="Cookie.expires">0</longProp>
 334                 <boolProp name="Cookie.path_specified">true</boolProp>
 335                 <boolProp name="Cookie.domain_specified">true</boolProp>
 336               </elementProp>
 337               <elementProp name="appVersion" elementType="Cookie" testname="appVersion">
 338                 <stringProp name="Cookie.value">${appVersion}</stringProp>
 339                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 340                 <stringProp name="Cookie.path"></stringProp>
 341                 <boolProp name="Cookie.secure">false</boolProp>
 342                 <longProp name="Cookie.expires">0</longProp>
 343                 <boolProp name="Cookie.path_specified">true</boolProp>
 344                 <boolProp name="Cookie.domain_specified">true</boolProp>
 345               </elementProp>
 346               <elementProp name="channelId" elementType="Cookie" testname="channelId">
 347                 <stringProp name="Cookie.value">${channelId}</stringProp>
 348                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 349                 <stringProp name="Cookie.path"></stringProp>
 350                 <boolProp name="Cookie.secure">false</boolProp>
 351                 <longProp name="Cookie.expires">0</longProp>
 352                 <boolProp name="Cookie.path_specified">true</boolProp>
 353                 <boolProp name="Cookie.domain_specified">true</boolProp>
 354               </elementProp>
 355               <elementProp name="deviceId" elementType="Cookie" testname="deviceId">
 356                 <stringProp name="Cookie.value">${deviceId}</stringProp>
 357                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 358                 <stringProp name="Cookie.path"></stringProp>
 359                 <boolProp name="Cookie.secure">false</boolProp>
 360                 <longProp name="Cookie.expires">0</longProp>
 361                 <boolProp name="Cookie.path_specified">true</boolProp>
 362                 <boolProp name="Cookie.domain_specified">true</boolProp>
 363               </elementProp>
 364               <elementProp name="districtid" elementType="Cookie" testname="districtid">
 365                 <stringProp name="Cookie.value">${districtid}</stringProp>
 366                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 367                 <stringProp name="Cookie.path"></stringProp>
 368                 <boolProp name="Cookie.secure">false</boolProp>
 369                 <longProp name="Cookie.expires">0</longProp>
 370                 <boolProp name="Cookie.path_specified">true</boolProp>
 371                 <boolProp name="Cookie.domain_specified">true</boolProp>
 372               </elementProp>
 373               <elementProp name="skey" elementType="Cookie" testname="skey">
 374                 <stringProp name="Cookie.value">${userSkey}</stringProp>
 375                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 376                 <stringProp name="Cookie.path"></stringProp>
 377                 <boolProp name="Cookie.secure">false</boolProp>
 378                 <longProp name="Cookie.expires">0</longProp>
 379                 <boolProp name="Cookie.path_specified">true</boolProp>
 380                 <boolProp name="Cookie.domain_specified">true</boolProp>
 381               </elementProp>
 382               <elementProp name="token" elementType="Cookie" testname="token">
 383                 <stringProp name="Cookie.value">${token}</stringProp>
 384                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 385                 <stringProp name="Cookie.path"></stringProp>
 386                 <boolProp name="Cookie.secure">false</boolProp>
 387                 <longProp name="Cookie.expires">0</longProp>
 388                 <boolProp name="Cookie.path_specified">true</boolProp>
 389                 <boolProp name="Cookie.domain_specified">true</boolProp>
 390               </elementProp>
 391               <elementProp name="uid" elementType="Cookie" testname="uid">
 392                 <stringProp name="Cookie.value">${uid}</stringProp>
 393                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 394                 <stringProp name="Cookie.path"></stringProp>
 395                 <boolProp name="Cookie.secure">false</boolProp>
 396                 <longProp name="Cookie.expires">0</longProp>
 397                 <boolProp name="Cookie.path_specified">true</boolProp>
 398                 <boolProp name="Cookie.domain_specified">true</boolProp>
 399               </elementProp>
 400               <elementProp name="version" elementType="Cookie" testname="version">
 401                 <stringProp name="Cookie.value">${version}</stringProp>
 402                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 403                 <stringProp name="Cookie.path"></stringProp>
 404                 <boolProp name="Cookie.secure">false</boolProp>
 405                 <longProp name="Cookie.expires">0</longProp>
 406                 <boolProp name="Cookie.path_specified">true</boolProp>
 407                 <boolProp name="Cookie.domain_specified">true</boolProp>
 408               </elementProp>
 409               <elementProp name="wsid" elementType="Cookie" testname="wsid">
 410                 <stringProp name="Cookie.value">${wsid}</stringProp>
 411                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 412                 <stringProp name="Cookie.path"></stringProp>
 413                 <boolProp name="Cookie.secure">false</boolProp>
 414                 <longProp name="Cookie.expires">0</longProp>
 415                 <boolProp name="Cookie.path_specified">true</boolProp>
 416                 <boolProp name="Cookie.domain_specified">true</boolProp>
 417               </elementProp>
 418             </collectionProp>
 419             <boolProp name="CookieManager.clearEachIteration">true</boolProp>
 420           </CookieManager>
 421           <hashTree/>
 422           <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="target_product_ids" enabled="true">
 423             <stringProp name="TestPlan.comments">获取商品的系统编号</stringProp>
 424             <stringProp name="RegexExtractor.useHeaders">false</stringProp>
 425             <stringProp name="RegexExtractor.refname">target_product_ids</stringProp>
 426             <stringProp name="RegexExtractor.regex">sysNo&quot;:&quot;(.*?)&quot;</stringProp>
 427             <stringProp name="RegexExtractor.template">$1$</stringProp>
 428             <stringProp name="RegexExtractor.default">ERROR</stringProp>
 429             <stringProp name="RegexExtractor.match_number">1</stringProp>
 430           </RegexExtractor>
 431           <hashTree/>
 432           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-判断搜索结果中是否含有要添加到收藏的商品" enabled="true">
 433             <collectionProp name="Asserion.test_strings">
 434               <stringProp name="123312010">${productID}</stringProp>
 435             </collectionProp>
 436             <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
 437             <boolProp name="Assertion.assume_success">false</boolProp>
 438             <intProp name="Assertion.test_type">16</intProp>
 439           </ResponseAssertion>
 440           <hashTree/>
 441         </hashTree>
 442         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="T002-02-收藏列表 【${productID} | ${target_product_ids}】" enabled="true">
 443           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
 444             <collectionProp name="Arguments.arguments">
 445               <elementProp name="uid" elementType="HTTPArgument">
 446                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 447                 <stringProp name="Argument.name">uid</stringProp>
 448                 <stringProp name="Argument.value">${uid}</stringProp>
 449                 <stringProp name="Argument.metadata">=</stringProp>
 450                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
 451               </elementProp>
 452               <elementProp name="page" elementType="HTTPArgument">
 453                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 454                 <stringProp name="Argument.name">page</stringProp>
 455                 <stringProp name="Argument.value">0</stringProp>
 456                 <stringProp name="Argument.metadata">=</stringProp>
 457                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
 458               </elementProp>
 459               <elementProp name="exAppTag" elementType="HTTPArgument">
 460                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 461                 <stringProp name="Argument.name">exAppTag</stringProp>
 462                 <stringProp name="Argument.value">2045191607</stringProp>
 463                 <stringProp name="Argument.metadata">=</stringProp>
 464                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
 465               </elementProp>
 466             </collectionProp>
 467           </elementProp>
 468           <stringProp name="HTTPSampler.domain">mb.51buy.com</stringProp>
 469           <stringProp name="HTTPSampler.port"></stringProp>
 470           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
 471           <stringProp name="HTTPSampler.response_timeout"></stringProp>
 472           <stringProp name="HTTPSampler.protocol">http</stringProp>
 473           <stringProp name="HTTPSampler.contentEncoding">GB2312</stringProp>
 474           <stringProp name="HTTPSampler.path">/json.php?mod=myfavor&amp;act=get&amp;appSource=android&amp;appVersion=${appVersion}</stringProp>
 475           <stringProp name="HTTPSampler.method">POST</stringProp>
 476           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
 477           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
 478           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
 479           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
 480           <boolProp name="HTTPSampler.monitor">false</boolProp>
 481           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
 482           <stringProp name="TestPlan.comments">从收藏列表中获取对应收藏商品的收藏 ID</stringProp>
 483         </HTTPSamplerProxy>
 484         <hashTree>
 485           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
 486             <collectionProp name="HeaderManager.headers">
 487               <elementProp name="Charset" elementType="Header">
 488                 <stringProp name="Header.name">Charset</stringProp>
 489                 <stringProp name="Header.value">UTF-8</stringProp>
 490               </elementProp>
 491               <elementProp name="Content-Type" elementType="Header">
 492                 <stringProp name="Header.name">Content-Type</stringProp>
 493                 <stringProp name="Header.value">application/x-www-form-urlencoded</stringProp>
 494               </elementProp>
 495               <elementProp name="Accept-Encoding" elementType="Header">
 496                 <stringProp name="Header.name">Accept-Encoding</stringProp>
 497                 <stringProp name="Header.value">gzip</stringProp>
 498               </elementProp>
 499               <elementProp name="User-Agent" elementType="Header">
 500                 <stringProp name="Header.name">User-Agent</stringProp>
 501                 <stringProp name="Header.value">Dalvik/1.6.0 (Linux; U; Android 4.4.2; GT-I9502 Build/KOT49H)</stringProp>
 502               </elementProp>
 503             </collectionProp>
 504           </HeaderManager>
 505           <hashTree/>
 506           <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="Cookies" enabled="true">
 507             <collectionProp name="CookieManager.cookies">
 508               <elementProp name="appSource" elementType="Cookie" testname="appSource">
 509                 <stringProp name="Cookie.value">${appSource}</stringProp>
 510                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 511                 <stringProp name="Cookie.path"></stringProp>
 512                 <boolProp name="Cookie.secure">false</boolProp>
 513                 <longProp name="Cookie.expires">0</longProp>
 514                 <boolProp name="Cookie.path_specified">true</boolProp>
 515                 <boolProp name="Cookie.domain_specified">true</boolProp>
 516               </elementProp>
 517               <elementProp name="appVersion" elementType="Cookie" testname="appVersion">
 518                 <stringProp name="Cookie.value">${appVersion}</stringProp>
 519                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 520                 <stringProp name="Cookie.path"></stringProp>
 521                 <boolProp name="Cookie.secure">false</boolProp>
 522                 <longProp name="Cookie.expires">0</longProp>
 523                 <boolProp name="Cookie.path_specified">true</boolProp>
 524                 <boolProp name="Cookie.domain_specified">true</boolProp>
 525               </elementProp>
 526               <elementProp name="channelId" elementType="Cookie" testname="channelId">
 527                 <stringProp name="Cookie.value">${channelId}</stringProp>
 528                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 529                 <stringProp name="Cookie.path"></stringProp>
 530                 <boolProp name="Cookie.secure">false</boolProp>
 531                 <longProp name="Cookie.expires">0</longProp>
 532                 <boolProp name="Cookie.path_specified">true</boolProp>
 533                 <boolProp name="Cookie.domain_specified">true</boolProp>
 534               </elementProp>
 535               <elementProp name="deviceId" elementType="Cookie" testname="deviceId">
 536                 <stringProp name="Cookie.value">${deviceId}</stringProp>
 537                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 538                 <stringProp name="Cookie.path"></stringProp>
 539                 <boolProp name="Cookie.secure">false</boolProp>
 540                 <longProp name="Cookie.expires">0</longProp>
 541                 <boolProp name="Cookie.path_specified">true</boolProp>
 542                 <boolProp name="Cookie.domain_specified">true</boolProp>
 543               </elementProp>
 544               <elementProp name="districtid" elementType="Cookie" testname="districtid">
 545                 <stringProp name="Cookie.value">${districtid}</stringProp>
 546                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 547                 <stringProp name="Cookie.path"></stringProp>
 548                 <boolProp name="Cookie.secure">false</boolProp>
 549                 <longProp name="Cookie.expires">0</longProp>
 550                 <boolProp name="Cookie.path_specified">true</boolProp>
 551                 <boolProp name="Cookie.domain_specified">true</boolProp>
 552               </elementProp>
 553               <elementProp name="skey" elementType="Cookie" testname="skey">
 554                 <stringProp name="Cookie.value">${userSkey}</stringProp>
 555                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 556                 <stringProp name="Cookie.path"></stringProp>
 557                 <boolProp name="Cookie.secure">false</boolProp>
 558                 <longProp name="Cookie.expires">0</longProp>
 559                 <boolProp name="Cookie.path_specified">true</boolProp>
 560                 <boolProp name="Cookie.domain_specified">true</boolProp>
 561               </elementProp>
 562               <elementProp name="token" elementType="Cookie" testname="token">
 563                 <stringProp name="Cookie.value">${token}</stringProp>
 564                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 565                 <stringProp name="Cookie.path"></stringProp>
 566                 <boolProp name="Cookie.secure">false</boolProp>
 567                 <longProp name="Cookie.expires">0</longProp>
 568                 <boolProp name="Cookie.path_specified">true</boolProp>
 569                 <boolProp name="Cookie.domain_specified">true</boolProp>
 570               </elementProp>
 571               <elementProp name="uid" elementType="Cookie" testname="uid">
 572                 <stringProp name="Cookie.value">${uid}</stringProp>
 573                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 574                 <stringProp name="Cookie.path"></stringProp>
 575                 <boolProp name="Cookie.secure">false</boolProp>
 576                 <longProp name="Cookie.expires">0</longProp>
 577                 <boolProp name="Cookie.path_specified">true</boolProp>
 578                 <boolProp name="Cookie.domain_specified">true</boolProp>
 579               </elementProp>
 580               <elementProp name="version" elementType="Cookie" testname="version">
 581                 <stringProp name="Cookie.value">${version}</stringProp>
 582                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 583                 <stringProp name="Cookie.path"></stringProp>
 584                 <boolProp name="Cookie.secure">false</boolProp>
 585                 <longProp name="Cookie.expires">0</longProp>
 586                 <boolProp name="Cookie.path_specified">true</boolProp>
 587                 <boolProp name="Cookie.domain_specified">true</boolProp>
 588               </elementProp>
 589               <elementProp name="wsid" elementType="Cookie" testname="wsid">
 590                 <stringProp name="Cookie.value">${wsid}</stringProp>
 591                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
 592                 <stringProp name="Cookie.path"></stringProp>
 593                 <boolProp name="Cookie.secure">false</boolProp>
 594                 <longProp name="Cookie.expires">0</longProp>
 595                 <boolProp name="Cookie.path_specified">true</boolProp>
 596                 <boolProp name="Cookie.domain_specified">true</boolProp>
 597               </elementProp>
 598             </collectionProp>
 599             <boolProp name="CookieManager.clearEachIteration">true</boolProp>
 600           </CookieManager>
 601           <hashTree/>
 602           <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="assert_getFavorID" enabled="true">
 603             <stringProp name="TestPlan.comments">通过商品编号查询收藏列表中商品对应的收藏编号</stringProp>
 604             <stringProp name="RegexExtractor.useHeaders">false</stringProp>
 605             <stringProp name="RegexExtractor.refname">assert_getFavorID</stringProp>
 606             <stringProp name="RegexExtractor.regex">&quot;product_id&quot;:&quot;(${target_product_ids})&quot;,&quot;(.+?)&quot;,&quot;favor_id&quot;:(.+?),&quot;sale_type&quot;:</stringProp>
 607             <stringProp name="RegexExtractor.template">$3$</stringProp>
 608             <stringProp name="RegexExtractor.default">ERROR</stringProp>
 609             <stringProp name="RegexExtractor.match_number">1</stringProp>
 610           </RegexExtractor>
 611           <hashTree/>
 612           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-判断收藏列表是否正确获取" enabled="true">
 613             <collectionProp name="Asserion.test_strings">
 614               <stringProp name="1395041074">errno&quot;:0</stringProp>
 615             </collectionProp>
 616             <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
 617             <boolProp name="Assertion.assume_success">false</boolProp>
 618             <intProp name="Assertion.test_type">2</intProp>
 619           </ResponseAssertion>
 620           <hashTree/>
 621         </hashTree>
 622         <IfController guiclass="IfControllerPanel" testclass="IfController" testname="T002-03-若存在收藏商品 【${productID} | ${target_product_ids}】, 则删除" enabled="true">
 623           <stringProp name="IfController.condition">&quot;${assert_getFavorID}&quot; != &quot;ERROR&quot;</stringProp>
 624           <boolProp name="IfController.evaluateAll">false</boolProp>
 625         </IfController>
 626         <hashTree>
 627           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="T002-04-1-收藏-删除 【${productID} | ${target_product_ids}】" enabled="true">
 628             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
 629               <collectionProp name="Arguments.arguments">
 630                 <elementProp name="uid" elementType="HTTPArgument">
 631                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
 632                   <stringProp name="Argument.name">uid</stringProp>
 633                   <stringProp name="Argument.value">${uid}</stringProp>
 634                   <stringProp name="Argument.metadata">=</stringProp>
 635                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
 636                 </elementProp>
 637                 <elementProp name="product_ids" elementType="HTTPArgument">
 638                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
 639                   <stringProp name="Argument.name">product_ids</stringProp>
 640                   <stringProp name="Argument.value">${target_product_ids}</stringProp>
 641                   <stringProp name="Argument.metadata">=</stringProp>
 642                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
 643                 </elementProp>
 644                 <elementProp name="favor_ids" elementType="HTTPArgument">
 645                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
 646                   <stringProp name="Argument.name">favor_ids</stringProp>
 647                   <stringProp name="Argument.value">${assert_getFavorID}</stringProp>
 648                   <stringProp name="Argument.metadata">=</stringProp>
 649                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
 650                 </elementProp>
 651                 <elementProp name="exAppTag" elementType="HTTPArgument">
 652                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
 653                   <stringProp name="Argument.name">exAppTag</stringProp>
 654                   <stringProp name="Argument.value">2045191607</stringProp>
 655                   <stringProp name="Argument.metadata">=</stringProp>
 656                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
 657                 </elementProp>
 658               </collectionProp>
 659             </elementProp>
 660             <stringProp name="HTTPSampler.domain">mb.51buy.com</stringProp>
 661             <stringProp name="HTTPSampler.port"></stringProp>
 662             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
 663             <stringProp name="HTTPSampler.response_timeout"></stringProp>
 664             <stringProp name="HTTPSampler.protocol">http</stringProp>
 665             <stringProp name="HTTPSampler.contentEncoding">GB2312</stringProp>
 666             <stringProp name="HTTPSampler.path">/json.php?mod=myfavor&amp;act=remove&amp;appSource=android&amp;appVersion=${appVersion}</stringProp>
 667             <stringProp name="HTTPSampler.method">POST</stringProp>
 668             <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
 669             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
 670             <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
 671             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
 672             <boolProp name="HTTPSampler.monitor">false</boolProp>
 673             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
 674           </HTTPSamplerProxy>
 675           <hashTree>
 676             <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
 677               <collectionProp name="HeaderManager.headers">
 678                 <elementProp name="Charset" elementType="Header">
 679                   <stringProp name="Header.name">Charset</stringProp>
 680                   <stringProp name="Header.value">UTF-8</stringProp>
 681                 </elementProp>
 682                 <elementProp name="Content-Type" elementType="Header">
 683                   <stringProp name="Header.name">Content-Type</stringProp>
 684                   <stringProp name="Header.value">application/x-www-form-urlencoded</stringProp>
 685                 </elementProp>
 686                 <elementProp name="Accept-Encoding" elementType="Header">
 687                   <stringProp name="Header.name">Accept-Encoding</stringProp>
 688                   <stringProp name="Header.value">gzip</stringProp>
 689                 </elementProp>
 690                 <elementProp name="User-Agent" elementType="Header">
 691                   <stringProp name="Header.name">User-Agent</stringProp>
 692                   <stringProp name="Header.value">Dalvik/1.6.0 (Linux; U; Android 4.4.2; GT-I9502 Build/KOT49H)</stringProp>
 693                 </elementProp>
 694               </collectionProp>
 695             </HeaderManager>
 696             <hashTree/>
 697             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-删除结果返回码" enabled="true">
 698               <collectionProp name="Asserion.test_strings">
 699                 <stringProp name="1395041074">errno&quot;:0</stringProp>
 700               </collectionProp>
 701               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
 702               <boolProp name="Assertion.assume_success">false</boolProp>
 703               <intProp name="Assertion.test_type">16</intProp>
 704             </ResponseAssertion>
 705             <hashTree/>
 706             <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="Cookies" enabled="true">
 707               <collectionProp name="CookieManager.cookies">
 708                 <elementProp name="appSource" elementType="Cookie" testname="appSource">
 709                   <stringProp name="Cookie.value">${appSource}</stringProp>
 710                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 711                   <stringProp name="Cookie.path"></stringProp>
 712                   <boolProp name="Cookie.secure">false</boolProp>
 713                   <longProp name="Cookie.expires">0</longProp>
 714                   <boolProp name="Cookie.path_specified">true</boolProp>
 715                   <boolProp name="Cookie.domain_specified">true</boolProp>
 716                 </elementProp>
 717                 <elementProp name="appVersion" elementType="Cookie" testname="appVersion">
 718                   <stringProp name="Cookie.value">${appVersion}</stringProp>
 719                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 720                   <stringProp name="Cookie.path"></stringProp>
 721                   <boolProp name="Cookie.secure">false</boolProp>
 722                   <longProp name="Cookie.expires">0</longProp>
 723                   <boolProp name="Cookie.path_specified">true</boolProp>
 724                   <boolProp name="Cookie.domain_specified">true</boolProp>
 725                 </elementProp>
 726                 <elementProp name="channelId" elementType="Cookie" testname="channelId">
 727                   <stringProp name="Cookie.value">${channelId}</stringProp>
 728                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 729                   <stringProp name="Cookie.path"></stringProp>
 730                   <boolProp name="Cookie.secure">false</boolProp>
 731                   <longProp name="Cookie.expires">0</longProp>
 732                   <boolProp name="Cookie.path_specified">true</boolProp>
 733                   <boolProp name="Cookie.domain_specified">true</boolProp>
 734                 </elementProp>
 735                 <elementProp name="deviceId" elementType="Cookie" testname="deviceId">
 736                   <stringProp name="Cookie.value">${deviceId}</stringProp>
 737                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 738                   <stringProp name="Cookie.path"></stringProp>
 739                   <boolProp name="Cookie.secure">false</boolProp>
 740                   <longProp name="Cookie.expires">0</longProp>
 741                   <boolProp name="Cookie.path_specified">true</boolProp>
 742                   <boolProp name="Cookie.domain_specified">true</boolProp>
 743                 </elementProp>
 744                 <elementProp name="districtid" elementType="Cookie" testname="districtid">
 745                   <stringProp name="Cookie.value">${districtid}</stringProp>
 746                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 747                   <stringProp name="Cookie.path"></stringProp>
 748                   <boolProp name="Cookie.secure">false</boolProp>
 749                   <longProp name="Cookie.expires">0</longProp>
 750                   <boolProp name="Cookie.path_specified">true</boolProp>
 751                   <boolProp name="Cookie.domain_specified">true</boolProp>
 752                 </elementProp>
 753                 <elementProp name="skey" elementType="Cookie" testname="skey">
 754                   <stringProp name="Cookie.value">${userSkey}</stringProp>
 755                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 756                   <stringProp name="Cookie.path"></stringProp>
 757                   <boolProp name="Cookie.secure">false</boolProp>
 758                   <longProp name="Cookie.expires">0</longProp>
 759                   <boolProp name="Cookie.path_specified">true</boolProp>
 760                   <boolProp name="Cookie.domain_specified">true</boolProp>
 761                 </elementProp>
 762                 <elementProp name="token" elementType="Cookie" testname="token">
 763                   <stringProp name="Cookie.value">${token}</stringProp>
 764                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 765                   <stringProp name="Cookie.path"></stringProp>
 766                   <boolProp name="Cookie.secure">false</boolProp>
 767                   <longProp name="Cookie.expires">0</longProp>
 768                   <boolProp name="Cookie.path_specified">true</boolProp>
 769                   <boolProp name="Cookie.domain_specified">true</boolProp>
 770                 </elementProp>
 771                 <elementProp name="uid" elementType="Cookie" testname="uid">
 772                   <stringProp name="Cookie.value">${uid}</stringProp>
 773                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 774                   <stringProp name="Cookie.path"></stringProp>
 775                   <boolProp name="Cookie.secure">false</boolProp>
 776                   <longProp name="Cookie.expires">0</longProp>
 777                   <boolProp name="Cookie.path_specified">true</boolProp>
 778                   <boolProp name="Cookie.domain_specified">true</boolProp>
 779                 </elementProp>
 780                 <elementProp name="version" elementType="Cookie" testname="version">
 781                   <stringProp name="Cookie.value">${version}</stringProp>
 782                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 783                   <stringProp name="Cookie.path"></stringProp>
 784                   <boolProp name="Cookie.secure">false</boolProp>
 785                   <longProp name="Cookie.expires">0</longProp>
 786                   <boolProp name="Cookie.path_specified">true</boolProp>
 787                   <boolProp name="Cookie.domain_specified">true</boolProp>
 788                 </elementProp>
 789                 <elementProp name="wsid" elementType="Cookie" testname="wsid">
 790                   <stringProp name="Cookie.value">${wsid}</stringProp>
 791                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 792                   <stringProp name="Cookie.path"></stringProp>
 793                   <boolProp name="Cookie.secure">false</boolProp>
 794                   <longProp name="Cookie.expires">0</longProp>
 795                   <boolProp name="Cookie.path_specified">true</boolProp>
 796                   <boolProp name="Cookie.domain_specified">true</boolProp>
 797                 </elementProp>
 798               </collectionProp>
 799               <boolProp name="CookieManager.clearEachIteration">true</boolProp>
 800             </CookieManager>
 801             <hashTree/>
 802           </hashTree>
 803           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="T002-04-2-收藏-验证删除 【${productID} | ${target_product_ids}】" enabled="true">
 804             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
 805               <collectionProp name="Arguments.arguments">
 806                 <elementProp name="uid" elementType="HTTPArgument">
 807                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
 808                   <stringProp name="Argument.name">uid</stringProp>
 809                   <stringProp name="Argument.value">${uid}</stringProp>
 810                   <stringProp name="Argument.metadata">=</stringProp>
 811                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
 812                 </elementProp>
 813                 <elementProp name="page" elementType="HTTPArgument">
 814                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
 815                   <stringProp name="Argument.name">page</stringProp>
 816                   <stringProp name="Argument.value">0</stringProp>
 817                   <stringProp name="Argument.metadata">=</stringProp>
 818                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
 819                 </elementProp>
 820                 <elementProp name="exAppTag" elementType="HTTPArgument">
 821                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
 822                   <stringProp name="Argument.name">exAppTag</stringProp>
 823                   <stringProp name="Argument.value">2045191607</stringProp>
 824                   <stringProp name="Argument.metadata">=</stringProp>
 825                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
 826                 </elementProp>
 827               </collectionProp>
 828             </elementProp>
 829             <stringProp name="HTTPSampler.domain">mb.51buy.com</stringProp>
 830             <stringProp name="HTTPSampler.port"></stringProp>
 831             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
 832             <stringProp name="HTTPSampler.response_timeout"></stringProp>
 833             <stringProp name="HTTPSampler.protocol">http</stringProp>
 834             <stringProp name="HTTPSampler.contentEncoding">GB2312</stringProp>
 835             <stringProp name="HTTPSampler.path">/json.php?mod=myfavor&amp;act=get&amp;appSource=android&amp;appVersion=${appVersion}</stringProp>
 836             <stringProp name="HTTPSampler.method">POST</stringProp>
 837             <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
 838             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
 839             <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
 840             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
 841             <boolProp name="HTTPSampler.monitor">false</boolProp>
 842             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
 843           </HTTPSamplerProxy>
 844           <hashTree>
 845             <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
 846               <collectionProp name="HeaderManager.headers">
 847                 <elementProp name="Charset" elementType="Header">
 848                   <stringProp name="Header.name">Charset</stringProp>
 849                   <stringProp name="Header.value">UTF-8</stringProp>
 850                 </elementProp>
 851                 <elementProp name="Content-Type" elementType="Header">
 852                   <stringProp name="Header.name">Content-Type</stringProp>
 853                   <stringProp name="Header.value">application/x-www-form-urlencoded</stringProp>
 854                 </elementProp>
 855                 <elementProp name="Accept-Encoding" elementType="Header">
 856                   <stringProp name="Header.name">Accept-Encoding</stringProp>
 857                   <stringProp name="Header.value">gzip</stringProp>
 858                 </elementProp>
 859                 <elementProp name="User-Agent" elementType="Header">
 860                   <stringProp name="Header.name">User-Agent</stringProp>
 861                   <stringProp name="Header.value">Dalvik/1.6.0 (Linux; U; Android 4.4.2; GT-I9502 Build/KOT49H)</stringProp>
 862                 </elementProp>
 863               </collectionProp>
 864             </HeaderManager>
 865             <hashTree/>
 866             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-查询结果返回码" enabled="true">
 867               <collectionProp name="Asserion.test_strings">
 868                 <stringProp name="1395041074">errno&quot;:0</stringProp>
 869               </collectionProp>
 870               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
 871               <boolProp name="Assertion.assume_success">false</boolProp>
 872               <intProp name="Assertion.test_type">2</intProp>
 873             </ResponseAssertion>
 874             <hashTree/>
 875             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-不存在即将收藏的商品" enabled="true">
 876               <collectionProp name="Asserion.test_strings">
 877                 <stringProp name="-180864052">${target_product_ids}</stringProp>
 878               </collectionProp>
 879               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
 880               <boolProp name="Assertion.assume_success">false</boolProp>
 881               <intProp name="Assertion.test_type">6</intProp>
 882             </ResponseAssertion>
 883             <hashTree/>
 884             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-收藏商品的收藏编号是否在收藏列表" enabled="true">
 885               <collectionProp name="Asserion.test_strings">
 886                 <stringProp name="550944472">${assert_getFavorID}</stringProp>
 887               </collectionProp>
 888               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
 889               <boolProp name="Assertion.assume_success">false</boolProp>
 890               <intProp name="Assertion.test_type">6</intProp>
 891               <stringProp name="TestPlan.comments">若存在,则说明之前的删除操作失败</stringProp>
 892             </ResponseAssertion>
 893             <hashTree/>
 894             <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="Cookies" enabled="true">
 895               <collectionProp name="CookieManager.cookies">
 896                 <elementProp name="appSource" elementType="Cookie" testname="appSource">
 897                   <stringProp name="Cookie.value">${appSource}</stringProp>
 898                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 899                   <stringProp name="Cookie.path"></stringProp>
 900                   <boolProp name="Cookie.secure">false</boolProp>
 901                   <longProp name="Cookie.expires">0</longProp>
 902                   <boolProp name="Cookie.path_specified">true</boolProp>
 903                   <boolProp name="Cookie.domain_specified">true</boolProp>
 904                 </elementProp>
 905                 <elementProp name="appVersion" elementType="Cookie" testname="appVersion">
 906                   <stringProp name="Cookie.value">${appVersion}</stringProp>
 907                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 908                   <stringProp name="Cookie.path"></stringProp>
 909                   <boolProp name="Cookie.secure">false</boolProp>
 910                   <longProp name="Cookie.expires">0</longProp>
 911                   <boolProp name="Cookie.path_specified">true</boolProp>
 912                   <boolProp name="Cookie.domain_specified">true</boolProp>
 913                 </elementProp>
 914                 <elementProp name="channelId" elementType="Cookie" testname="channelId">
 915                   <stringProp name="Cookie.value">${channelId}</stringProp>
 916                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 917                   <stringProp name="Cookie.path"></stringProp>
 918                   <boolProp name="Cookie.secure">false</boolProp>
 919                   <longProp name="Cookie.expires">0</longProp>
 920                   <boolProp name="Cookie.path_specified">true</boolProp>
 921                   <boolProp name="Cookie.domain_specified">true</boolProp>
 922                 </elementProp>
 923                 <elementProp name="deviceId" elementType="Cookie" testname="deviceId">
 924                   <stringProp name="Cookie.value">${deviceId}</stringProp>
 925                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 926                   <stringProp name="Cookie.path"></stringProp>
 927                   <boolProp name="Cookie.secure">false</boolProp>
 928                   <longProp name="Cookie.expires">0</longProp>
 929                   <boolProp name="Cookie.path_specified">true</boolProp>
 930                   <boolProp name="Cookie.domain_specified">true</boolProp>
 931                 </elementProp>
 932                 <elementProp name="districtid" elementType="Cookie" testname="districtid">
 933                   <stringProp name="Cookie.value">${districtid}</stringProp>
 934                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 935                   <stringProp name="Cookie.path"></stringProp>
 936                   <boolProp name="Cookie.secure">false</boolProp>
 937                   <longProp name="Cookie.expires">0</longProp>
 938                   <boolProp name="Cookie.path_specified">true</boolProp>
 939                   <boolProp name="Cookie.domain_specified">true</boolProp>
 940                 </elementProp>
 941                 <elementProp name="skey" elementType="Cookie" testname="skey">
 942                   <stringProp name="Cookie.value">${userSkey}</stringProp>
 943                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 944                   <stringProp name="Cookie.path"></stringProp>
 945                   <boolProp name="Cookie.secure">false</boolProp>
 946                   <longProp name="Cookie.expires">0</longProp>
 947                   <boolProp name="Cookie.path_specified">true</boolProp>
 948                   <boolProp name="Cookie.domain_specified">true</boolProp>
 949                 </elementProp>
 950                 <elementProp name="token" elementType="Cookie" testname="token">
 951                   <stringProp name="Cookie.value">${token}</stringProp>
 952                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 953                   <stringProp name="Cookie.path"></stringProp>
 954                   <boolProp name="Cookie.secure">false</boolProp>
 955                   <longProp name="Cookie.expires">0</longProp>
 956                   <boolProp name="Cookie.path_specified">true</boolProp>
 957                   <boolProp name="Cookie.domain_specified">true</boolProp>
 958                 </elementProp>
 959                 <elementProp name="uid" elementType="Cookie" testname="uid">
 960                   <stringProp name="Cookie.value">${uid}</stringProp>
 961                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 962                   <stringProp name="Cookie.path"></stringProp>
 963                   <boolProp name="Cookie.secure">false</boolProp>
 964                   <longProp name="Cookie.expires">0</longProp>
 965                   <boolProp name="Cookie.path_specified">true</boolProp>
 966                   <boolProp name="Cookie.domain_specified">true</boolProp>
 967                 </elementProp>
 968                 <elementProp name="version" elementType="Cookie" testname="version">
 969                   <stringProp name="Cookie.value">${version}</stringProp>
 970                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 971                   <stringProp name="Cookie.path"></stringProp>
 972                   <boolProp name="Cookie.secure">false</boolProp>
 973                   <longProp name="Cookie.expires">0</longProp>
 974                   <boolProp name="Cookie.path_specified">true</boolProp>
 975                   <boolProp name="Cookie.domain_specified">true</boolProp>
 976                 </elementProp>
 977                 <elementProp name="wsid" elementType="Cookie" testname="wsid">
 978                   <stringProp name="Cookie.value">${wsid}</stringProp>
 979                   <stringProp name="Cookie.domain">.51buy.com</stringProp>
 980                   <stringProp name="Cookie.path"></stringProp>
 981                   <boolProp name="Cookie.secure">false</boolProp>
 982                   <longProp name="Cookie.expires">0</longProp>
 983                   <boolProp name="Cookie.path_specified">true</boolProp>
 984                   <boolProp name="Cookie.domain_specified">true</boolProp>
 985                 </elementProp>
 986               </collectionProp>
 987               <boolProp name="CookieManager.clearEachIteration">true</boolProp>
 988             </CookieManager>
 989             <hashTree/>
 990           </hashTree>
 991         </hashTree>
 992         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="T002-04-收藏-添加 【${target_product_ids}】" enabled="true">
 993           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
 994             <collectionProp name="Arguments.arguments">
 995               <elementProp name="uid" elementType="HTTPArgument">
 996                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
 997                 <stringProp name="Argument.name">uid</stringProp>
 998                 <stringProp name="Argument.value">${uid}</stringProp>
 999                 <stringProp name="Argument.metadata">=</stringProp>
1000                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1001               </elementProp>
1002               <elementProp name="pid" elementType="HTTPArgument">
1003                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1004                 <stringProp name="Argument.name">pid</stringProp>
1005                 <stringProp name="Argument.value">${target_product_ids}</stringProp>
1006                 <stringProp name="Argument.metadata">=</stringProp>
1007                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1008               </elementProp>
1009               <elementProp name="exAppTag" elementType="HTTPArgument">
1010                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1011                 <stringProp name="Argument.name">exAppTag</stringProp>
1012                 <stringProp name="Argument.value">2045191607</stringProp>
1013                 <stringProp name="Argument.metadata">=</stringProp>
1014                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1015               </elementProp>
1016             </collectionProp>
1017           </elementProp>
1018           <stringProp name="HTTPSampler.domain">mb.51buy.com</stringProp>
1019           <stringProp name="HTTPSampler.port"></stringProp>
1020           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1021           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1022           <stringProp name="HTTPSampler.protocol">http</stringProp>
1023           <stringProp name="HTTPSampler.contentEncoding">GB2312</stringProp>
1024           <stringProp name="HTTPSampler.path">/json.php?mod=myfavor&amp;act=add&amp;appSource=android&amp;appVersion=${appVersion}</stringProp>
1025           <stringProp name="HTTPSampler.method">POST</stringProp>
1026           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1027           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1028           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1029           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1030           <boolProp name="HTTPSampler.monitor">false</boolProp>
1031           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1032         </HTTPSamplerProxy>
1033         <hashTree>
1034           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
1035             <collectionProp name="HeaderManager.headers">
1036               <elementProp name="Charset" elementType="Header">
1037                 <stringProp name="Header.name">Charset</stringProp>
1038                 <stringProp name="Header.value">UTF-8</stringProp>
1039               </elementProp>
1040               <elementProp name="Content-Type" elementType="Header">
1041                 <stringProp name="Header.name">Content-Type</stringProp>
1042                 <stringProp name="Header.value">application/x-www-form-urlencoded</stringProp>
1043               </elementProp>
1044               <elementProp name="Accept-Encoding" elementType="Header">
1045                 <stringProp name="Header.name">Accept-Encoding</stringProp>
1046                 <stringProp name="Header.value">gzip</stringProp>
1047               </elementProp>
1048               <elementProp name="User-Agent" elementType="Header">
1049                 <stringProp name="Header.name">User-Agent</stringProp>
1050                 <stringProp name="Header.value">Dalvik/1.6.0 (Linux; U; Android 4.4.2; GT-I9502 Build/KOT49H)</stringProp>
1051               </elementProp>
1052             </collectionProp>
1053           </HeaderManager>
1054           <hashTree/>
1055           <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="Cookies" enabled="true">
1056             <collectionProp name="CookieManager.cookies">
1057               <elementProp name="appSource" elementType="Cookie" testname="appSource">
1058                 <stringProp name="Cookie.value">${appSource}</stringProp>
1059                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1060                 <stringProp name="Cookie.path"></stringProp>
1061                 <boolProp name="Cookie.secure">false</boolProp>
1062                 <longProp name="Cookie.expires">0</longProp>
1063                 <boolProp name="Cookie.path_specified">true</boolProp>
1064                 <boolProp name="Cookie.domain_specified">true</boolProp>
1065               </elementProp>
1066               <elementProp name="appVersion" elementType="Cookie" testname="appVersion">
1067                 <stringProp name="Cookie.value">${appVersion}</stringProp>
1068                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1069                 <stringProp name="Cookie.path"></stringProp>
1070                 <boolProp name="Cookie.secure">false</boolProp>
1071                 <longProp name="Cookie.expires">0</longProp>
1072                 <boolProp name="Cookie.path_specified">true</boolProp>
1073                 <boolProp name="Cookie.domain_specified">true</boolProp>
1074               </elementProp>
1075               <elementProp name="channelId" elementType="Cookie" testname="channelId">
1076                 <stringProp name="Cookie.value">${channelId}</stringProp>
1077                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1078                 <stringProp name="Cookie.path"></stringProp>
1079                 <boolProp name="Cookie.secure">false</boolProp>
1080                 <longProp name="Cookie.expires">0</longProp>
1081                 <boolProp name="Cookie.path_specified">true</boolProp>
1082                 <boolProp name="Cookie.domain_specified">true</boolProp>
1083               </elementProp>
1084               <elementProp name="deviceId" elementType="Cookie" testname="deviceId">
1085                 <stringProp name="Cookie.value">${deviceId}</stringProp>
1086                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1087                 <stringProp name="Cookie.path"></stringProp>
1088                 <boolProp name="Cookie.secure">false</boolProp>
1089                 <longProp name="Cookie.expires">0</longProp>
1090                 <boolProp name="Cookie.path_specified">true</boolProp>
1091                 <boolProp name="Cookie.domain_specified">true</boolProp>
1092               </elementProp>
1093               <elementProp name="districtid" elementType="Cookie" testname="districtid">
1094                 <stringProp name="Cookie.value">${districtid}</stringProp>
1095                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1096                 <stringProp name="Cookie.path"></stringProp>
1097                 <boolProp name="Cookie.secure">false</boolProp>
1098                 <longProp name="Cookie.expires">0</longProp>
1099                 <boolProp name="Cookie.path_specified">true</boolProp>
1100                 <boolProp name="Cookie.domain_specified">true</boolProp>
1101               </elementProp>
1102               <elementProp name="skey" elementType="Cookie" testname="skey">
1103                 <stringProp name="Cookie.value">${userSkey}</stringProp>
1104                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1105                 <stringProp name="Cookie.path"></stringProp>
1106                 <boolProp name="Cookie.secure">false</boolProp>
1107                 <longProp name="Cookie.expires">0</longProp>
1108                 <boolProp name="Cookie.path_specified">true</boolProp>
1109                 <boolProp name="Cookie.domain_specified">true</boolProp>
1110               </elementProp>
1111               <elementProp name="token" elementType="Cookie" testname="token">
1112                 <stringProp name="Cookie.value">${token}</stringProp>
1113                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1114                 <stringProp name="Cookie.path"></stringProp>
1115                 <boolProp name="Cookie.secure">false</boolProp>
1116                 <longProp name="Cookie.expires">0</longProp>
1117                 <boolProp name="Cookie.path_specified">true</boolProp>
1118                 <boolProp name="Cookie.domain_specified">true</boolProp>
1119               </elementProp>
1120               <elementProp name="uid" elementType="Cookie" testname="uid">
1121                 <stringProp name="Cookie.value">${uid}</stringProp>
1122                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1123                 <stringProp name="Cookie.path"></stringProp>
1124                 <boolProp name="Cookie.secure">false</boolProp>
1125                 <longProp name="Cookie.expires">0</longProp>
1126                 <boolProp name="Cookie.path_specified">true</boolProp>
1127                 <boolProp name="Cookie.domain_specified">true</boolProp>
1128               </elementProp>
1129               <elementProp name="version" elementType="Cookie" testname="version">
1130                 <stringProp name="Cookie.value">${version}</stringProp>
1131                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1132                 <stringProp name="Cookie.path"></stringProp>
1133                 <boolProp name="Cookie.secure">false</boolProp>
1134                 <longProp name="Cookie.expires">0</longProp>
1135                 <boolProp name="Cookie.path_specified">true</boolProp>
1136                 <boolProp name="Cookie.domain_specified">true</boolProp>
1137               </elementProp>
1138               <elementProp name="wsid" elementType="Cookie" testname="wsid">
1139                 <stringProp name="Cookie.value">${wsid}</stringProp>
1140                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1141                 <stringProp name="Cookie.path"></stringProp>
1142                 <boolProp name="Cookie.secure">false</boolProp>
1143                 <longProp name="Cookie.expires">0</longProp>
1144                 <boolProp name="Cookie.path_specified">true</boolProp>
1145                 <boolProp name="Cookie.domain_specified">true</boolProp>
1146               </elementProp>
1147             </collectionProp>
1148             <boolProp name="CookieManager.clearEachIteration">true</boolProp>
1149           </CookieManager>
1150           <hashTree/>
1151           <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="getNewFavorID" enabled="true">
1152             <stringProp name="TestPlan.comments">获取查询结果数量的页面数</stringProp>
1153             <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1154             <stringProp name="RegexExtractor.refname">newFavorID</stringProp>
1155             <stringProp name="RegexExtractor.regex">favor_id&quot;:(.*?)}</stringProp>
1156             <stringProp name="RegexExtractor.template">$1$</stringProp>
1157             <stringProp name="RegexExtractor.default">ERROR</stringProp>
1158             <stringProp name="RegexExtractor.match_number">1</stringProp>
1159           </RegexExtractor>
1160           <hashTree/>
1161           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-是否收藏成功" enabled="true">
1162             <collectionProp name="Asserion.test_strings">
1163               <stringProp name="71131476">&quot;errno&quot;:0</stringProp>
1164             </collectionProp>
1165             <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1166             <boolProp name="Assertion.assume_success">false</boolProp>
1167             <intProp name="Assertion.test_type">2</intProp>
1168           </ResponseAssertion>
1169           <hashTree/>
1170         </hashTree>
1171         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="T002-05-收藏, 验证添加 【${target_product_ids}】" enabled="true">
1172           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
1173             <collectionProp name="Arguments.arguments">
1174               <elementProp name="uid" elementType="HTTPArgument">
1175                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1176                 <stringProp name="Argument.name">uid</stringProp>
1177                 <stringProp name="Argument.value">${uid}</stringProp>
1178                 <stringProp name="Argument.metadata">=</stringProp>
1179                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1180               </elementProp>
1181               <elementProp name="page" elementType="HTTPArgument">
1182                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1183                 <stringProp name="Argument.name">page</stringProp>
1184                 <stringProp name="Argument.value">0</stringProp>
1185                 <stringProp name="Argument.metadata">=</stringProp>
1186                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1187               </elementProp>
1188               <elementProp name="exAppTag" elementType="HTTPArgument">
1189                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1190                 <stringProp name="Argument.name">exAppTag</stringProp>
1191                 <stringProp name="Argument.value">2045191607</stringProp>
1192                 <stringProp name="Argument.metadata">=</stringProp>
1193                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1194               </elementProp>
1195             </collectionProp>
1196           </elementProp>
1197           <stringProp name="HTTPSampler.domain">mb.51buy.com</stringProp>
1198           <stringProp name="HTTPSampler.port"></stringProp>
1199           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1200           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1201           <stringProp name="HTTPSampler.protocol">http</stringProp>
1202           <stringProp name="HTTPSampler.contentEncoding">GB2312</stringProp>
1203           <stringProp name="HTTPSampler.path">/json.php?mod=myfavor&amp;act=get&amp;appSource=android&amp;appVersion=${appVersion}</stringProp>
1204           <stringProp name="HTTPSampler.method">POST</stringProp>
1205           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1206           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1207           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1208           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1209           <boolProp name="HTTPSampler.monitor">false</boolProp>
1210           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1211         </HTTPSamplerProxy>
1212         <hashTree>
1213           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
1214             <collectionProp name="HeaderManager.headers">
1215               <elementProp name="Charset" elementType="Header">
1216                 <stringProp name="Header.name">Charset</stringProp>
1217                 <stringProp name="Header.value">UTF-8</stringProp>
1218               </elementProp>
1219               <elementProp name="Content-Type" elementType="Header">
1220                 <stringProp name="Header.name">Content-Type</stringProp>
1221                 <stringProp name="Header.value">application/x-www-form-urlencoded</stringProp>
1222               </elementProp>
1223               <elementProp name="Accept-Encoding" elementType="Header">
1224                 <stringProp name="Header.name">Accept-Encoding</stringProp>
1225                 <stringProp name="Header.value">gzip</stringProp>
1226               </elementProp>
1227               <elementProp name="User-Agent" elementType="Header">
1228                 <stringProp name="Header.name">User-Agent</stringProp>
1229                 <stringProp name="Header.value">Dalvik/1.6.0 (Linux; U; Android 4.4.2; GT-I9502 Build/KOT49H)</stringProp>
1230               </elementProp>
1231             </collectionProp>
1232           </HeaderManager>
1233           <hashTree/>
1234           <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="Cookies" enabled="true">
1235             <collectionProp name="CookieManager.cookies">
1236               <elementProp name="appSource" elementType="Cookie" testname="appSource">
1237                 <stringProp name="Cookie.value">${appSource}</stringProp>
1238                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1239                 <stringProp name="Cookie.path"></stringProp>
1240                 <boolProp name="Cookie.secure">false</boolProp>
1241                 <longProp name="Cookie.expires">0</longProp>
1242                 <boolProp name="Cookie.path_specified">true</boolProp>
1243                 <boolProp name="Cookie.domain_specified">true</boolProp>
1244               </elementProp>
1245               <elementProp name="appVersion" elementType="Cookie" testname="appVersion">
1246                 <stringProp name="Cookie.value">${appVersion}</stringProp>
1247                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1248                 <stringProp name="Cookie.path"></stringProp>
1249                 <boolProp name="Cookie.secure">false</boolProp>
1250                 <longProp name="Cookie.expires">0</longProp>
1251                 <boolProp name="Cookie.path_specified">true</boolProp>
1252                 <boolProp name="Cookie.domain_specified">true</boolProp>
1253               </elementProp>
1254               <elementProp name="channelId" elementType="Cookie" testname="channelId">
1255                 <stringProp name="Cookie.value">${channelId}</stringProp>
1256                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1257                 <stringProp name="Cookie.path"></stringProp>
1258                 <boolProp name="Cookie.secure">false</boolProp>
1259                 <longProp name="Cookie.expires">0</longProp>
1260                 <boolProp name="Cookie.path_specified">true</boolProp>
1261                 <boolProp name="Cookie.domain_specified">true</boolProp>
1262               </elementProp>
1263               <elementProp name="deviceId" elementType="Cookie" testname="deviceId">
1264                 <stringProp name="Cookie.value">${deviceId}</stringProp>
1265                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1266                 <stringProp name="Cookie.path"></stringProp>
1267                 <boolProp name="Cookie.secure">false</boolProp>
1268                 <longProp name="Cookie.expires">0</longProp>
1269                 <boolProp name="Cookie.path_specified">true</boolProp>
1270                 <boolProp name="Cookie.domain_specified">true</boolProp>
1271               </elementProp>
1272               <elementProp name="districtid" elementType="Cookie" testname="districtid">
1273                 <stringProp name="Cookie.value">${districtid}</stringProp>
1274                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1275                 <stringProp name="Cookie.path"></stringProp>
1276                 <boolProp name="Cookie.secure">false</boolProp>
1277                 <longProp name="Cookie.expires">0</longProp>
1278                 <boolProp name="Cookie.path_specified">true</boolProp>
1279                 <boolProp name="Cookie.domain_specified">true</boolProp>
1280               </elementProp>
1281               <elementProp name="skey" elementType="Cookie" testname="skey">
1282                 <stringProp name="Cookie.value">${userSkey}</stringProp>
1283                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1284                 <stringProp name="Cookie.path"></stringProp>
1285                 <boolProp name="Cookie.secure">false</boolProp>
1286                 <longProp name="Cookie.expires">0</longProp>
1287                 <boolProp name="Cookie.path_specified">true</boolProp>
1288                 <boolProp name="Cookie.domain_specified">true</boolProp>
1289               </elementProp>
1290               <elementProp name="token" elementType="Cookie" testname="token">
1291                 <stringProp name="Cookie.value">${token}</stringProp>
1292                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1293                 <stringProp name="Cookie.path"></stringProp>
1294                 <boolProp name="Cookie.secure">false</boolProp>
1295                 <longProp name="Cookie.expires">0</longProp>
1296                 <boolProp name="Cookie.path_specified">true</boolProp>
1297                 <boolProp name="Cookie.domain_specified">true</boolProp>
1298               </elementProp>
1299               <elementProp name="uid" elementType="Cookie" testname="uid">
1300                 <stringProp name="Cookie.value">${uid}</stringProp>
1301                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1302                 <stringProp name="Cookie.path"></stringProp>
1303                 <boolProp name="Cookie.secure">false</boolProp>
1304                 <longProp name="Cookie.expires">0</longProp>
1305                 <boolProp name="Cookie.path_specified">true</boolProp>
1306                 <boolProp name="Cookie.domain_specified">true</boolProp>
1307               </elementProp>
1308               <elementProp name="version" elementType="Cookie" testname="version">
1309                 <stringProp name="Cookie.value">${version}</stringProp>
1310                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1311                 <stringProp name="Cookie.path"></stringProp>
1312                 <boolProp name="Cookie.secure">false</boolProp>
1313                 <longProp name="Cookie.expires">0</longProp>
1314                 <boolProp name="Cookie.path_specified">true</boolProp>
1315                 <boolProp name="Cookie.domain_specified">true</boolProp>
1316               </elementProp>
1317               <elementProp name="wsid" elementType="Cookie" testname="wsid">
1318                 <stringProp name="Cookie.value">${wsid}</stringProp>
1319                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1320                 <stringProp name="Cookie.path"></stringProp>
1321                 <boolProp name="Cookie.secure">false</boolProp>
1322                 <longProp name="Cookie.expires">0</longProp>
1323                 <boolProp name="Cookie.path_specified">true</boolProp>
1324                 <boolProp name="Cookie.domain_specified">true</boolProp>
1325               </elementProp>
1326             </collectionProp>
1327             <boolProp name="CookieManager.clearEachIteration">true</boolProp>
1328           </CookieManager>
1329           <hashTree/>
1330           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-收藏列表是否存在收藏商品" enabled="true">
1331             <collectionProp name="Asserion.test_strings">
1332               <stringProp name="-967763891">${newFavorID}</stringProp>
1333             </collectionProp>
1334             <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1335             <boolProp name="Assertion.assume_success">false</boolProp>
1336             <intProp name="Assertion.test_type">2</intProp>
1337           </ResponseAssertion>
1338           <hashTree/>
1339         </hashTree>
1340         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="T002-06-收藏-重复添加 【${target_product_ids}】" enabled="true">
1341           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
1342             <collectionProp name="Arguments.arguments">
1343               <elementProp name="uid" elementType="HTTPArgument">
1344                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1345                 <stringProp name="Argument.name">uid</stringProp>
1346                 <stringProp name="Argument.value">${uid}</stringProp>
1347                 <stringProp name="Argument.metadata">=</stringProp>
1348                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1349               </elementProp>
1350               <elementProp name="pid" elementType="HTTPArgument">
1351                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1352                 <stringProp name="Argument.name">pid</stringProp>
1353                 <stringProp name="Argument.value">${target_product_ids}</stringProp>
1354                 <stringProp name="Argument.metadata">=</stringProp>
1355                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1356               </elementProp>
1357               <elementProp name="exAppTag" elementType="HTTPArgument">
1358                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1359                 <stringProp name="Argument.name">exAppTag</stringProp>
1360                 <stringProp name="Argument.value">2045191607</stringProp>
1361                 <stringProp name="Argument.metadata">=</stringProp>
1362                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1363               </elementProp>
1364             </collectionProp>
1365           </elementProp>
1366           <stringProp name="HTTPSampler.domain">mb.51buy.com</stringProp>
1367           <stringProp name="HTTPSampler.port"></stringProp>
1368           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1369           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1370           <stringProp name="HTTPSampler.protocol">http</stringProp>
1371           <stringProp name="HTTPSampler.contentEncoding">GB2312</stringProp>
1372           <stringProp name="HTTPSampler.path">/json.php?mod=myfavor&amp;act=add&amp;appSource=android&amp;appVersion=${appVersion}</stringProp>
1373           <stringProp name="HTTPSampler.method">POST</stringProp>
1374           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1375           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1376           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1377           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1378           <boolProp name="HTTPSampler.monitor">false</boolProp>
1379           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1380         </HTTPSamplerProxy>
1381         <hashTree>
1382           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
1383             <collectionProp name="HeaderManager.headers">
1384               <elementProp name="Charset" elementType="Header">
1385                 <stringProp name="Header.name">Charset</stringProp>
1386                 <stringProp name="Header.value">UTF-8</stringProp>
1387               </elementProp>
1388               <elementProp name="Content-Type" elementType="Header">
1389                 <stringProp name="Header.name">Content-Type</stringProp>
1390                 <stringProp name="Header.value">application/x-www-form-urlencoded</stringProp>
1391               </elementProp>
1392               <elementProp name="Accept-Encoding" elementType="Header">
1393                 <stringProp name="Header.name">Accept-Encoding</stringProp>
1394                 <stringProp name="Header.value">gzip</stringProp>
1395               </elementProp>
1396               <elementProp name="User-Agent" elementType="Header">
1397                 <stringProp name="Header.name">User-Agent</stringProp>
1398                 <stringProp name="Header.value">Dalvik/1.6.0 (Linux; U; Android 4.4.2; GT-I9502 Build/KOT49H)</stringProp>
1399               </elementProp>
1400             </collectionProp>
1401           </HeaderManager>
1402           <hashTree/>
1403           <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="Cookies" enabled="true">
1404             <collectionProp name="CookieManager.cookies">
1405               <elementProp name="appSource" elementType="Cookie" testname="appSource">
1406                 <stringProp name="Cookie.value">${appSource}</stringProp>
1407                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1408                 <stringProp name="Cookie.path"></stringProp>
1409                 <boolProp name="Cookie.secure">false</boolProp>
1410                 <longProp name="Cookie.expires">0</longProp>
1411                 <boolProp name="Cookie.path_specified">true</boolProp>
1412                 <boolProp name="Cookie.domain_specified">true</boolProp>
1413               </elementProp>
1414               <elementProp name="appVersion" elementType="Cookie" testname="appVersion">
1415                 <stringProp name="Cookie.value">${appVersion}</stringProp>
1416                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1417                 <stringProp name="Cookie.path"></stringProp>
1418                 <boolProp name="Cookie.secure">false</boolProp>
1419                 <longProp name="Cookie.expires">0</longProp>
1420                 <boolProp name="Cookie.path_specified">true</boolProp>
1421                 <boolProp name="Cookie.domain_specified">true</boolProp>
1422               </elementProp>
1423               <elementProp name="channelId" elementType="Cookie" testname="channelId">
1424                 <stringProp name="Cookie.value">${channelId}</stringProp>
1425                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1426                 <stringProp name="Cookie.path"></stringProp>
1427                 <boolProp name="Cookie.secure">false</boolProp>
1428                 <longProp name="Cookie.expires">0</longProp>
1429                 <boolProp name="Cookie.path_specified">true</boolProp>
1430                 <boolProp name="Cookie.domain_specified">true</boolProp>
1431               </elementProp>
1432               <elementProp name="deviceId" elementType="Cookie" testname="deviceId">
1433                 <stringProp name="Cookie.value">${deviceId}</stringProp>
1434                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1435                 <stringProp name="Cookie.path"></stringProp>
1436                 <boolProp name="Cookie.secure">false</boolProp>
1437                 <longProp name="Cookie.expires">0</longProp>
1438                 <boolProp name="Cookie.path_specified">true</boolProp>
1439                 <boolProp name="Cookie.domain_specified">true</boolProp>
1440               </elementProp>
1441               <elementProp name="districtid" elementType="Cookie" testname="districtid">
1442                 <stringProp name="Cookie.value">${districtid}</stringProp>
1443                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1444                 <stringProp name="Cookie.path"></stringProp>
1445                 <boolProp name="Cookie.secure">false</boolProp>
1446                 <longProp name="Cookie.expires">0</longProp>
1447                 <boolProp name="Cookie.path_specified">true</boolProp>
1448                 <boolProp name="Cookie.domain_specified">true</boolProp>
1449               </elementProp>
1450               <elementProp name="skey" elementType="Cookie" testname="skey">
1451                 <stringProp name="Cookie.value">${userSkey}</stringProp>
1452                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1453                 <stringProp name="Cookie.path"></stringProp>
1454                 <boolProp name="Cookie.secure">false</boolProp>
1455                 <longProp name="Cookie.expires">0</longProp>
1456                 <boolProp name="Cookie.path_specified">true</boolProp>
1457                 <boolProp name="Cookie.domain_specified">true</boolProp>
1458               </elementProp>
1459               <elementProp name="token" elementType="Cookie" testname="token">
1460                 <stringProp name="Cookie.value">${token}</stringProp>
1461                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1462                 <stringProp name="Cookie.path"></stringProp>
1463                 <boolProp name="Cookie.secure">false</boolProp>
1464                 <longProp name="Cookie.expires">0</longProp>
1465                 <boolProp name="Cookie.path_specified">true</boolProp>
1466                 <boolProp name="Cookie.domain_specified">true</boolProp>
1467               </elementProp>
1468               <elementProp name="uid" elementType="Cookie" testname="uid">
1469                 <stringProp name="Cookie.value">${uid}</stringProp>
1470                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1471                 <stringProp name="Cookie.path"></stringProp>
1472                 <boolProp name="Cookie.secure">false</boolProp>
1473                 <longProp name="Cookie.expires">0</longProp>
1474                 <boolProp name="Cookie.path_specified">true</boolProp>
1475                 <boolProp name="Cookie.domain_specified">true</boolProp>
1476               </elementProp>
1477               <elementProp name="version" elementType="Cookie" testname="version">
1478                 <stringProp name="Cookie.value">${version}</stringProp>
1479                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1480                 <stringProp name="Cookie.path"></stringProp>
1481                 <boolProp name="Cookie.secure">false</boolProp>
1482                 <longProp name="Cookie.expires">0</longProp>
1483                 <boolProp name="Cookie.path_specified">true</boolProp>
1484                 <boolProp name="Cookie.domain_specified">true</boolProp>
1485               </elementProp>
1486               <elementProp name="wsid" elementType="Cookie" testname="wsid">
1487                 <stringProp name="Cookie.value">${wsid}</stringProp>
1488                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1489                 <stringProp name="Cookie.path"></stringProp>
1490                 <boolProp name="Cookie.secure">false</boolProp>
1491                 <longProp name="Cookie.expires">0</longProp>
1492                 <boolProp name="Cookie.path_specified">true</boolProp>
1493                 <boolProp name="Cookie.domain_specified">true</boolProp>
1494               </elementProp>
1495             </collectionProp>
1496             <boolProp name="CookieManager.clearEachIteration">true</boolProp>
1497           </CookieManager>
1498           <hashTree/>
1499           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-判断重复收藏的提示信息" enabled="true">
1500             <collectionProp name="Asserion.test_strings">
1501               <stringProp name="656805056">${repeatAddInfo}</stringProp>
1502             </collectionProp>
1503             <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1504             <boolProp name="Assertion.assume_success">false</boolProp>
1505             <intProp name="Assertion.test_type">2</intProp>
1506           </ResponseAssertion>
1507           <hashTree/>
1508         </hashTree>
1509         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="T002-07-收藏-删除 【${target_product_ids} | ${newFavorID}】" enabled="true">
1510           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
1511             <collectionProp name="Arguments.arguments">
1512               <elementProp name="uid" elementType="HTTPArgument">
1513                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1514                 <stringProp name="Argument.name">uid</stringProp>
1515                 <stringProp name="Argument.value">${uid}</stringProp>
1516                 <stringProp name="Argument.metadata">=</stringProp>
1517                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1518               </elementProp>
1519               <elementProp name="product_ids" elementType="HTTPArgument">
1520                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1521                 <stringProp name="Argument.name">product_ids</stringProp>
1522                 <stringProp name="Argument.value">${target_product_ids}</stringProp>
1523                 <stringProp name="Argument.metadata">=</stringProp>
1524                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1525               </elementProp>
1526               <elementProp name="favor_ids" elementType="HTTPArgument">
1527                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1528                 <stringProp name="Argument.name">favor_ids</stringProp>
1529                 <stringProp name="Argument.value">${newFavorID}</stringProp>
1530                 <stringProp name="Argument.metadata">=</stringProp>
1531                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1532               </elementProp>
1533               <elementProp name="exAppTag" elementType="HTTPArgument">
1534                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1535                 <stringProp name="Argument.name">exAppTag</stringProp>
1536                 <stringProp name="Argument.value">2045191607</stringProp>
1537                 <stringProp name="Argument.metadata">=</stringProp>
1538                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1539               </elementProp>
1540             </collectionProp>
1541           </elementProp>
1542           <stringProp name="HTTPSampler.domain">mb.51buy.com</stringProp>
1543           <stringProp name="HTTPSampler.port"></stringProp>
1544           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1545           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1546           <stringProp name="HTTPSampler.protocol">http</stringProp>
1547           <stringProp name="HTTPSampler.contentEncoding">GB2312</stringProp>
1548           <stringProp name="HTTPSampler.path">/json.php?mod=myfavor&amp;act=remove&amp;appSource=android&amp;appVersion=${appVersion}</stringProp>
1549           <stringProp name="HTTPSampler.method">POST</stringProp>
1550           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1551           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1552           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1553           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1554           <boolProp name="HTTPSampler.monitor">false</boolProp>
1555           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1556         </HTTPSamplerProxy>
1557         <hashTree>
1558           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
1559             <collectionProp name="HeaderManager.headers">
1560               <elementProp name="Charset" elementType="Header">
1561                 <stringProp name="Header.name">Charset</stringProp>
1562                 <stringProp name="Header.value">UTF-8</stringProp>
1563               </elementProp>
1564               <elementProp name="Content-Type" elementType="Header">
1565                 <stringProp name="Header.name">Content-Type</stringProp>
1566                 <stringProp name="Header.value">application/x-www-form-urlencoded</stringProp>
1567               </elementProp>
1568               <elementProp name="Accept-Encoding" elementType="Header">
1569                 <stringProp name="Header.name">Accept-Encoding</stringProp>
1570                 <stringProp name="Header.value">gzip</stringProp>
1571               </elementProp>
1572               <elementProp name="User-Agent" elementType="Header">
1573                 <stringProp name="Header.name">User-Agent</stringProp>
1574                 <stringProp name="Header.value">Dalvik/1.6.0 (Linux; U; Android 4.4.2; GT-I9502 Build/KOT49H)</stringProp>
1575               </elementProp>
1576             </collectionProp>
1577           </HeaderManager>
1578           <hashTree/>
1579           <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="Cookies" enabled="true">
1580             <collectionProp name="CookieManager.cookies">
1581               <elementProp name="appSource" elementType="Cookie" testname="appSource">
1582                 <stringProp name="Cookie.value">${appSource}</stringProp>
1583                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1584                 <stringProp name="Cookie.path"></stringProp>
1585                 <boolProp name="Cookie.secure">false</boolProp>
1586                 <longProp name="Cookie.expires">0</longProp>
1587                 <boolProp name="Cookie.path_specified">true</boolProp>
1588                 <boolProp name="Cookie.domain_specified">true</boolProp>
1589               </elementProp>
1590               <elementProp name="appVersion" elementType="Cookie" testname="appVersion">
1591                 <stringProp name="Cookie.value">${appVersion}</stringProp>
1592                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1593                 <stringProp name="Cookie.path"></stringProp>
1594                 <boolProp name="Cookie.secure">false</boolProp>
1595                 <longProp name="Cookie.expires">0</longProp>
1596                 <boolProp name="Cookie.path_specified">true</boolProp>
1597                 <boolProp name="Cookie.domain_specified">true</boolProp>
1598               </elementProp>
1599               <elementProp name="channelId" elementType="Cookie" testname="channelId">
1600                 <stringProp name="Cookie.value">${channelId}</stringProp>
1601                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1602                 <stringProp name="Cookie.path"></stringProp>
1603                 <boolProp name="Cookie.secure">false</boolProp>
1604                 <longProp name="Cookie.expires">0</longProp>
1605                 <boolProp name="Cookie.path_specified">true</boolProp>
1606                 <boolProp name="Cookie.domain_specified">true</boolProp>
1607               </elementProp>
1608               <elementProp name="deviceId" elementType="Cookie" testname="deviceId">
1609                 <stringProp name="Cookie.value">${deviceId}</stringProp>
1610                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1611                 <stringProp name="Cookie.path"></stringProp>
1612                 <boolProp name="Cookie.secure">false</boolProp>
1613                 <longProp name="Cookie.expires">0</longProp>
1614                 <boolProp name="Cookie.path_specified">true</boolProp>
1615                 <boolProp name="Cookie.domain_specified">true</boolProp>
1616               </elementProp>
1617               <elementProp name="districtid" elementType="Cookie" testname="districtid">
1618                 <stringProp name="Cookie.value">${districtid}</stringProp>
1619                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1620                 <stringProp name="Cookie.path"></stringProp>
1621                 <boolProp name="Cookie.secure">false</boolProp>
1622                 <longProp name="Cookie.expires">0</longProp>
1623                 <boolProp name="Cookie.path_specified">true</boolProp>
1624                 <boolProp name="Cookie.domain_specified">true</boolProp>
1625               </elementProp>
1626               <elementProp name="skey" elementType="Cookie" testname="skey">
1627                 <stringProp name="Cookie.value">${userSkey}</stringProp>
1628                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1629                 <stringProp name="Cookie.path"></stringProp>
1630                 <boolProp name="Cookie.secure">false</boolProp>
1631                 <longProp name="Cookie.expires">0</longProp>
1632                 <boolProp name="Cookie.path_specified">true</boolProp>
1633                 <boolProp name="Cookie.domain_specified">true</boolProp>
1634               </elementProp>
1635               <elementProp name="token" elementType="Cookie" testname="token">
1636                 <stringProp name="Cookie.value">${token}</stringProp>
1637                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1638                 <stringProp name="Cookie.path"></stringProp>
1639                 <boolProp name="Cookie.secure">false</boolProp>
1640                 <longProp name="Cookie.expires">0</longProp>
1641                 <boolProp name="Cookie.path_specified">true</boolProp>
1642                 <boolProp name="Cookie.domain_specified">true</boolProp>
1643               </elementProp>
1644               <elementProp name="uid" elementType="Cookie" testname="uid">
1645                 <stringProp name="Cookie.value">${uid}</stringProp>
1646                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1647                 <stringProp name="Cookie.path"></stringProp>
1648                 <boolProp name="Cookie.secure">false</boolProp>
1649                 <longProp name="Cookie.expires">0</longProp>
1650                 <boolProp name="Cookie.path_specified">true</boolProp>
1651                 <boolProp name="Cookie.domain_specified">true</boolProp>
1652               </elementProp>
1653               <elementProp name="version" elementType="Cookie" testname="version">
1654                 <stringProp name="Cookie.value">${version}</stringProp>
1655                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1656                 <stringProp name="Cookie.path"></stringProp>
1657                 <boolProp name="Cookie.secure">false</boolProp>
1658                 <longProp name="Cookie.expires">0</longProp>
1659                 <boolProp name="Cookie.path_specified">true</boolProp>
1660                 <boolProp name="Cookie.domain_specified">true</boolProp>
1661               </elementProp>
1662               <elementProp name="wsid" elementType="Cookie" testname="wsid">
1663                 <stringProp name="Cookie.value">${wsid}</stringProp>
1664                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1665                 <stringProp name="Cookie.path"></stringProp>
1666                 <boolProp name="Cookie.secure">false</boolProp>
1667                 <longProp name="Cookie.expires">0</longProp>
1668                 <boolProp name="Cookie.path_specified">true</boolProp>
1669                 <boolProp name="Cookie.domain_specified">true</boolProp>
1670               </elementProp>
1671             </collectionProp>
1672             <boolProp name="CookieManager.clearEachIteration">true</boolProp>
1673           </CookieManager>
1674           <hashTree/>
1675           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-判断删除结果" enabled="true">
1676             <collectionProp name="Asserion.test_strings">
1677               <stringProp name="1395041074">errno&quot;:0</stringProp>
1678             </collectionProp>
1679             <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1680             <boolProp name="Assertion.assume_success">false</boolProp>
1681             <intProp name="Assertion.test_type">16</intProp>
1682           </ResponseAssertion>
1683           <hashTree/>
1684         </hashTree>
1685         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="T002-08-收藏, 验证删除 【${target_product_ids}】" enabled="true">
1686           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
1687             <collectionProp name="Arguments.arguments">
1688               <elementProp name="uid" elementType="HTTPArgument">
1689                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1690                 <stringProp name="Argument.name">uid</stringProp>
1691                 <stringProp name="Argument.value">${uid}</stringProp>
1692                 <stringProp name="Argument.metadata">=</stringProp>
1693                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1694               </elementProp>
1695               <elementProp name="page" elementType="HTTPArgument">
1696                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1697                 <stringProp name="Argument.name">page</stringProp>
1698                 <stringProp name="Argument.value">0</stringProp>
1699                 <stringProp name="Argument.metadata">=</stringProp>
1700                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1701               </elementProp>
1702               <elementProp name="exAppTag" elementType="HTTPArgument">
1703                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1704                 <stringProp name="Argument.name">exAppTag</stringProp>
1705                 <stringProp name="Argument.value">2045191607</stringProp>
1706                 <stringProp name="Argument.metadata">=</stringProp>
1707                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1708               </elementProp>
1709             </collectionProp>
1710           </elementProp>
1711           <stringProp name="HTTPSampler.domain">mb.51buy.com</stringProp>
1712           <stringProp name="HTTPSampler.port"></stringProp>
1713           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1714           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1715           <stringProp name="HTTPSampler.protocol">http</stringProp>
1716           <stringProp name="HTTPSampler.contentEncoding">GB2312</stringProp>
1717           <stringProp name="HTTPSampler.path">/json.php?mod=myfavor&amp;act=get&amp;appSource=android&amp;appVersion=${appVersion}</stringProp>
1718           <stringProp name="HTTPSampler.method">POST</stringProp>
1719           <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1720           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1721           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1722           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1723           <boolProp name="HTTPSampler.monitor">false</boolProp>
1724           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1725         </HTTPSamplerProxy>
1726         <hashTree>
1727           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true">
1728             <collectionProp name="HeaderManager.headers">
1729               <elementProp name="Charset" elementType="Header">
1730                 <stringProp name="Header.name">Charset</stringProp>
1731                 <stringProp name="Header.value">UTF-8</stringProp>
1732               </elementProp>
1733               <elementProp name="Content-Type" elementType="Header">
1734                 <stringProp name="Header.name">Content-Type</stringProp>
1735                 <stringProp name="Header.value">application/x-www-form-urlencoded</stringProp>
1736               </elementProp>
1737               <elementProp name="Accept-Encoding" elementType="Header">
1738                 <stringProp name="Header.name">Accept-Encoding</stringProp>
1739                 <stringProp name="Header.value">gzip</stringProp>
1740               </elementProp>
1741               <elementProp name="User-Agent" elementType="Header">
1742                 <stringProp name="Header.name">User-Agent</stringProp>
1743                 <stringProp name="Header.value">Dalvik/1.6.0 (Linux; U; Android 4.4.2; GT-I9502 Build/KOT49H)</stringProp>
1744               </elementProp>
1745             </collectionProp>
1746           </HeaderManager>
1747           <hashTree/>
1748           <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="Cookies" enabled="true">
1749             <collectionProp name="CookieManager.cookies">
1750               <elementProp name="appSource" elementType="Cookie" testname="appSource">
1751                 <stringProp name="Cookie.value">${appSource}</stringProp>
1752                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1753                 <stringProp name="Cookie.path"></stringProp>
1754                 <boolProp name="Cookie.secure">false</boolProp>
1755                 <longProp name="Cookie.expires">0</longProp>
1756                 <boolProp name="Cookie.path_specified">true</boolProp>
1757                 <boolProp name="Cookie.domain_specified">true</boolProp>
1758               </elementProp>
1759               <elementProp name="appVersion" elementType="Cookie" testname="appVersion">
1760                 <stringProp name="Cookie.value">${appVersion}</stringProp>
1761                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1762                 <stringProp name="Cookie.path"></stringProp>
1763                 <boolProp name="Cookie.secure">false</boolProp>
1764                 <longProp name="Cookie.expires">0</longProp>
1765                 <boolProp name="Cookie.path_specified">true</boolProp>
1766                 <boolProp name="Cookie.domain_specified">true</boolProp>
1767               </elementProp>
1768               <elementProp name="channelId" elementType="Cookie" testname="channelId">
1769                 <stringProp name="Cookie.value">${channelId}</stringProp>
1770                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1771                 <stringProp name="Cookie.path"></stringProp>
1772                 <boolProp name="Cookie.secure">false</boolProp>
1773                 <longProp name="Cookie.expires">0</longProp>
1774                 <boolProp name="Cookie.path_specified">true</boolProp>
1775                 <boolProp name="Cookie.domain_specified">true</boolProp>
1776               </elementProp>
1777               <elementProp name="deviceId" elementType="Cookie" testname="deviceId">
1778                 <stringProp name="Cookie.value">${deviceId}</stringProp>
1779                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1780                 <stringProp name="Cookie.path"></stringProp>
1781                 <boolProp name="Cookie.secure">false</boolProp>
1782                 <longProp name="Cookie.expires">0</longProp>
1783                 <boolProp name="Cookie.path_specified">true</boolProp>
1784                 <boolProp name="Cookie.domain_specified">true</boolProp>
1785               </elementProp>
1786               <elementProp name="districtid" elementType="Cookie" testname="districtid">
1787                 <stringProp name="Cookie.value">${districtid}</stringProp>
1788                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1789                 <stringProp name="Cookie.path"></stringProp>
1790                 <boolProp name="Cookie.secure">false</boolProp>
1791                 <longProp name="Cookie.expires">0</longProp>
1792                 <boolProp name="Cookie.path_specified">true</boolProp>
1793                 <boolProp name="Cookie.domain_specified">true</boolProp>
1794               </elementProp>
1795               <elementProp name="skey" elementType="Cookie" testname="skey">
1796                 <stringProp name="Cookie.value">${userSkey}</stringProp>
1797                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1798                 <stringProp name="Cookie.path"></stringProp>
1799                 <boolProp name="Cookie.secure">false</boolProp>
1800                 <longProp name="Cookie.expires">0</longProp>
1801                 <boolProp name="Cookie.path_specified">true</boolProp>
1802                 <boolProp name="Cookie.domain_specified">true</boolProp>
1803               </elementProp>
1804               <elementProp name="token" elementType="Cookie" testname="token">
1805                 <stringProp name="Cookie.value">${token}</stringProp>
1806                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1807                 <stringProp name="Cookie.path"></stringProp>
1808                 <boolProp name="Cookie.secure">false</boolProp>
1809                 <longProp name="Cookie.expires">0</longProp>
1810                 <boolProp name="Cookie.path_specified">true</boolProp>
1811                 <boolProp name="Cookie.domain_specified">true</boolProp>
1812               </elementProp>
1813               <elementProp name="uid" elementType="Cookie" testname="uid">
1814                 <stringProp name="Cookie.value">${uid}</stringProp>
1815                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1816                 <stringProp name="Cookie.path"></stringProp>
1817                 <boolProp name="Cookie.secure">false</boolProp>
1818                 <longProp name="Cookie.expires">0</longProp>
1819                 <boolProp name="Cookie.path_specified">true</boolProp>
1820                 <boolProp name="Cookie.domain_specified">true</boolProp>
1821               </elementProp>
1822               <elementProp name="version" elementType="Cookie" testname="version">
1823                 <stringProp name="Cookie.value">${version}</stringProp>
1824                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1825                 <stringProp name="Cookie.path"></stringProp>
1826                 <boolProp name="Cookie.secure">false</boolProp>
1827                 <longProp name="Cookie.expires">0</longProp>
1828                 <boolProp name="Cookie.path_specified">true</boolProp>
1829                 <boolProp name="Cookie.domain_specified">true</boolProp>
1830               </elementProp>
1831               <elementProp name="wsid" elementType="Cookie" testname="wsid">
1832                 <stringProp name="Cookie.value">${wsid}</stringProp>
1833                 <stringProp name="Cookie.domain">.51buy.com</stringProp>
1834                 <stringProp name="Cookie.path"></stringProp>
1835                 <boolProp name="Cookie.secure">false</boolProp>
1836                 <longProp name="Cookie.expires">0</longProp>
1837                 <boolProp name="Cookie.path_specified">true</boolProp>
1838                 <boolProp name="Cookie.domain_specified">true</boolProp>
1839               </elementProp>
1840             </collectionProp>
1841             <boolProp name="CookieManager.clearEachIteration">true</boolProp>
1842           </CookieManager>
1843           <hashTree/>
1844           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-查询结果返回码" enabled="true">
1845             <collectionProp name="Asserion.test_strings">
1846               <stringProp name="1395041074">errno&quot;:0</stringProp>
1847             </collectionProp>
1848             <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1849             <boolProp name="Assertion.assume_success">false</boolProp>
1850             <intProp name="Assertion.test_type">2</intProp>
1851           </ResponseAssertion>
1852           <hashTree/>
1853           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="断言-不存在即将收藏的商品" enabled="true">
1854             <collectionProp name="Asserion.test_strings">
1855               <stringProp name="-180864052">${target_product_ids}</stringProp>
1856               <stringProp name="-967763891">${newFavorID}</stringProp>
1857             </collectionProp>
1858             <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1859             <boolProp name="Assertion.assume_success">false</boolProp>
1860             <intProp name="Assertion.test_type">6</intProp>
1861           </ResponseAssertion>
1862           <hashTree/>
1863         </hashTree>
1864       </hashTree>
1865       <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="察看结果树" enabled="true">
1866         <boolProp name="ResultCollector.error_logging">false</boolProp>
1867         <objProp>
1868           <name>saveConfig</name>
1869           <value class="SampleSaveConfiguration">
1870             <time>true</time>
1871             <latency>true</latency>
1872             <timestamp>true</timestamp>
1873             <success>true</success>
1874             <label>true</label>
1875             <code>true</code>
1876             <message>true</message>
1877             <threadName>true</threadName>
1878             <dataType>true</dataType>
1879             <encoding>false</encoding>
1880             <assertions>true</assertions>
1881             <subresults>true</subresults>
1882             <responseData>false</responseData>
1883             <samplerData>false</samplerData>
1884             <xml>false</xml>
1885             <fieldNames>false</fieldNames>
1886             <responseHeaders>false</responseHeaders>
1887             <requestHeaders>false</requestHeaders>
1888             <responseDataOnError>false</responseDataOnError>
1889             <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
1890             <assertionsResultsToSave>0</assertionsResultsToSave>
1891             <bytes>true</bytes>
1892             <threadCounts>true</threadCounts>
1893           </value>
1894         </objProp>
1895         <stringProp name="filename"></stringProp>
1896       </ResultCollector>
1897       <hashTree/>
1898     </hashTree>
1899   </hashTree>
1900 </jmeterTestPlan>
JMeter 逻辑控制器之-如果(If)控制器脚本源码

 

至此, JMeter学习-013-JMeter 逻辑控制器之-如果(If)控制器 顺利完结,希望此文能够给初学 JMeter 的您一份参考。

最后,非常感谢亲的驻足,希望此文能对亲有所帮助。热烈欢迎亲一起探讨,共同进步。非常感谢! ^_^

 

JMeter学习-013-JMeter 逻辑控制器之-如果(If)控制器

标签:

原文地址:http://www.cnblogs.com/fengpingfan/p/4759149.html

(2)
(6)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!