Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.92 KB | None | 0 0
  1. -- The chrome extension has recorded all your HTTP traffic to generate this user scenario script.
  2. -- You can use this user scenario in your load tests to simulate your user traffic.
  3.  
  4.  
  5. -- You will likely have to modify this script to:
  6. -- 1) Rename the page name `http.page_start/http.page_end` to help during result analysis.
  7. -- 2) Setup more accurate sleep time `client.sleep`. Sleep time is important, because real users do go idle on pages, depending on content.
  8. -- 3) Extracting and correlating CSRF tokens or dynamic values.
  9. -- 4) Adding custom metrics, logs, custom logic...
  10.  
  11.  
  12. -- A script validation launches 1 Virtual User to run your user scenario; it shows logs, warnings and errors.
  13.  
  14.  
  15. responses = http.request_batch({
  16. {"GET", "https://psg:Psg05!@test.playstation-gear.com/en", auto_decompress=true, response_body_bytes=1024}
  17. })
  18.  
  19.  
  20.  
  21.  
  22. -- Use `response_body_bytes` parameter to access response body or use `http.set_option()`
  23. -- ** Feel free to remove the line of code below
  24. log.debug("FirstRequestBody: "..responses[1].body)
  25.  
  26. -- Report any specific data with `result.custom_metric`
  27. -- ** Feel free to remove the line of code below
  28. result.custom_metric("TTFB-FirstRequest", responses[1].time_to_first_byte)
  29.  
  30.  
  31.  
  32. http.request_batch({
  33. {"GET", "https://psg:Psg05!@test.playstation-gear.com/modules/system/assets/css/framework.extras.css", auto_decompress=true},
  34. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/css/build.css", auto_decompress=true},
  35. {"GET", "https://psg:Psg05!@test.playstation-gear.com/plugins/e3creative/cookielaw/assets/cookieconsent.min.css", auto_decompress=true},
  36. {"GET", "https://psg:Psg05!@test.playstation-gear.com/combine/09212d2b220d5e7635611ec986e4cce3-1539178394", auto_decompress=true},
  37. {"GET", "https://psg:Psg05!@test.playstation-gear.com/combine/5ea2d7bf444177bc126079e2b168c0d2-1539853434", auto_decompress=true},
  38. {"GET", "https://psg:Psg05!@test.playstation-gear.com/plugins/e3creative/cookielaw/assets/cookieconsent.min.js", auto_decompress=true},
  39. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/svg/svg-icons.svg#search", auto_decompress=true},
  40. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/carouse-dark-bg.png", auto_decompress=true},
  41. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/bullet-list-back.png", auto_decompress=true},
  42. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/bullet-list.png", auto_decompress=true},
  43. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/left-arrow.png", auto_decompress=true},
  44. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/fonts/SST-Light.woff2", auto_decompress=true},
  45. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/fonts/SST-Roman.woff2", auto_decompress=true},
  46. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/fonts/SST-Bold.woff2", auto_decompress=true},
  47. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  48. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  49. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  50. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/wishlist", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  51. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en", headers={["X-CSRF-TOKEN"]="L6LPN3ZalvhJ1s3Qx0tPnjkMxO6iaXnC0Ev7JZ2I",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onLoadHeader",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=L6LPN3ZalvhJ1s3Qx0tPnjkMxO6iaXnC0Ev7JZ2I", auto_decompress=true},
  52. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/white-left-arrow.png", auto_decompress=true},
  53. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/white-right-arrow.png", auto_decompress=true},
  54. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  55. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en", headers={["X-CSRF-TOKEN"]="EB5dHpGZPxuUH7o5x199qe0tgIHBC6xeQlejSj9s",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=EB5dHpGZPxuUH7o5x199qe0tgIHBC6xeQlejSj9s", auto_decompress=true},
  56. {"GET", "https://psg:Psg05!@test.playstation-gear.com/en/categories/tops-tshirts", auto_decompress=true}
  57. })
  58.  
  59. http.request_batch({
  60. {"GET", "https://psg:Psg05!@test.playstation-gear.com/modules/system/assets/css/framework.extras.css", auto_decompress=true},
  61. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/css/build.css", auto_decompress=true},
  62. {"GET", "https://psg:Psg05!@test.playstation-gear.com/plugins/e3creative/cookielaw/assets/cookieconsent.min.css", auto_decompress=true},
  63. {"GET", "https://psg:Psg05!@test.playstation-gear.com/combine/5ea2d7bf444177bc126079e2b168c0d2-1539941944", auto_decompress=true},
  64. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/down-arrow.png", auto_decompress=true},
  65. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/option-default.png", auto_decompress=true},
  66. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/backgrounds/listing-bg.jpg", auto_decompress=true},
  67. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/fonts/pdcicons.ttf?1.2", auto_decompress=true},
  68. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  69. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/wishlist", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  70. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/categories/tops-tshirts", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onLoadHeader",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  71. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  72. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/categories/tops-tshirts", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true}
  73. })
  74.  
  75. http.request_batch({
  76. {"GET", "https://psg:Psg05!@test.playstation-gear.com/en/products/fallout-76-nuka-world-t-shirt", auto_decompress=true},
  77. {"GET", "https://psg:Psg05!@test.playstation-gear.com/modules/system/assets/css/framework.extras.css", auto_decompress=true},
  78. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/css/build.css", auto_decompress=true},
  79. {"GET", "https://psg:Psg05!@test.playstation-gear.com/plugins/e3creative/cookielaw/assets/cookieconsent.min.css", auto_decompress=true},
  80. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/fonts/fontawesome-webfont.woff2?v=4.7.0", auto_decompress=true},
  81. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  82. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/wishlist", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  83. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/fallout-76-nuka-world-t-shirt", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onLoadHeader",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  84. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  85. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/fallout-76-nuka-world-t-shirt", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  86. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/fallout-76-nuka-world-t-shirt", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="layout/flash",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onAddToBasket",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=product_id%3D2593&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE&product_id=2593", auto_decompress=true},
  87. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  88. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  89. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  90. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/fallout-76-nuka-world-t-shirt", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  91. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/fonts/SST-Medium.woff2", auto_decompress=true}
  92. })
  93.  
  94. http.request_batch({
  95. {"GET", "https://psg:Psg05!@test.playstation-gear.com/en/products/fallout-76-nuka-cola-vintage-cap", auto_decompress=true},
  96. {"GET", "https://psg:Psg05!@test.playstation-gear.com/modules/system/assets/css/framework.extras.css", auto_decompress=true},
  97. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/css/build.css", auto_decompress=true},
  98. {"GET", "https://psg:Psg05!@test.playstation-gear.com/plugins/e3creative/cookielaw/assets/cookieconsent.min.css", auto_decompress=true},
  99. {"GET", "https://psg:Psg05!@test.playstation-gear.com/combine/5ea2d7bf444177bc126079e2b168c0d2-1539853434", auto_decompress=true},
  100. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  101. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/wishlist", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  102. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/fallout-76-nuka-cola-vintage-cap", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onLoadHeader",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  103. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  104. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/fallout-76-nuka-cola-vintage-cap", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  105. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/fallout-76-nuka-cola-vintage-cap", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="modules/wishlist/buttons&layout/flash&modules/wishlist/listings",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onAddItem",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=product_id%3D2590&1=product_id%3D2590%26has_item_class%3Dbtn%2520dark%26no_item_class%3Dbtn%2520dark%2520pull-left&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE&has_item_class=btn+dark&no_item_class=btn+dark+pull-left&product_id=2590", auto_decompress=true},
  106. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/fallout-76-nuka-cola-vintage-cap", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onLoadHeader",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true}
  107. })
  108.  
  109. http.request_batch({
  110. {"GET", "https://psg:Psg05!@test.playstation-gear.com/en/categories/tops-tshirts", auto_decompress=true},
  111. {"GET", "https://psg:Psg05!@test.playstation-gear.com/modules/system/assets/css/framework.extras.css", auto_decompress=true},
  112. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/css/build.css", auto_decompress=true},
  113. {"GET", "https://psg:Psg05!@test.playstation-gear.com/plugins/e3creative/cookielaw/assets/cookieconsent.min.css", auto_decompress=true},
  114. {"GET", "https://psg:Psg05!@test.playstation-gear.com/combine/5ea2d7bf444177bc126079e2b168c0d2-1539941944", auto_decompress=true},
  115. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/down-arrow.png", auto_decompress=true},
  116. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/option-default.png", auto_decompress=true},
  117. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  118. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/wishlist", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  119. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/categories/tops-tshirts", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onLoadHeader",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  120. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  121. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/categories/tops-tshirts", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  122. {"GET", "https://psg:Psg05!@test.playstation-gear.com/en/accessories", auto_decompress=true},
  123. {"GET", "https://psg:Psg05!@test.playstation-gear.com/modules/system/assets/css/framework.extras.css", auto_decompress=true},
  124. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/css/build.css", auto_decompress=true},
  125. {"GET", "https://psg:Psg05!@test.playstation-gear.com/plugins/e3creative/cookielaw/assets/cookieconsent.min.css", auto_decompress=true},
  126. {"GET", "https://psg:Psg05!@test.playstation-gear.com/combine/5ea2d7bf444177bc126079e2b168c0d2-1539853434", auto_decompress=true},
  127. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/carouse-dark-bg.png", auto_decompress=true},
  128. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  129. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/wishlist", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  130. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/accessories", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onLoadHeader",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  131. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/white-left-arrow.png", auto_decompress=true},
  132. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/white-right-arrow.png", auto_decompress=true},
  133. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  134. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/accessories", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  135. {"GET", "https://psg:Psg05!@test.playstation-gear.com/en/products/playstation-shapes-light", auto_decompress=true},
  136. {"GET", "https://psg:Psg05!@test.playstation-gear.com/modules/system/assets/css/framework.extras.css", auto_decompress=true},
  137. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/css/build.css", auto_decompress=true},
  138. {"GET", "https://psg:Psg05!@test.playstation-gear.com/plugins/e3creative/cookielaw/assets/cookieconsent.min.css", auto_decompress=true},
  139. {"GET", "https://psg:Psg05!@test.playstation-gear.com/combine/5ea2d7bf444177bc126079e2b168c0d2-1539941944", auto_decompress=true},
  140. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/backgrounds/listing-bg.jpg", auto_decompress=true},
  141. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  142. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/wishlist", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  143. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/playstation-shapes-light", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onLoadHeader",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  144. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  145. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/playstation-shapes-light", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  146. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/playstation-shapes-light", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="layout/flash",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onAddToBasket",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=product_id%3D1836&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE&product_id=1836", auto_decompress=true},
  147. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  148. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  149. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  150. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/playstation-shapes-light", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  151. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/playstation-shapes-light", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="layout/flash",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onAddToBasket",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=product_id%3D1836&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE&product_id=1836", auto_decompress=true},
  152. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  153. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  154. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  155. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/products/playstation-shapes-light", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  156. {"GET", "https://psg:Psg05!@test.playstation-gear.com/en/basket", auto_decompress=true},
  157. {"GET", "https://psg:Psg05!@test.playstation-gear.com/modules/system/assets/css/framework.extras.css", auto_decompress=true},
  158. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/css/build.css", auto_decompress=true},
  159. {"GET", "https://psg:Psg05!@test.playstation-gear.com/plugins/e3creative/cookielaw/assets/cookieconsent.min.css", auto_decompress=true},
  160. {"GET", "https://psg:Psg05!@test.playstation-gear.com/combine/5ea2d7bf444177bc126079e2b168c0d2-1539853434", auto_decompress=true},
  161. {"GET", "https://psg:Psg05!@test.playstation-gear.com/storage/app/uploads/public/5b7/538/814/thumb_9660_0x350_0_0_auto.jpg", auto_decompress=true},
  162. {"GET", "https://psg:Psg05!@test.playstation-gear.com/storage/app/uploads/public/5b3/f42/049/thumb_8889_0x350_0_0_auto.jpg", auto_decompress=true},
  163. {"GET", "https://psg:Psg05!@test.playstation-gear.com/storage/app/uploads/public/59f/2fd/d44/thumb_6004_0x350_0_0_auto.jpeg", auto_decompress=true},
  164. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/down-arrow.png", auto_decompress=true},
  165. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/backgrounds/checkout.jpg", auto_decompress=true},
  166. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  167. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/wishlist", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  168. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/basket", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onLoadHeader",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  169. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  170. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/basket", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true}
  171. })
  172.  
  173. http.request_batch({
  174. {"GET", "https://psg:Psg05!@test.playstation-gear.com/en/checkout/delivery", auto_decompress=true},
  175. {"GET", "https://psg:Psg05!@test.playstation-gear.com/modules/system/assets/css/framework.extras.css", auto_decompress=true},
  176. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/css/build.css", auto_decompress=true},
  177. {"GET", "https://psg:Psg05!@test.playstation-gear.com/plugins/e3creative/cookielaw/assets/cookieconsent.min.css", auto_decompress=true},
  178. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  179. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/wishlist", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  180. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/log-in", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onLoadHeader",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  181. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  182. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/log-in", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  183. {"GET", "https://psg:Psg05!@test.playstation-gear.com/en/checkout/guest", auto_decompress=true},
  184. {"GET", "https://psg:Psg05!@test.playstation-gear.com/modules/system/assets/css/framework.extras.css", auto_decompress=true},
  185. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/css/build.css", auto_decompress=true},
  186. {"GET", "https://psg:Psg05!@test.playstation-gear.com/plugins/e3creative/cookielaw/assets/cookieconsent.min.css", auto_decompress=true},
  187. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/icons/option-checked-circle.png", auto_decompress=true},
  188. {"GET", "https://psg:Psg05!@test.playstation-gear.com/themes/ps-gear/assets/images/backgrounds/checkout.jpg", auto_decompress=true},
  189. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/basket", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  190. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/wishlist", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  191. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/checkout/guest", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="wishlist::onLoadHeader",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true},
  192. {"GET", "https://psg:Psg05!@test.playstation-gear.com/api/token", headers={["X-Requested-With"]="XMLHttpRequest"}, auto_decompress=true},
  193. {"POST", "https://psg:Psg05!@test.playstation-gear.com/en/checkout/guest", headers={["X-CSRF-TOKEN"]="Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE",["X-OCTOBER-REQUEST-PARTIALS"]="",["X-OCTOBER-REQUEST-HANDLER"]="myBasket::onLoadDropdown",["X-Requested-With"]="XMLHttpRequest",["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"}, data="0=&_token=Z6xYE5QqW099RpZz8G0bTS9TFjTVXJn86JwB9rtE", auto_decompress=true}
  194. })
  195.  
  196. client.sleep(math.random(20, 40))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement