|
| 1 | +--- |
| 2 | +id: concurrency-widget |
| 3 | +title: Understanding Your LambdaTest Concurrency |
| 4 | +hide_title: true |
| 5 | +sidebar_label: Concurrency Widget |
| 6 | +description: Learn how your LambdaTest concurrency works and how to understand the concurrency widget that shows your parallel test usage across different plans and test types. |
| 7 | +keywords: |
| 8 | + - lambdatest concurrency |
| 9 | + - parallel tests |
| 10 | + - concurrency widget |
| 11 | + - test plans |
| 12 | + - license pool |
| 13 | + |
| 14 | +url: https://www.lambdatest.com/support/docs/concurrency-widget/ |
| 15 | +site_name: LambdaTest |
| 16 | +slug: concurrency-widget/ |
| 17 | +--- |
| 18 | + |
| 19 | +<script type="application/ld+json" |
| 20 | + dangerouslySetInnerHTML={{ __html: JSON.stringify({ |
| 21 | + "@context": "https://schema.org", |
| 22 | + "@type": "BreadcrumbList", |
| 23 | + "itemListElement": [{ |
| 24 | + "@type": "ListItem", |
| 25 | + "position": 1, |
| 26 | + "name": "LambdaTest", |
| 27 | + "item": "https://www.lambdatest.com" |
| 28 | + },{ |
| 29 | + "@type": "ListItem", |
| 30 | + "position": 2, |
| 31 | + "name": "Support", |
| 32 | + "item": "https://www.lambdatest.com/support/docs/" |
| 33 | + },{ |
| 34 | + "@type": "ListItem", |
| 35 | + "position": 3, |
| 36 | + "name": "Concurrency Widget", |
| 37 | + "item": "https://www.lambdatest.com/support/docs/concurrency-widget/" |
| 38 | + }] |
| 39 | + }) |
| 40 | + }} |
| 41 | +></script> |
| 42 | + |
| 43 | +# Understanding Your LambdaTest Concurrency |
| 44 | + |
| 45 | +Your LambdaTest subscription is designed to be flexible, allowing you and your team to run different types of tests. This guide explains how your concurrency (the number of tests you can run in parallel) is managed. |
| 46 | + |
| 47 | +--- |
| 48 | + |
| 49 | +## Key Concepts Made Simple |
| 50 | + |
| 51 | +**Concurrency:** The number of tests you can run at the same time. If you have 10 parallels, you can run 10 tests simultaneously. These are determined by the sum of all subscriptions that have been purchased. |
| 52 | + |
| 53 | +**Plans (Your Subscriptions):** These are the packages you purchase, like "Web & Mobile Browser Automation on Real Device" or "Hyperexecute Linux" Each plan comes with a specific number of parallels. |
| 54 | + |
| 55 | +**Intents (Types of Tests):** These are the specific test types you can run, such as Realtime Testing, Desktop Automation, or Mobile Automation. |
| 56 | + |
| 57 | +--- |
| 58 | + |
| 59 | +## The Most Important Idea: The License Pool |
| 60 | + |
| 61 | +Think of each Plan you purchase as its own Pool of concurrency. |
| 62 | + |
| 63 | +All the different test types (Intents) included in that one Plan share the same pool. If you run any test from that Plan, it takes up one slot from the pool, reducing the available slots for all other tests within that same Plan. |
| 64 | + |
| 65 | +### Understanding the License Pool with an example |
| 66 | + |
| 67 | +Let's say that you buy a plan Web & Mobile Automation on Real Devices with 10 parallel tests, now all the types of tests that are included in this plan will share the same concurrency pool. |
| 68 | + |
| 69 | +Now lets say you run 1 web automation test, now the availability of the parallel tests throughout will be 9 (i.e. 10 - 1 = 9 that's now available for any type of test). |
| 70 | + |
| 71 | +--- |
| 72 | + |
| 73 | +## Decoding the Widget: A Detailed Look |
| 74 | + |
| 75 | +The widget gives you a real-time view of your license pool usage. Let's break it down using an example. Assuming the current plan consists of Web & Mobile Automation on Real Devices x10 |
| 76 | + |
| 77 | +### The Main View |
| 78 | + |
| 79 | +At a glance, you see a list of test types (Intents) and their usage, like: |
| 80 | + |
| 81 | + |
| 82 | +This means that for the license pool this test belongs to, 1 parallel is currently being used out of a total of 10. |
| 83 | + |
| 84 | +<img loading="lazy" src={require('../assets/images/concurrency-widget/1.png').default} alt="Image" className="doc_img"/> |
| 85 | + |
| 86 | +--- |
| 87 | + |
| 88 | +### The Expanded View: Running vs. Consumed By Other |
| 89 | + |
| 90 | +When you click the arrow to expand a section, you get a more detailed breakdown. This is where you can see exactly how your pool is being used. |
| 91 | + |
| 92 | +**Running:** This shows how many tests of that specific type are active. In the example, Running is 0, meaning no Mobile Browser Automation tests are active right now. |
| 93 | + |
| 94 | +**Consumed By Other:** This is the most important field for understanding your pool. It shows how many parallels are being used by: |
| 95 | +1. Different test types that belong to the same plan. (Running at Group/Sub-Org Level) |
| 96 | +2. Same test type run by users in other groups. |
| 97 | +3. Same test type run by users in sub-org. |
| 98 | + |
| 99 | +In this case we are running a Web Automation Desktop Browser. |
| 100 | + |
| 101 | +**Available:** This is the final count of parallels left in the pool for you to use. |
| 102 | + |
| 103 | +<img loading="lazy" src={require('../assets/images/concurrency-widget/2.png').default} alt="Image" className="doc_img"/> |
| 104 | + |
| 105 | +--- |
| 106 | + |
| 107 | +### Putting it all together with the example: |
| 108 | + |
| 109 | +- The plan bought (Web & Mobile Automation on Real Devices x10) has a subscription of 10 parallels. |
| 110 | +- The Consumed By Other field shows 1. This tells you that a different test from the same plan (in this case, Web Automation Desktop) is using one parallel. |
| 111 | +- Since 0 tests of the current type (Mobile Browser Automation) are Running and 1 is Consumed By Other, the total usage for the pool is 1. |
| 112 | +- This leaves 9 parallels Available, perfectly matching the 1/10 summary. |
| 113 | + |
| 114 | +--- |
| 115 | + |
| 116 | +## Scenarios Explained |
| 117 | + |
| 118 | +### Scenario 1: One Plan, Multiple Tests |
| 119 | + |
| 120 | +**Setup:** You have one subscription: the "Web & Mobile Automation on Real Devices" with 10 parallels. This plan includes Web Automation Desktop and Mobile Browser Automation etc. |
| 121 | + |
| 122 | +**Action:** Your team starts running 2 Web Automation Desktop tests. |
| 123 | + |
| 124 | +**Result on the Widget:** |
| 125 | + |
| 126 | +When you look at the widget, both sections will reflect this usage: |
| 127 | +- Web Automation Desktop will show 2 Running and 8 Available. |
| 128 | +- Mobile Browser Automation will show 0 Running, 2 Consumed By Other, and 8 Available. |
| 129 | + |
| 130 | +**Why?** Because both Intents pull from the same pool of 10. You have 8 parallels left for either test type. |
| 131 | + |
| 132 | +Web Automation Desktop Testing Widget |
| 133 | + |
| 134 | +<img loading="lazy" src={require('../assets/images/concurrency-widget/3.png').default} alt="Image" className="doc_img"/> |
| 135 | + |
| 136 | +Mobile Browser Automation Testing Widget |
| 137 | + |
| 138 | +<img loading="lazy" src={require('../assets/images/concurrency-widget/4.png').default} alt="Image" className="doc_img"/> |
| 139 | + |
| 140 | +--- |
| 141 | + |
| 142 | +### Scenario 2: The Widget on Different Pages |
| 143 | + |
| 144 | +**Setup:** You have the same "Web & Mobile Automation on Real Devices" with 10 parallels. |
| 145 | + |
| 146 | +**Action:** A colleague starts 2 web automation desktop tests. You are on the Real-time Testing page. |
| 147 | + |
| 148 | +**Result on Your Widget:** |
| 149 | +- The Real-time Testing section on your page will show 2 tests as Consumed By Other. |
| 150 | +- It will display that only 8/10 parallels are available, even though you haven't run any real-time tests yourself. The widget accurately reflects the total usage of the shared pool. |
| 151 | + |
| 152 | +<img loading="lazy" src={require('../assets/images/concurrency-widget/5.png').default} alt="Image" className="doc_img"/> |
| 153 | + |
| 154 | +--- |
| 155 | + |
| 156 | +### Scenario 3: Multiple Plans with Overlapping Tests |
| 157 | + |
| 158 | +This is where the system's flexibility shines. |
| 159 | + |
| 160 | +**Setup:** Your organization has two subscriptions: |
| 161 | +- "Web & Mobile Automation on Real Devices" with 10 parallels, which includes Web Automation Desktop and Real Mobile Automation and more. |
| 162 | +- "Hyperexecute (Linux Only)" with 5 parallels, which includes Web Automation Desktop and Hyperexecute Linux and more. |
| 163 | + |
| 164 | +**The Overlap:** Web Automation Desktop is in both plans, giving you a combined total of 15 parallels (10 + 5) specifically for web automation desktop testing. |
| 165 | + |
| 166 | +**Action:** Your team needs to run a large batch of web automation tests and start 12 of them. |
| 167 | + |
| 168 | +**Result on the Widget:** The system intelligently uses licenses from both pools to meet the demand. |
| 169 | + |
| 170 | +- **Web Automation Desktop (common in both plans)** |
| 171 | + Example: Running 12 tests out of 15 total. |
| 172 | + Shows 3 available slots left, regardless of the type of test you choose next. |
| 173 | + |
| 174 | +<img loading="lazy" src={require('../assets/images/concurrency-widget/6.png').default} alt="Image" className="doc_img"/> |
| 175 | + |
| 176 | +- **Real Mobile Automation (unique to Web & Mobile Automation on Real Devices plan)** |
| 177 | + Available only in the Web & Mobile Automation on Real Devices plan. |
| 178 | + Even if 12 Web Automation tests are running, the system still shows 3 available slots (15 – 12). |
| 179 | + |
| 180 | +<img loading="lazy" src={require('../assets/images/concurrency-widget/7.png').default} alt="Image" className="doc_img"/> |
| 181 | + |
| 182 | +- **HyperExecute (Linux) (unique to Hyperexecute Linux plan)** |
| 183 | + Available only in the HyperExecute (Linux Only) plan. |
| 184 | + The system again shows 3 available slots, since concurrency dynamically balances across plans. |
| 185 | + |
| 186 | +<img loading="lazy" src={require('../assets/images/concurrency-widget/8.png').default} alt="Image" className="doc_img"/> |
| 187 | + |
| 188 | +Now the system will intelligently decide your available concurrency based on the type of test that you want to run. |
| 189 | +However, your total number of parallel tests is capped at 3 (regardless of type of test you want to run). |
| 190 | + |
| 191 | +**Why?** The system pools your licenses for any overlapping test types, giving you maximum capacity. However, using these pooled licenses will consume slots from each contributing plan, affecting the availability of other, non-overlapping tests in those plans. |
| 192 | + |
| 193 | +--- |
| 194 | + |
| 195 | +<nav aria-label="breadcrumbs"> |
| 196 | + <ul className="breadcrumbs"> |
| 197 | + <li className="breadcrumbs__item"> |
| 198 | + <a className="breadcrumbs__link" href="https://www.lambdatest.com"> |
| 199 | + Home |
| 200 | + </a> |
| 201 | + </li> |
| 202 | + <li className="breadcrumbs__item"> |
| 203 | + <a className="breadcrumbs__link" target="_self" href="https://www.lambdatest.com/support/docs/"> |
| 204 | + Support |
| 205 | + </a> |
| 206 | + </li> |
| 207 | + <li className="breadcrumbs__item breadcrumbs__item--active"> |
| 208 | + <span className="breadcrumbs__link"> |
| 209 | + Concurrency Widget |
| 210 | + </span> |
| 211 | + </li> |
| 212 | + </ul> |
| 213 | +</nav> |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
0 commit comments