Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2015
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.67 KB | None | 0 0
  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="Test Plan" 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="User Defined Variables" enabled="true">
  9. <collectionProp name="Arguments.arguments"/>
  10. </elementProp>
  11. <stringProp name="TestPlan.user_define_classpath"></stringProp>
  12. </TestPlan>
  13. <hashTree>
  14. <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
  15. <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  16. <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  17. <boolProp name="LoopController.continue_forever">false</boolProp>
  18. <intProp name="LoopController.loops">-1</intProp>
  19. </elementProp>
  20. <stringProp name="ThreadGroup.num_threads">1500</stringProp>
  21. <stringProp name="ThreadGroup.ramp_time">150</stringProp>
  22. <longProp name="ThreadGroup.start_time">1312813574000</longProp>
  23. <longProp name="ThreadGroup.end_time">1312813574000</longProp>
  24. <boolProp name="ThreadGroup.scheduler">false</boolProp>
  25. <stringProp name="ThreadGroup.duration"></stringProp>
  26. <stringProp name="ThreadGroup.delay"></stringProp>
  27. </ThreadGroup>
  28. <hashTree>
  29. <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  30. <collectionProp name="Arguments.arguments">
  31. <elementProp name="path" elementType="Argument">
  32. <stringProp name="Argument.name">path</stringProp>
  33. <stringProp name="Argument.value">C://Users//luberg.s//Desktop//тесты унаследовал//jmeter//alpha//</stringProp>
  34. <stringProp name="Argument.metadata">=</stringProp>
  35. <stringProp name="Argument.desc">path to data to test</stringProp>
  36. </elementProp>
  37. <elementProp name="TestMail" elementType="Argument">
  38. <stringProp name="Argument.name">TestMail</stringProp>
  39. <stringProp name="Argument.value">loadtest${__Random(1,10000000)}@mail.ru</stringProp>
  40. <stringProp name="Argument.metadata">=</stringProp>
  41. </elementProp>
  42. </collectionProp>
  43. </Arguments>
  44. <hashTree/>
  45. <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
  46. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  47. <collectionProp name="Arguments.arguments"/>
  48. </elementProp>
  49. <stringProp name="HTTPSampler.domain">mamsy.ru</stringProp>
  50. <stringProp name="HTTPSampler.port">443</stringProp>
  51. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  52. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  53. <stringProp name="HTTPSampler.protocol">https</stringProp>
  54. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  55. <stringProp name="HTTPSampler.path"></stringProp>
  56. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  57. <stringProp name="HTTPSampler.concurrentPool">4</stringProp>
  58. </ConfigTestElement>
  59. <hashTree/>
  60. <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
  61. <collectionProp name="CookieManager.cookies"/>
  62. <boolProp name="CookieManager.clearEachIteration">true</boolProp>
  63. </CookieManager>
  64. <hashTree/>
  65. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="enter to site" enabled="true"/>
  66. <hashTree>
  67. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
  68. <boolProp name="LoopController.continue_forever">true</boolProp>
  69. <intProp name="LoopController.loops">-1</intProp>
  70. </LoopController>
  71. <hashTree>
  72. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="login" enabled="true">
  73. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  74. <collectionProp name="Arguments.arguments">
  75. <elementProp name="name" elementType="HTTPArgument">
  76. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  77. <stringProp name="Argument.value">Test</stringProp>
  78. <stringProp name="Argument.metadata">=</stringProp>
  79. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  80. <stringProp name="Argument.name">name</stringProp>
  81. </elementProp>
  82. <elementProp name="email" elementType="HTTPArgument">
  83. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  84. <stringProp name="Argument.value">loadtest${__Random(1,10000000)}@mail.ru</stringProp>
  85. <stringProp name="Argument.metadata">=</stringProp>
  86. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  87. <stringProp name="Argument.name">email</stringProp>
  88. </elementProp>
  89. </collectionProp>
  90. </elementProp>
  91. <stringProp name="HTTPSampler.domain"></stringProp>
  92. <stringProp name="HTTPSampler.port">443</stringProp>
  93. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  94. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  95. <stringProp name="HTTPSampler.protocol">https</stringProp>
  96. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  97. <stringProp name="HTTPSampler.path">/autoreg/</stringProp>
  98. <stringProp name="HTTPSampler.method">GET</stringProp>
  99. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  100. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  101. <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
  102. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  103. <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">true</boolProp>
  104. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  105. <boolProp name="HTTPSampler.monitor">false</boolProp>
  106. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  107. </HTTPSamplerProxy>
  108. <hashTree/>
  109. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Loop browse on ite" enabled="true">
  110. <boolProp name="LoopController.continue_forever">true</boolProp>
  111. <intProp name="LoopController.loops">-1</intProp>
  112. </LoopController>
  113. <hashTree>
  114. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Product (13%)" enabled="true">
  115. <intProp name="ThroughputController.style">1</intProp>
  116. <boolProp name="ThroughputController.perThread">false</boolProp>
  117. <intProp name="ThroughputController.maxThroughput">1</intProp>
  118. <FloatProperty>
  119. <name>ThroughputController.percentThroughput</name>
  120. <value>13.0</value>
  121. <savedValue>0.0</savedValue>
  122. </FloatProperty>
  123. <stringProp name="TestPlan.comments"> </stringProp>
  124. </ThroughputController>
  125. <hashTree>
  126. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="view product" enabled="true">
  127. <stringProp name="TestPlan.comments">view product</stringProp>
  128. </GenericController>
  129. <hashTree>
  130. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="product/show" enabled="true">
  131. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  132. <collectionProp name="Arguments.arguments"/>
  133. </elementProp>
  134. <stringProp name="HTTPSampler.domain"></stringProp>
  135. <stringProp name="HTTPSampler.port">443</stringProp>
  136. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  137. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  138. <stringProp name="HTTPSampler.protocol">https</stringProp>
  139. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  140. <stringProp name="HTTPSampler.path">${RANDLINK}</stringProp>
  141. <stringProp name="HTTPSampler.method">GET</stringProp>
  142. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  143. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  144. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  145. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  146. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  147. <boolProp name="HTTPSampler.monitor">true</boolProp>
  148. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  149. <stringProp name="TestPlan.comments">view_order</stringProp>
  150. </HTTPSamplerProxy>
  151. <hashTree>
  152. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="get_rand_link" enabled="true">
  153. <stringProp name="filename"></stringProp>
  154. <stringProp name="parameters"></stringProp>
  155. <boolProp name="resetInterpreter">false</boolProp>
  156. <stringProp name="script">import java.io.*;
  157. import java.util.Random;
  158.  
  159.  
  160. int count = 0;
  161. List readLines = new ArrayList();
  162. String path = vars.get (&quot;path&quot;);
  163. try
  164. {
  165. BufferedReader fr = new BufferedReader (new FileReader (path.concat(&quot;links.cvs&quot;)));
  166. Random randomGenerator = new Random();
  167.  
  168. while ( (line = fr.readLine() ) != null )
  169. {
  170. readLines.add (line);
  171. count = count+1;
  172. }
  173. fr.close();
  174.  
  175. vars.put (&quot;RANDLINK&quot;, readLines.get(randomGenerator.nextInt(readLines.size())) );
  176. }
  177.  
  178. catch (Exception ex)
  179. {
  180. IsSuccess = false;
  181. log.error(ex.getMessage());
  182. System.err.println(ex.getMessage());
  183. }
  184. </stringProp>
  185. </BeanShellPreProcessor>
  186. <hashTree/>
  187. </hashTree>
  188. </hashTree>
  189. </hashTree>
  190. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Customer (7%)" enabled="true">
  191. <intProp name="ThroughputController.style">1</intProp>
  192. <boolProp name="ThroughputController.perThread">false</boolProp>
  193. <intProp name="ThroughputController.maxThroughput">7</intProp>
  194. <FloatProperty>
  195. <name>ThroughputController.percentThroughput</name>
  196. <value>7.0</value>
  197. <savedValue>0.0</savedValue>
  198. </FloatProperty>
  199. </ThroughputController>
  200. <hashTree>
  201. <RandomController guiclass="RandomControlGui" testclass="RandomController" testname="Customer" enabled="true">
  202. <intProp name="InterleaveControl.style">1</intProp>
  203. </RandomController>
  204. <hashTree>
  205. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Customer/" enabled="true">
  206. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  207. <collectionProp name="Arguments.arguments"/>
  208. </elementProp>
  209. <stringProp name="HTTPSampler.domain"></stringProp>
  210. <stringProp name="HTTPSampler.port">443</stringProp>
  211. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  212. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  213. <stringProp name="HTTPSampler.protocol">https</stringProp>
  214. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  215. <stringProp name="HTTPSampler.path">/customer</stringProp>
  216. <stringProp name="HTTPSampler.method">GET</stringProp>
  217. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  218. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  219. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  220. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  221. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  222. <boolProp name="HTTPSampler.monitor">false</boolProp>
  223. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  224. <stringProp name="TestPlan.comments"> </stringProp>
  225. </HTTPSamplerProxy>
  226. <hashTree/>
  227. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Customer/invitations" enabled="true">
  228. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  229. <collectionProp name="Arguments.arguments"/>
  230. </elementProp>
  231. <stringProp name="HTTPSampler.domain"></stringProp>
  232. <stringProp name="HTTPSampler.port">443</stringProp>
  233. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  234. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  235. <stringProp name="HTTPSampler.protocol">https</stringProp>
  236. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  237. <stringProp name="HTTPSampler.path">/customer/invitations</stringProp>
  238. <stringProp name="HTTPSampler.method">GET</stringProp>
  239. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  240. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  241. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  242. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  243. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  244. <boolProp name="HTTPSampler.monitor">false</boolProp>
  245. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  246. <stringProp name="TestPlan.comments"> </stringProp>
  247. </HTTPSamplerProxy>
  248. <hashTree/>
  249. </hashTree>
  250. </hashTree>
  251. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Index (18%)" enabled="true">
  252. <intProp name="ThroughputController.style">1</intProp>
  253. <boolProp name="ThroughputController.perThread">false</boolProp>
  254. <intProp name="ThroughputController.maxThroughput">18</intProp>
  255. <FloatProperty>
  256. <name>ThroughputController.percentThroughput</name>
  257. <value>18.0</value>
  258. <savedValue>0.0</savedValue>
  259. </FloatProperty>
  260. </ThroughputController>
  261. <hashTree>
  262. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Index" enabled="true"/>
  263. <hashTree>
  264. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/" enabled="true">
  265. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  266. <collectionProp name="Arguments.arguments"/>
  267. </elementProp>
  268. <stringProp name="HTTPSampler.domain"></stringProp>
  269. <stringProp name="HTTPSampler.port">443</stringProp>
  270. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  271. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  272. <stringProp name="HTTPSampler.protocol">https</stringProp>
  273. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  274. <stringProp name="HTTPSampler.path">/</stringProp>
  275. <stringProp name="HTTPSampler.method">GET</stringProp>
  276. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  277. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  278. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  279. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  280. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  281. <boolProp name="HTTPSampler.monitor">false</boolProp>
  282. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  283. <stringProp name="TestPlan.comments">index</stringProp>
  284. </HTTPSamplerProxy>
  285. <hashTree/>
  286. </hashTree>
  287. </hashTree>
  288. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Category (40%)" enabled="true">
  289. <intProp name="ThroughputController.style">1</intProp>
  290. <boolProp name="ThroughputController.perThread">false</boolProp>
  291. <intProp name="ThroughputController.maxThroughput">35</intProp>
  292. <FloatProperty>
  293. <name>ThroughputController.percentThroughput</name>
  294. <value>40.0</value>
  295. <savedValue>0.0</savedValue>
  296. </FloatProperty>
  297. </ThroughputController>
  298. <hashTree>
  299. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Category" enabled="true"/>
  300. <hashTree>
  301. <RandomOrderController guiclass="RandomOrderControllerGui" testclass="RandomOrderController" testname="Filter or nonfilter" enabled="true"/>
  302. <hashTree>
  303. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="category_with_filter" enabled="true">
  304. <stringProp name="TestPlan.comments">category_with_filter</stringProp>
  305. </GenericController>
  306. <hashTree>
  307. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="category/filter?" enabled="false">
  308. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  309. <collectionProp name="Arguments.arguments"/>
  310. </elementProp>
  311. <stringProp name="HTTPSampler.domain"></stringProp>
  312. <stringProp name="HTTPSampler.port">443</stringProp>
  313. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  314. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  315. <stringProp name="HTTPSampler.protocol">https</stringProp>
  316. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  317. <stringProp name="HTTPSampler.path">/category/${RANDGROUP}</stringProp>
  318. <stringProp name="HTTPSampler.method">GET</stringProp>
  319. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  320. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  321. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  322. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  323. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  324. <boolProp name="HTTPSampler.monitor">false</boolProp>
  325. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  326. </HTTPSamplerProxy>
  327. <hashTree>
  328. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="get_rand_category_with_filter" enabled="true">
  329. <stringProp name="filename"></stringProp>
  330. <stringProp name="parameters"></stringProp>
  331. <boolProp name="resetInterpreter">true</boolProp>
  332. <stringProp name="script">import java.io.*;
  333. import java.util.Random;
  334.  
  335.  
  336. int count = 0;
  337. String[] arg;
  338. String line;
  339. String filter = &quot;&quot;;
  340. String path = vars.get (&quot;path&quot;);
  341. List readLines = new ArrayList();
  342. try
  343. {
  344. BufferedReader fr = new BufferedReader (new FileReader (path.concat(&quot;groups.cvs&quot;)));
  345. Random randomGenerator = new Random();
  346.  
  347. while ( (line = fr.readLine() ) != null )
  348. {
  349. readLines.add (line);
  350. count = count+1;
  351. }
  352. fr.close();
  353.  
  354. String y = readLines.get(randomGenerator.nextInt(readLines.size()));
  355. //получаем массив допустимых параметров для фильтра вида attr1=value attr2=value; определяем допустимое кол-во аргументов для фильтра
  356. String[] attrs = y.split(&quot; &quot;);
  357. int numArgs = randomGenerator.nextInt(attrs.length);
  358. //берём случайное число аргументов для фильтра
  359. for (int i = 1; i &lt; numArgs; i++)
  360. {
  361. arg = attrs[i].split(&quot;=&quot;);
  362. if ( i &lt; (numArgs-1))
  363. {
  364. filter = filter.concat(&quot;[&quot;).concat(arg[0]).concat(&quot;][]&quot;).concat(&quot;=&quot;).concat(arg[1]).concat(&quot;&amp;&quot;);
  365. }
  366. else
  367. {
  368. filter = filter.concat(&quot;[&quot;).concat(arg[0]).concat(&quot;][]&quot;).concat(&quot;=&quot;).concat(arg[1]);
  369. }
  370. }
  371.  
  372. vars.put (&quot;RANDGROUP&quot;, attrs[0].concat(&quot;?filter&quot;).concat(filter));
  373. //System.out.println (attrs[0].concat(&quot;?filter&quot;).concat(filter));
  374. }
  375.  
  376. catch (Exception ex)
  377. {
  378. IsSuccess = false;
  379. log.error(ex.getMessage());
  380. System.err.println(ex.getMessage());
  381. }
  382.  
  383. </stringProp>
  384. </BeanShellPreProcessor>
  385. <hashTree/>
  386. </hashTree>
  387. </hashTree>
  388. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="category_without_filter" enabled="true">
  389. <stringProp name="TestPlan.comments">category_without_filter</stringProp>
  390. </GenericController>
  391. <hashTree>
  392. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="category/" enabled="true">
  393. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  394. <collectionProp name="Arguments.arguments"/>
  395. </elementProp>
  396. <stringProp name="HTTPSampler.domain"></stringProp>
  397. <stringProp name="HTTPSampler.port">443</stringProp>
  398. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  399. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  400. <stringProp name="HTTPSampler.protocol">https</stringProp>
  401. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  402. <stringProp name="HTTPSampler.path">/category/${RANDGROUP}</stringProp>
  403. <stringProp name="HTTPSampler.method">GET</stringProp>
  404. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  405. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  406. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  407. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  408. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  409. <boolProp name="HTTPSampler.monitor">false</boolProp>
  410. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  411. </HTTPSamplerProxy>
  412. <hashTree>
  413. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="get_rand_category_without_filter" enabled="true">
  414. <stringProp name="filename"></stringProp>
  415. <stringProp name="parameters"></stringProp>
  416. <boolProp name="resetInterpreter">false</boolProp>
  417. <stringProp name="script">import java.io.*;
  418. import java.util.Random;
  419.  
  420.  
  421. int count = 0;
  422. String[] arg;
  423. String line;
  424. String filter = &quot;&quot;;
  425. String path = vars.get (&quot;path&quot;);
  426. List readLines = new ArrayList();
  427. try
  428. {
  429. BufferedReader fr = new BufferedReader (new FileReader (path.concat(&quot;groups.cvs&quot;)));
  430. Random randomGenerator = new Random();
  431.  
  432. while ( (line = fr.readLine() ) != null )
  433. {
  434. readLines.add (line);
  435. count = count+1;
  436. }
  437. fr.close();
  438.  
  439. String y = readLines.get(randomGenerator.nextInt(readLines.size()));
  440. //поулчаем id акции
  441. String[] attrs = y.split(&quot; &quot;);
  442.  
  443. vars.put (&quot;RANDGROUP&quot;, attrs[0]);
  444. //System.out.println (attrs[0]);
  445. }
  446.  
  447. catch (Exception ex)
  448. {
  449. IsSuccess = false;
  450. log.error(ex.getMessage());
  451. System.err.println(ex.getMessage());
  452. }
  453.  
  454. </stringProp>
  455. </BeanShellPreProcessor>
  456. <hashTree/>
  457. </hashTree>
  458. </hashTree>
  459. </hashTree>
  460. </hashTree>
  461. </hashTree>
  462. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Feed (4%)" enabled="true">
  463. <intProp name="ThroughputController.style">1</intProp>
  464. <boolProp name="ThroughputController.perThread">false</boolProp>
  465. <intProp name="ThroughputController.maxThroughput">1</intProp>
  466. <FloatProperty>
  467. <name>ThroughputController.percentThroughput</name>
  468. <value>4.0</value>
  469. <savedValue>0.0</savedValue>
  470. </FloatProperty>
  471. </ThroughputController>
  472. <hashTree>
  473. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="feed/" enabled="true">
  474. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  475. <collectionProp name="Arguments.arguments"/>
  476. </elementProp>
  477. <stringProp name="HTTPSampler.domain"></stringProp>
  478. <stringProp name="HTTPSampler.port">443</stringProp>
  479. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  480. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  481. <stringProp name="HTTPSampler.protocol">https</stringProp>
  482. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  483. <stringProp name="HTTPSampler.path">/feed</stringProp>
  484. <stringProp name="HTTPSampler.method">GET</stringProp>
  485. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  486. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  487. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  488. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  489. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  490. <boolProp name="HTTPSampler.monitor">false</boolProp>
  491. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  492. <stringProp name="TestPlan.comments">feed url</stringProp>
  493. </HTTPSamplerProxy>
  494. <hashTree/>
  495. </hashTree>
  496. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Static filter (2%)" enabled="true">
  497. <intProp name="ThroughputController.style">1</intProp>
  498. <boolProp name="ThroughputController.perThread">false</boolProp>
  499. <intProp name="ThroughputController.maxThroughput">1</intProp>
  500. <FloatProperty>
  501. <name>ThroughputController.percentThroughput</name>
  502. <value>2.0</value>
  503. <savedValue>0.0</savedValue>
  504. </FloatProperty>
  505. </ThroughputController>
  506. <hashTree>
  507. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="categories_with_static_filter" enabled="true">
  508. <stringProp name="TestPlan.comments">categories_with_static_filter</stringProp>
  509. </GenericController>
  510. <hashTree>
  511. <RandomController guiclass="RandomControlGui" testclass="RandomController" testname="categories" enabled="true">
  512. <intProp name="InterleaveControl.style">1</intProp>
  513. </RandomController>
  514. <hashTree>
  515. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/girls" enabled="true">
  516. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  517. <collectionProp name="Arguments.arguments"/>
  518. </elementProp>
  519. <stringProp name="HTTPSampler.domain"></stringProp>
  520. <stringProp name="HTTPSampler.port">443</stringProp>
  521. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  522. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  523. <stringProp name="HTTPSampler.protocol">https</stringProp>
  524. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  525. <stringProp name="HTTPSampler.path">/categories/girls</stringProp>
  526. <stringProp name="HTTPSampler.method">GET</stringProp>
  527. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  528. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  529. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  530. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  531. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  532. <boolProp name="HTTPSampler.monitor">false</boolProp>
  533. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  534. <stringProp name="TestPlan.comments"> </stringProp>
  535. </HTTPSamplerProxy>
  536. <hashTree/>
  537. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/boys" enabled="true">
  538. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  539. <collectionProp name="Arguments.arguments"/>
  540. </elementProp>
  541. <stringProp name="HTTPSampler.domain"></stringProp>
  542. <stringProp name="HTTPSampler.port">443</stringProp>
  543. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  544. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  545. <stringProp name="HTTPSampler.protocol">https</stringProp>
  546. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  547. <stringProp name="HTTPSampler.path">/categories/boys</stringProp>
  548. <stringProp name="HTTPSampler.method">GET</stringProp>
  549. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  550. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  551. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  552. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  553. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  554. <boolProp name="HTTPSampler.monitor">false</boolProp>
  555. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  556. <stringProp name="TestPlan.comments"> </stringProp>
  557. </HTTPSamplerProxy>
  558. <hashTree/>
  559. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/female" enabled="true">
  560. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  561. <collectionProp name="Arguments.arguments"/>
  562. </elementProp>
  563. <stringProp name="HTTPSampler.domain"></stringProp>
  564. <stringProp name="HTTPSampler.port">443</stringProp>
  565. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  566. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  567. <stringProp name="HTTPSampler.protocol">https</stringProp>
  568. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  569. <stringProp name="HTTPSampler.path">/categories/female</stringProp>
  570. <stringProp name="HTTPSampler.method">GET</stringProp>
  571. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  572. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  573. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  574. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  575. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  576. <boolProp name="HTTPSampler.monitor">false</boolProp>
  577. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  578. <stringProp name="TestPlan.comments"> </stringProp>
  579. </HTTPSamplerProxy>
  580. <hashTree/>
  581. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/accessories" enabled="true">
  582. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  583. <collectionProp name="Arguments.arguments"/>
  584. </elementProp>
  585. <stringProp name="HTTPSampler.domain"></stringProp>
  586. <stringProp name="HTTPSampler.port">443</stringProp>
  587. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  588. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  589. <stringProp name="HTTPSampler.protocol">https</stringProp>
  590. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  591. <stringProp name="HTTPSampler.path">/categories/accessories</stringProp>
  592. <stringProp name="HTTPSampler.method">GET</stringProp>
  593. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  594. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  595. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  596. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  597. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  598. <boolProp name="HTTPSampler.monitor">false</boolProp>
  599. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  600. <stringProp name="TestPlan.comments"> </stringProp>
  601. </HTTPSamplerProxy>
  602. <hashTree/>
  603. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/toys" enabled="true">
  604. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  605. <collectionProp name="Arguments.arguments"/>
  606. </elementProp>
  607. <stringProp name="HTTPSampler.domain"></stringProp>
  608. <stringProp name="HTTPSampler.port">443</stringProp>
  609. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  610. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  611. <stringProp name="HTTPSampler.protocol">https</stringProp>
  612. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  613. <stringProp name="HTTPSampler.path">/categories/toys</stringProp>
  614. <stringProp name="HTTPSampler.method">GET</stringProp>
  615. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  616. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  617. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  618. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  619. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  620. <boolProp name="HTTPSampler.monitor">false</boolProp>
  621. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  622. <stringProp name="TestPlan.comments"> </stringProp>
  623. </HTTPSamplerProxy>
  624. <hashTree/>
  625. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/forhome" enabled="true">
  626. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  627. <collectionProp name="Arguments.arguments"/>
  628. </elementProp>
  629. <stringProp name="HTTPSampler.domain"></stringProp>
  630. <stringProp name="HTTPSampler.port">443</stringProp>
  631. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  632. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  633. <stringProp name="HTTPSampler.protocol">https</stringProp>
  634. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  635. <stringProp name="HTTPSampler.path">/categories/forhome</stringProp>
  636. <stringProp name="HTTPSampler.method">GET</stringProp>
  637. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  638. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  639. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  640. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  641. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  642. <boolProp name="HTTPSampler.monitor">false</boolProp>
  643. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  644. <stringProp name="TestPlan.comments"> </stringProp>
  645. </HTTPSamplerProxy>
  646. <hashTree/>
  647. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/girls/0" enabled="true">
  648. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  649. <collectionProp name="Arguments.arguments"/>
  650. </elementProp>
  651. <stringProp name="HTTPSampler.domain"></stringProp>
  652. <stringProp name="HTTPSampler.port">443</stringProp>
  653. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  654. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  655. <stringProp name="HTTPSampler.protocol">https</stringProp>
  656. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  657. <stringProp name="HTTPSampler.path">/categories/girls/0</stringProp>
  658. <stringProp name="HTTPSampler.method">GET</stringProp>
  659. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  660. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  661. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  662. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  663. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  664. <boolProp name="HTTPSampler.monitor">false</boolProp>
  665. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  666. <stringProp name="TestPlan.comments"> </stringProp>
  667. </HTTPSamplerProxy>
  668. <hashTree/>
  669. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/girls/24" enabled="true">
  670. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  671. <collectionProp name="Arguments.arguments"/>
  672. </elementProp>
  673. <stringProp name="HTTPSampler.domain"></stringProp>
  674. <stringProp name="HTTPSampler.port">443</stringProp>
  675. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  676. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  677. <stringProp name="HTTPSampler.protocol">https</stringProp>
  678. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  679. <stringProp name="HTTPSampler.path">/categories/girls/24</stringProp>
  680. <stringProp name="HTTPSampler.method">GET</stringProp>
  681. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  682. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  683. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  684. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  685. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  686. <boolProp name="HTTPSampler.monitor">false</boolProp>
  687. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  688. <stringProp name="TestPlan.comments"> </stringProp>
  689. </HTTPSamplerProxy>
  690. <hashTree/>
  691. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/girls/60" enabled="true">
  692. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  693. <collectionProp name="Arguments.arguments"/>
  694. </elementProp>
  695. <stringProp name="HTTPSampler.domain"></stringProp>
  696. <stringProp name="HTTPSampler.port">443</stringProp>
  697. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  698. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  699. <stringProp name="HTTPSampler.protocol">https</stringProp>
  700. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  701. <stringProp name="HTTPSampler.path">/categories/girls/60</stringProp>
  702. <stringProp name="HTTPSampler.method">GET</stringProp>
  703. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  704. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  705. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  706. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  707. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  708. <boolProp name="HTTPSampler.monitor">false</boolProp>
  709. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  710. <stringProp name="TestPlan.comments"> </stringProp>
  711. </HTTPSamplerProxy>
  712. <hashTree/>
  713. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/girls/120" enabled="true">
  714. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  715. <collectionProp name="Arguments.arguments"/>
  716. </elementProp>
  717. <stringProp name="HTTPSampler.domain"></stringProp>
  718. <stringProp name="HTTPSampler.port">443</stringProp>
  719. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  720. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  721. <stringProp name="HTTPSampler.protocol">https</stringProp>
  722. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  723. <stringProp name="HTTPSampler.path">/categories/girls/120</stringProp>
  724. <stringProp name="HTTPSampler.method">GET</stringProp>
  725. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  726. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  727. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  728. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  729. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  730. <boolProp name="HTTPSampler.monitor">false</boolProp>
  731. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  732. <stringProp name="TestPlan.comments"> </stringProp>
  733. </HTTPSamplerProxy>
  734. <hashTree/>
  735. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/boys/0" enabled="true">
  736. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  737. <collectionProp name="Arguments.arguments"/>
  738. </elementProp>
  739. <stringProp name="HTTPSampler.domain"></stringProp>
  740. <stringProp name="HTTPSampler.port">443</stringProp>
  741. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  742. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  743. <stringProp name="HTTPSampler.protocol">https</stringProp>
  744. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  745. <stringProp name="HTTPSampler.path">/categories/boys/0</stringProp>
  746. <stringProp name="HTTPSampler.method">GET</stringProp>
  747. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  748. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  749. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  750. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  751. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  752. <boolProp name="HTTPSampler.monitor">false</boolProp>
  753. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  754. <stringProp name="TestPlan.comments"> </stringProp>
  755. </HTTPSamplerProxy>
  756. <hashTree/>
  757. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/boys/24" enabled="true">
  758. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  759. <collectionProp name="Arguments.arguments"/>
  760. </elementProp>
  761. <stringProp name="HTTPSampler.domain"></stringProp>
  762. <stringProp name="HTTPSampler.port">443</stringProp>
  763. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  764. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  765. <stringProp name="HTTPSampler.protocol">https</stringProp>
  766. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  767. <stringProp name="HTTPSampler.path">/categories/boys/24</stringProp>
  768. <stringProp name="HTTPSampler.method">GET</stringProp>
  769. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  770. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  771. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  772. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  773. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  774. <boolProp name="HTTPSampler.monitor">false</boolProp>
  775. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  776. <stringProp name="TestPlan.comments"> </stringProp>
  777. </HTTPSamplerProxy>
  778. <hashTree/>
  779. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/boys/60" enabled="true">
  780. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  781. <collectionProp name="Arguments.arguments"/>
  782. </elementProp>
  783. <stringProp name="HTTPSampler.domain"></stringProp>
  784. <stringProp name="HTTPSampler.port">443</stringProp>
  785. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  786. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  787. <stringProp name="HTTPSampler.protocol">https</stringProp>
  788. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  789. <stringProp name="HTTPSampler.path">/categories/boys/60</stringProp>
  790. <stringProp name="HTTPSampler.method">GET</stringProp>
  791. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  792. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  793. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  794. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  795. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  796. <boolProp name="HTTPSampler.monitor">false</boolProp>
  797. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  798. <stringProp name="TestPlan.comments"> </stringProp>
  799. </HTTPSamplerProxy>
  800. <hashTree/>
  801. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/categories/boys/120" enabled="true">
  802. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  803. <collectionProp name="Arguments.arguments"/>
  804. </elementProp>
  805. <stringProp name="HTTPSampler.domain"></stringProp>
  806. <stringProp name="HTTPSampler.port">443</stringProp>
  807. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  808. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  809. <stringProp name="HTTPSampler.protocol">https</stringProp>
  810. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  811. <stringProp name="HTTPSampler.path">/categories/boys/120</stringProp>
  812. <stringProp name="HTTPSampler.method">GET</stringProp>
  813. <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
  814. <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
  815. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  816. <boolProp name="HTTPSampler.DO_MULTIPART_POST">true</boolProp>
  817. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  818. <boolProp name="HTTPSampler.monitor">false</boolProp>
  819. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  820. <stringProp name="TestPlan.comments"> </stringProp>
  821. </HTTPSamplerProxy>
  822. <hashTree/>
  823. </hashTree>
  824. </hashTree>
  825. </hashTree>
  826. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Buy (50%)" enabled="false">
  827. <intProp name="ThroughputController.style">1</intProp>
  828. <boolProp name="ThroughputController.perThread">false</boolProp>
  829. <intProp name="ThroughputController.maxThroughput">1</intProp>
  830. <FloatProperty>
  831. <name>ThroughputController.percentThroughput</name>
  832. <value>30.0</value>
  833. <savedValue>0.0</savedValue>
  834. </FloatProperty>
  835. <stringProp name="TestPlan.comments"> </stringProp>
  836. </ThroughputController>
  837. <hashTree>
  838. <ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Buy percent (90%)" enabled="true">
  839. <intProp name="ThroughputController.style">1</intProp>
  840. <boolProp name="ThroughputController.perThread">false</boolProp>
  841. <intProp name="ThroughputController.maxThroughput">1</intProp>
  842. <FloatProperty>
  843. <name>ThroughputController.percentThroughput</name>
  844. <value>70.0</value>
  845. <savedValue>0.0</savedValue>
  846. </FloatProperty>
  847. </ThroughputController>
  848. <hashTree>
  849. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Buy" enabled="true"/>
  850. <hashTree>
  851. <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Product_to_cart" enabled="true">
  852. <boolProp name="LoopController.continue_forever">true</boolProp>
  853. <stringProp name="LoopController.loops">5</stringProp>
  854. </LoopController>
  855. <hashTree>
  856. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="buy order" enabled="true"/>
  857. <hashTree>
  858. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="view_product_to_buy" enabled="true">
  859. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  860. <collectionProp name="Arguments.arguments"/>
  861. </elementProp>
  862. <stringProp name="HTTPSampler.domain"></stringProp>
  863. <stringProp name="HTTPSampler.port">80</stringProp>
  864. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  865. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  866. <stringProp name="HTTPSampler.protocol"></stringProp>
  867. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  868. <stringProp name="HTTPSampler.path">${RANDLINK}</stringProp>
  869. <stringProp name="HTTPSampler.method">GET</stringProp>
  870. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  871. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  872. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  873. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  874. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  875. <boolProp name="HTTPSampler.monitor">true</boolProp>
  876. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  877. <stringProp name="TestPlan.comments">view_product_to_buy</stringProp>
  878. </HTTPSamplerProxy>
  879. <hashTree>
  880. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="get_rand_link" enabled="true">
  881. <stringProp name="filename"></stringProp>
  882. <stringProp name="parameters"></stringProp>
  883. <boolProp name="resetInterpreter">false</boolProp>
  884. <stringProp name="script">import java.io.*;
  885. import java.util.Random;
  886.  
  887.  
  888. int count = 0;
  889. int pos = 0;
  890. String path = vars.get (&quot;path&quot;);
  891.  
  892. List readLines = new ArrayList();
  893. try {
  894. BufferedReader fr = new BufferedReader (new FileReader (path.concat(&quot;links.cvs&quot;)));
  895. Random randomGenerator = new Random();
  896.  
  897. while ( (line = fr.readLine() ) != null )
  898. {
  899. readLines.add (line);
  900. count = count+1;
  901. }
  902. fr.close();
  903.  
  904. pos = randomGenerator.nextInt(readLines.size());
  905. line = readLines.get(pos);
  906. String[] sub = line.split(&quot;/&quot;);
  907.  
  908. vars.put (&quot;RANDLINK&quot;, line );
  909. vars.put (&quot;products_id&quot;, sub[3]);
  910. vars.put (&quot;attr_id&quot;, sub[4]);
  911. }
  912.  
  913. catch (Exception ex)
  914. {
  915. IsSuccess = false;
  916. log.error(ex.getMessage());
  917. System.err.println(ex.getMessage());
  918. }
  919.  
  920. </stringProp>
  921. </BeanShellPreProcessor>
  922. <hashTree/>
  923. </hashTree>
  924. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="add_product_to_cart" enabled="true">
  925. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  926. <collectionProp name="Arguments.arguments">
  927. <elementProp name="products_id" elementType="HTTPArgument">
  928. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  929. <stringProp name="Argument.value">${products_id}</stringProp>
  930. <stringProp name="Argument.metadata">=</stringProp>
  931. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  932. <stringProp name="Argument.name">products_id</stringProp>
  933. </elementProp>
  934. <elementProp name="customers_basket_quantity" elementType="HTTPArgument">
  935. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  936. <stringProp name="Argument.value">1</stringProp>
  937. <stringProp name="Argument.metadata">=</stringProp>
  938. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  939. <stringProp name="Argument.name">customers_basket_quantity</stringProp>
  940. </elementProp>
  941. <elementProp name="attr_id" elementType="HTTPArgument">
  942. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  943. <stringProp name="Argument.value">${attr_id}</stringProp>
  944. <stringProp name="Argument.metadata">=</stringProp>
  945. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  946. <stringProp name="Argument.name">attr_id</stringProp>
  947. </elementProp>
  948. </collectionProp>
  949. </elementProp>
  950. <stringProp name="HTTPSampler.domain"></stringProp>
  951. <stringProp name="HTTPSampler.port">80</stringProp>
  952. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  953. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  954. <stringProp name="HTTPSampler.protocol"></stringProp>
  955. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  956. <stringProp name="HTTPSampler.path">/cart/add</stringProp>
  957. <stringProp name="HTTPSampler.method">GET</stringProp>
  958. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  959. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  960. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  961. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  962. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  963. <boolProp name="HTTPSampler.monitor">true</boolProp>
  964. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  965. </HTTPSamplerProxy>
  966. <hashTree>
  967. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="get_rand_link" enabled="true">
  968. <stringProp name="filename"></stringProp>
  969. <stringProp name="parameters"></stringProp>
  970. <boolProp name="resetInterpreter">false</boolProp>
  971. <stringProp name="script">import java.io.*;
  972. import java.util.Random;
  973.  
  974.  
  975. int count = 0;
  976. int pos = 0;
  977. String path = vars.get (&quot;path&quot;);
  978.  
  979. List readLines = new ArrayList();
  980. try {
  981. BufferedReader fr = new BufferedReader (new FileReader (path.concat(&quot;links.cvs&quot;)));
  982. Random randomGenerator = new Random();
  983.  
  984. while ( (line = fr.readLine() ) != null )
  985. {
  986. readLines.add (line);
  987. count = count+1;
  988. }
  989. fr.close();
  990.  
  991. pos = randomGenerator.nextInt(readLines.size());
  992. line = readLines.get(pos);
  993. String[] sub = line.split(&quot;/&quot;);
  994.  
  995. vars.put (&quot;RANDLINK&quot;, line );
  996. vars.put (&quot;products_id&quot;, sub[3]);
  997. vars.put (&quot;attr_id&quot;, sub[4]);
  998. }
  999.  
  1000. catch (Exception ex)
  1001. {
  1002. IsSuccess = false;
  1003. log.error(ex.getMessage());
  1004. System.err.println(ex.getMessage());
  1005. }
  1006.  
  1007. </stringProp>
  1008. </BeanShellPreProcessor>
  1009. <hashTree/>
  1010. </hashTree>
  1011. </hashTree>
  1012. </hashTree>
  1013. <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Confirm checkout" enabled="true"/>
  1014. <hashTree>
  1015. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Checkout" enabled="true">
  1016. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1017. <collectionProp name="Arguments.arguments"/>
  1018. </elementProp>
  1019. <stringProp name="HTTPSampler.domain"></stringProp>
  1020. <stringProp name="HTTPSampler.port">80</stringProp>
  1021. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1022. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1023. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1024. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  1025. <stringProp name="HTTPSampler.path">/checkout</stringProp>
  1026. <stringProp name="HTTPSampler.method">GET</stringProp>
  1027. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1028. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1029. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1030. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1031. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  1032. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1033. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1034. </HTTPSamplerProxy>
  1035. <hashTree/>
  1036. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Autocomplete" enabled="true">
  1037. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1038. <collectionProp name="Arguments.arguments"/>
  1039. </elementProp>
  1040. <stringProp name="HTTPSampler.domain"></stringProp>
  1041. <stringProp name="HTTPSampler.port">80</stringProp>
  1042. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1043. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1044. <stringProp name="HTTPSampler.protocol"></stringProp>
  1045. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  1046. <stringProp name="HTTPSampler.path">/info/city-auto-complete?query=г. Москва</stringProp>
  1047. <stringProp name="HTTPSampler.method">GET</stringProp>
  1048. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1049. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1050. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1051. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1052. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  1053. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1054. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1055. </HTTPSamplerProxy>
  1056. <hashTree/>
  1057. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/checkout/delivery-type" enabled="true">
  1058. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1059. <collectionProp name="Arguments.arguments"/>
  1060. </elementProp>
  1061. <stringProp name="HTTPSampler.domain"></stringProp>
  1062. <stringProp name="HTTPSampler.port">80</stringProp>
  1063. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1064. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1065. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1066. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  1067. <stringProp name="HTTPSampler.path">/checkout/delivery-type?city=452231&amp;payment_system_id=-1&amp;promocode=&amp;gift_cards=&amp;format=json</stringProp>
  1068. <stringProp name="HTTPSampler.method">GET</stringProp>
  1069. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1070. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1071. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1072. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1073. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  1074. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1075. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1076. </HTTPSamplerProxy>
  1077. <hashTree/>
  1078. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="/checkout/address?type=courier_mamsy&amp;format=json" enabled="true">
  1079. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1080. <collectionProp name="Arguments.arguments"/>
  1081. </elementProp>
  1082. <stringProp name="HTTPSampler.domain"></stringProp>
  1083. <stringProp name="HTTPSampler.port">80</stringProp>
  1084. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1085. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1086. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1087. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  1088. <stringProp name="HTTPSampler.path">/checkout/address?type=courier_mamsy&amp;delivery_address_id=0&amp;promocode=&amp;gift_cards=&amp;payment_system_id=-1&amp;city=452231&amp;format=json</stringProp>
  1089. <stringProp name="HTTPSampler.method">GET</stringProp>
  1090. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1091. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1092. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1093. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1094. <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">true</boolProp>
  1095. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  1096. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1097. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1098. </HTTPSamplerProxy>
  1099. <hashTree/>
  1100. <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Confirm checkout" enabled="true">
  1101. <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
  1102. <collectionProp name="Arguments.arguments">
  1103. <elementProp name="customers_firstname" elementType="HTTPArgument">
  1104. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1105. <stringProp name="Argument.value">Test</stringProp>
  1106. <stringProp name="Argument.metadata">=</stringProp>
  1107. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1108. <stringProp name="Argument.name">customers_firstname</stringProp>
  1109. </elementProp>
  1110. <elementProp name="customers_lastname" elementType="HTTPArgument">
  1111. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1112. <stringProp name="Argument.value">Test</stringProp>
  1113. <stringProp name="Argument.metadata">=</stringProp>
  1114. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1115. <stringProp name="Argument.name">customers_lastname</stringProp>
  1116. </elementProp>
  1117. <elementProp name="customers_telephone" elementType="HTTPArgument">
  1118. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1119. <stringProp name="Argument.value">+7(495)123-45-67</stringProp>
  1120. <stringProp name="Argument.metadata">=</stringProp>
  1121. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1122. <stringProp name="Argument.name">customers_telephone</stringProp>
  1123. </elementProp>
  1124. <elementProp name="gift_cards" elementType="HTTPArgument">
  1125. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1126. <stringProp name="Argument.value"></stringProp>
  1127. <stringProp name="Argument.metadata">=</stringProp>
  1128. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1129. <stringProp name="Argument.name">gift_cards</stringProp>
  1130. </elementProp>
  1131. <elementProp name="entry_fias_id" elementType="HTTPArgument">
  1132. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1133. <stringProp name="Argument.value">452231</stringProp>
  1134. <stringProp name="Argument.metadata">=</stringProp>
  1135. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1136. <stringProp name="Argument.name">entry_fias_id</stringProp>
  1137. </elementProp>
  1138. <elementProp name="payment_system_id" elementType="HTTPArgument">
  1139. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1140. <stringProp name="Argument.value">-1</stringProp>
  1141. <stringProp name="Argument.metadata">=</stringProp>
  1142. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1143. <stringProp name="Argument.name">payment_system_id</stringProp>
  1144. </elementProp>
  1145. <elementProp name="delivery_type" elementType="HTTPArgument">
  1146. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1147. <stringProp name="Argument.value">courier_mamsy</stringProp>
  1148. <stringProp name="Argument.metadata">=</stringProp>
  1149. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1150. <stringProp name="Argument.name">delivery_type</stringProp>
  1151. </elementProp>
  1152. <elementProp name="entry_exact_street_address" elementType="HTTPArgument">
  1153. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1154. <stringProp name="Argument.value">Test</stringProp>
  1155. <stringProp name="Argument.metadata">=</stringProp>
  1156. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1157. <stringProp name="Argument.name">entry_exact_street_address</stringProp>
  1158. </elementProp>
  1159. <elementProp name="entry_home_address" elementType="HTTPArgument">
  1160. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1161. <stringProp name="Argument.value">1</stringProp>
  1162. <stringProp name="Argument.metadata">=</stringProp>
  1163. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1164. <stringProp name="Argument.name">entry_home_address</stringProp>
  1165. </elementProp>
  1166. <elementProp name="entry_building" elementType="HTTPArgument">
  1167. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1168. <stringProp name="Argument.value">2</stringProp>
  1169. <stringProp name="Argument.metadata">=</stringProp>
  1170. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1171. <stringProp name="Argument.name">entry_building</stringProp>
  1172. </elementProp>
  1173. <elementProp name="entry_building1" elementType="HTTPArgument">
  1174. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1175. <stringProp name="Argument.value">3</stringProp>
  1176. <stringProp name="Argument.metadata">=</stringProp>
  1177. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1178. <stringProp name="Argument.name">entry_building1</stringProp>
  1179. </elementProp>
  1180. <elementProp name="entry_flat_address" elementType="HTTPArgument">
  1181. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1182. <stringProp name="Argument.value">4</stringProp>
  1183. <stringProp name="Argument.metadata">=</stringProp>
  1184. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1185. <stringProp name="Argument.name">entry_flat_address</stringProp>
  1186. </elementProp>
  1187. <elementProp name="entry_misc" elementType="HTTPArgument">
  1188. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1189. <stringProp name="Argument.value">Testtest</stringProp>
  1190. <stringProp name="Argument.metadata">=</stringProp>
  1191. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1192. <stringProp name="Argument.name">entry_misc</stringProp>
  1193. </elementProp>
  1194. <elementProp name="order_questions" elementType="HTTPArgument">
  1195. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1196. <stringProp name="Argument.value">Test</stringProp>
  1197. <stringProp name="Argument.metadata">=</stringProp>
  1198. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1199. <stringProp name="Argument.name">order_questions</stringProp>
  1200. </elementProp>
  1201. <elementProp name="order_datetime" elementType="HTTPArgument">
  1202. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1203. <stringProp name="Argument.value">${timestamp}</stringProp>
  1204. <stringProp name="Argument.metadata">=</stringProp>
  1205. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1206. <stringProp name="Argument.name">order_datetime</stringProp>
  1207. </elementProp>
  1208. <elementProp name="promocode" elementType="HTTPArgument">
  1209. <boolProp name="HTTPArgument.always_encode">true</boolProp>
  1210. <stringProp name="Argument.value"></stringProp>
  1211. <stringProp name="Argument.metadata">=</stringProp>
  1212. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1213. <stringProp name="Argument.name">promocode</stringProp>
  1214. </elementProp>
  1215. <elementProp name="entry_city" elementType="HTTPArgument">
  1216. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1217. <stringProp name="Argument.value">%d0%b3.+%d0%9c%d0%be%d1%81%d0%ba%d0%b2%d0%b0</stringProp>
  1218. <stringProp name="Argument.metadata">=</stringProp>
  1219. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1220. <stringProp name="Argument.name">entry_city</stringProp>
  1221. </elementProp>
  1222. <elementProp name="address_book_id" elementType="HTTPArgument">
  1223. <boolProp name="HTTPArgument.always_encode">false</boolProp>
  1224. <stringProp name="Argument.value">0</stringProp>
  1225. <stringProp name="Argument.metadata">=</stringProp>
  1226. <boolProp name="HTTPArgument.use_equals">true</boolProp>
  1227. <stringProp name="Argument.name">address_book_id</stringProp>
  1228. </elementProp>
  1229. </collectionProp>
  1230. </elementProp>
  1231. <stringProp name="HTTPSampler.domain"></stringProp>
  1232. <stringProp name="HTTPSampler.port">80</stringProp>
  1233. <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  1234. <stringProp name="HTTPSampler.response_timeout"></stringProp>
  1235. <stringProp name="HTTPSampler.protocol">http</stringProp>
  1236. <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  1237. <stringProp name="HTTPSampler.path">/checkout</stringProp>
  1238. <stringProp name="HTTPSampler.method">POST</stringProp>
  1239. <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  1240. <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  1241. <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  1242. <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  1243. <stringProp name="HTTPSampler.implementation">Java</stringProp>
  1244. <boolProp name="HTTPSampler.monitor">false</boolProp>
  1245. <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  1246. </HTTPSamplerProxy>
  1247. <hashTree>
  1248. <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell PreProcessor" enabled="true">
  1249. <boolProp name="resetInterpreter">false</boolProp>
  1250. <stringProp name="parameters"></stringProp>
  1251. <stringProp name="filename"></stringProp>
  1252. <stringProp name="script">Long t = ctx.getPreviousResult().currentTimeInMillis();
  1253. vars.put(&quot;timestamp&quot;, t.toString());</stringProp>
  1254. </BeanShellPreProcessor>
  1255. <hashTree/>
  1256. </hashTree>
  1257. </hashTree>
  1258. </hashTree>
  1259. </hashTree>
  1260. </hashTree>
  1261. </hashTree>
  1262. </hashTree>
  1263. <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="success" enabled="true">
  1264. <boolProp name="ResultCollector.error_logging">false</boolProp>
  1265. <objProp>
  1266. <name>saveConfig</name>
  1267. <value class="SampleSaveConfiguration">
  1268. <time>true</time>
  1269. <latency>true</latency>
  1270. <timestamp>true</timestamp>
  1271. <success>true</success>
  1272. <label>true</label>
  1273. <code>true</code>
  1274. <message>true</message>
  1275. <threadName>true</threadName>
  1276. <dataType>true</dataType>
  1277. <encoding>false</encoding>
  1278. <assertions>true</assertions>
  1279. <subresults>true</subresults>
  1280. <responseData>false</responseData>
  1281. <samplerData>false</samplerData>
  1282. <xml>true</xml>
  1283. <fieldNames>false</fieldNames>
  1284. <responseHeaders>false</responseHeaders>
  1285. <requestHeaders>false</requestHeaders>
  1286. <responseDataOnError>false</responseDataOnError>
  1287. <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
  1288. <assertionsResultsToSave>0</assertionsResultsToSave>
  1289. <bytes>true</bytes>
  1290. <threadCounts>true</threadCounts>
  1291. </value>
  1292. </objProp>
  1293. <stringProp name="filename"></stringProp>
  1294. <boolProp name="ResultCollector.success_only_logging">true</boolProp>
  1295. </ResultCollector>
  1296. <hashTree/>
  1297. <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="errors" enabled="true">
  1298. <boolProp name="ResultCollector.error_logging">true</boolProp>
  1299. <objProp>
  1300. <name>saveConfig</name>
  1301. <value class="SampleSaveConfiguration">
  1302. <time>true</time>
  1303. <latency>true</latency>
  1304. <timestamp>true</timestamp>
  1305. <success>true</success>
  1306. <label>true</label>
  1307. <code>true</code>
  1308. <message>true</message>
  1309. <threadName>true</threadName>
  1310. <dataType>true</dataType>
  1311. <encoding>false</encoding>
  1312. <assertions>true</assertions>
  1313. <subresults>true</subresults>
  1314. <responseData>false</responseData>
  1315. <samplerData>false</samplerData>
  1316. <xml>true</xml>
  1317. <fieldNames>false</fieldNames>
  1318. <responseHeaders>false</responseHeaders>
  1319. <requestHeaders>false</requestHeaders>
  1320. <responseDataOnError>false</responseDataOnError>
  1321. <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
  1322. <assertionsResultsToSave>0</assertionsResultsToSave>
  1323. <bytes>true</bytes>
  1324. <threadCounts>true</threadCounts>
  1325. </value>
  1326. </objProp>
  1327. <stringProp name="filename"></stringProp>
  1328. </ResultCollector>
  1329. <hashTree/>
  1330. <DebugPostProcessor guiclass="TestBeanGUI" testclass="DebugPostProcessor" testname="Debug PostProcessor" enabled="true">
  1331. <boolProp name="displayJMeterProperties">true</boolProp>
  1332. <boolProp name="displayJMeterVariables">true</boolProp>
  1333. <boolProp name="displaySamplerProperties">true</boolProp>
  1334. <boolProp name="displaySystemProperties">true</boolProp>
  1335. </DebugPostProcessor>
  1336. <hashTree/>
  1337. <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="Delay" enabled="false">
  1338. <stringProp name="ConstantTimer.delay">500</stringProp>
  1339. </ConstantTimer>
  1340. <hashTree/>
  1341. </hashTree>
  1342. </hashTree>
  1343. </hashTree>
  1344. </hashTree>
  1345. </jmeterTestPlan>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement