{"id":20802,"date":"2020-05-21T06:30:27","date_gmt":"2020-05-21T06:30:27","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=20802"},"modified":"2024-12-15T06:14:12","modified_gmt":"2024-12-15T06:14:12","slug":"what-is-selenium-session-queue","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/what-is-selenium-session-queue\/","title":{"rendered":"What is Selenium Session Queue?"},"content":{"rendered":"<h2>What is Selenium Session Queue?<\/h2>\n<p>In this post, we will learn about Selenium Session Queue grid component. Session Queue implementation is new feature in Selenium 4.0<\/p>\n<h3>Session Queue<\/h3>\n<p>The Router adds the new request from the client to the Session queue. The queue holds the requests in First In First Out(FIFO) fashion. For example, imagine the queue at a bank service request. The order is maintained and the first person in the queue would be serviced first.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20880\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-4-Grid-Components-1.png\" alt=\"Selenium 4 Grid Components\" width=\"1729\" height=\"879\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-4-Grid-Components-1.png 1729w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-4-Grid-Components-1-300x153.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-4-Grid-Components-1-1024x521.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-4-Grid-Components-1-768x390.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-4-Grid-Components-1-1536x781.png 1536w\" sizes=\"auto, (max-width: 1729px) 100vw, 1729px\" \/><\/p>\n<p>The distributor periodically checks for worker nodes availability, on success the distributor will create a session and stores the information in Session Map.<\/p>\n<p><a href=\"https:\/\/www.testingdocs.com\/questions\/what-is-selenium-sessionmap\/\">https:\/\/www.testingdocs.com\/questions\/what-is-selenium-sessionmap\/<\/a><\/p>\n<h3>How to start?<\/h3>\n<p>Launch the terminal and issue the following command.<\/p>\n<p><strong>\\&gt; java -jar &lt;selenium-server-jar&gt; sessionqueue<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20831\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-SessionQueue-TestingDocs.png\" alt=\"Selenium Session Queue \" width=\"1915\" height=\"857\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-SessionQueue-TestingDocs.png 1915w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-SessionQueue-TestingDocs-300x134.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-SessionQueue-TestingDocs-1024x458.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-SessionQueue-TestingDocs-768x344.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selenium-SessionQueue-TestingDocs-1536x687.png 1536w\" sizes=\"auto, (max-width: 1915px) 100vw, 1915px\" \/><\/p>\n<p>We can bind other components as well during the start. Use the &#8211;help command switch to know more options.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Selenium Session Queue? In this post, we will learn about Selenium Session Queue grid component. Session Queue implementation is new feature in Selenium 4.0 Session Queue The Router adds the new request from the client to the Session queue. The queue holds the requests in First In First Out(FIFO) fashion. For example, imagine [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[185],"tags":[],"class_list":["post-20802","post","type-post","status-publish","format-standard","hentry","category-selenium","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/20802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=20802"}],"version-history":[{"count":23,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/20802\/revisions"}],"predecessor-version":[{"id":26485,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/20802\/revisions\/26485"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=20802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=20802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=20802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}