Types of Performance Testing
Performance testing is not one test. Each type asks a different question about the system, so each type uses a different load shape and a different duration.
8 min read8 মিনিটে পড়া যায় · 5 sections5টি সেকশন · 12 sources12টি সোর্স · updated Oct 2026আপডেট: Oct 2026
Which question does each test ask?প্রতিটা টেস্ট কোন প্রশ্ন করে?
Hit one system with different load shapes and see which weakness each type finds.একটা সিস্টেমে আলাদা আলাদা load shape চালান আর দেখুন প্রতিটা টাইপ কোন দুর্বলতা ধরে।
You’ll learnআপনি শিখবেন
- What a load test checksলোড টেস্ট কী যাচাই করে✓
- How capacity finds the limitক্যাপাসিটি কীভাবে সীমা খোঁজে
- How stress and spike differস্ট্রেস আর স্পাইকের তফাত
- Why a soak test runs for hoursসোক টেস্ট কেন কয়েক ঘণ্টা চলে
- Why volume is about dataভলিউম কেন ডেটা নিয়ে
Why one test is not enough
The k6 guide says that different traffic patterns give different risk profiles Source 1সোর্স 1. So teams run several test types. No single type removes all risk Source 1সোর্স 1.
This page covers the five types in the owner's notes and adds soak testing:
- Capacity test: how many users the system handles at an acceptable level.
- Load test: how the system behaves under the expected load.
- Stress test: how the system behaves when the load grows step by step.
- Volume test: whether the software handles and processes a large amount of data at once without breaking, slowing down, or losing information.
- Spike test: how the system behaves when a huge load arrives in a short time.
- Soak test: how the system behaves when a normal load runs for a very long time.
The k6 documentation names six types: smoke, average-load, stress, soak, spike, and breakpoint Source 1সোর্স 1. The next sections map the two lists to each other. The mapping is the tutorial's own reading of the sources. Part 5 has a k6 script for each k6 type: see Smoke, Load, Stress, Spike, Soak, and Breakpoint Tests.
সহজ English
The k6 guide says that different traffic patterns give different risk profiles Source 1সোর্স 1. So teams run several test types. No single type removes all risk Source 1সোর্স 1.
This page covers the five types in the owner's notes and adds soak testing:
- Capacity test: how many users the system handles at an acceptable level.
- Load test: how the system behaves under the expected load.
- Stress test: how the system behaves when the load grows step by step.
- Volume test: whether the software handles a large amount of data at once without breaking, slowing down, or losing information.
- Spike test: how the system behaves when a huge load arrives in a short time.
- Soak test: how the system behaves when a normal load runs for a very long time.
The k6 documentation names six types: smoke, average-load, stress, soak, spike, and breakpoint Source 1সোর্স 1. The next sections map the two lists to each other. The mapping is the tutorial's own reading of the sources. Part 5 has a k6 script for each k6 type: see Smoke, Load, Stress, Spike, Soak, and Breakpoint Tests.
বাংলা ব্যাখ্যা
k6 গাইড বলে, ভিন্ন ভিন্ন ট্রাফিক প্যাটার্ন ভিন্ন ভিন্ন ঝুঁকির প্রোফাইল তৈরি করে Source 1সোর্স 1। তাই টিম একাধিক টেস্ট টাইপ চালায়। কোনো একটা টাইপ সব ঝুঁকি দূর করে না Source 1সোর্স 1।
এই পেজে owner-এর নোটের পাঁচটা টাইপ আছে, আর যোগ হয়েছে soak testing:
- Capacity test: সিস্টেম গ্রহণযোগ্য মানে কতজন ইউজার সামলাতে পারে।
- Load test: প্রত্যাশিত load-এ সিস্টেম কেমন আচরণ করে।
- Stress test: load ধাপে ধাপে বাড়ালে সিস্টেম কেমন আচরণ করে।
- Volume test: সফটওয়্যার একসাথে অনেক ডেটা সামলাতে ও প্রসেস করতে পারে কি না, ভাঙা, ধীর হওয়া বা তথ্য হারানো ছাড়াই।
- Spike test: অল্প সময়ে বিশাল load এলে সিস্টেম কেমন আচরণ করে।
- Soak test: স্বাভাবিক load অনেক লম্বা সময় চললে সিস্টেম কেমন আচরণ করে।
k6 ডকুমেন্টেশনে ছয়টা টাইপের নাম আছে: smoke, average-load, stress, soak, spike, আর breakpoint Source 1সোর্স 1। পরের সেকশনগুলো দুই তালিকাকে মিলিয়ে দেখায়। এই মিলানো tutorial-এর নিজের পাঠ। পার্ট ৫-এ প্রতিটা k6 টাইপের জন্য একটা k6 স্ক্রিপ্ট আছে: দেখুন Smoke, Load, Stress, Spike, Soak, and Breakpoint Tests।
Compare the types
The table shows the goal, the load shape, and the duration of each type. The k6 columns follow the k6 cheat sheet Source 1সোর্স 1. The volume row is not in the k6 cheat sheet.
| Type (k6 name) | Goal | Load shape | Duration |
|---|---|---|---|
| Smoke | Check that the script and the system work under minimal load, and get a baseline Source 3সোর্স 3 | Low: a few VUs Source 3সোর্স 3 | Short: seconds or minutes Source 1সোর্স 1 |
| Load (average-load) | Check performance under typical load Source 2সোর্স 2 | Ramp up, hold the average, ramp down Source 2সোর্স 2 | Mid: 5 to 60 minutes Source 1সোর্স 1 |
| Stress | Check performance when the load is heavier than usual Source 4সোর্স 4 | Like average-load, but higher, with a longer ramp-up Source 4সোর্স 4 | Mid: 5 to 60 minutes Source 1সোর্স 1 |
| Spike | Check if the system survives a sudden, massive rush Source 5সোর্স 5 | Very fast ramp-up to a very high load, a brief plateau or none Source 5সোর্স 5 | Short: a few minutes Source 1সোর্স 1 |
| Soak | Find problems that show only after long use Source 6সোর্স 6 | Like average-load, with a much longer plateau Source 6সোর্স 6 | Long: hours Source 1সোর্স 1 |
| Breakpoint (capacity) | Find the limits of the system Source 7সোর্স 7 | Ramps up until the system fails Source 7সোর্স 7 | As long as necessary Source 1সোর্স 1 |
| Volume | Check that a large amount of data is handled without loss | Not a user count: the size of the data | Depends on the data |
The volume row is the owner's definition. It has no k6 test type and no cite.
Smoke. The k6 guide says to run a smoke test each time you create or change a test script. It also finds errors in the system under minimal load Source 3সোর্স 3. It is the first test to run Source 1সোর্স 1.
Load (average-load). The load matches a typical day in production: how many users are active at once, and how many requests arrive each second Source 2সোর্স 2. The guide gives a ramp-up of 5 to 15 percent of the test duration. It advises a plateau that lasts five times the ramp-up or more Source 2সোর্স 2.
Stress. The k6 guide gives no fixed percentage above the average. The load depends on the risk patterns of the system. It can be a few percent above the average, or 50 to 100 percent Source 4সোর্স 4. Run stress tests only after average-load tests Source 4সোর্স 4.
Spike. The test often does not finish, and errors are common. Backend monitoring is a must Source 5সোর্স 5. Real users do not stay long in such a rush, so the plateau is brief or missing Source 5সোর্স 5.
Soak. The k6 guide says a soak test must run considerably longer than any other test. It gives values from 3 hours up to 72 hours Source 6সোর্স 6. It names four defects that show only after long use: slower responses, leaks of memory or other resources, full data stores, and used-up storage Source 6সোর্স 6.
Breakpoint (capacity). The load rises to unrealistically high numbers. The test is stopped by hand, or by failing thresholds Source 7সোর্স 7. The k6 guide advises against running it in an elastic cloud environment. The environment may grow, and the test then finds only the limit of your cloud bill Source 7সোর্স 7.
For every type, keep the shape simple: ramp up, plateau, ramp down. Avoid "rollercoaster" tests where the load rises and falls many times Source 1সোর্স 1.
সহজ English
Each type has a goal, a load shape, and a duration. The k6 duration values follow the k6 cheat sheet Source 1সোর্স 1. The volume test is not in the k6 cheat sheet.
- Smoke: check that the script and the system work under minimal load, and get a baseline Source 3সোর্স 3. The load is a few VUs. The test lasts seconds or minutes Source 1সোর্স 1.
- Load (average-load): check performance under typical load Source 2সোর্স 2. The load ramps up, holds the average, and ramps down Source 2সোর্স 2. The test lasts 5 to 60 minutes Source 1সোর্স 1.
- Stress: check performance when the load is heavier than usual Source 4সোর্স 4. The shape is like average-load, but higher, with a longer ramp-up Source 4সোর্স 4. The test lasts 5 to 60 minutes Source 1সোর্স 1.
- Spike: check if the system survives a sudden, massive rush Source 5সোর্স 5. The load rises very fast to a very high level. The plateau is brief or missing Source 5সোর্স 5. The test lasts a few minutes Source 1সোর্স 1.
- Soak: find problems that show only after long use Source 6সোর্স 6. The shape is like average-load, with a much longer plateau Source 6সোর্স 6. The test lasts hours Source 1সোর্স 1.
- Breakpoint (capacity): find the limits of the system Source 7সোর্স 7. The load rises until the system fails Source 7সোর্স 7. The test lasts as long as necessary Source 1সোর্স 1.
- Volume: check that a large amount of data is handled without loss. The size of the data matters here, not the number of users. This is the owner's definition. It has no k6 test type.
Smoke. The k6 guide says to run a smoke test each time you create or change a test script. It also finds errors in the system under minimal load Source 3সোর্স 3. It is the first test to run Source 1সোর্স 1.
Load (average-load). The load matches a typical day in production: how many users are active at once, and how many requests arrive each second Source 2সোর্স 2. The ramp-up takes 5 to 15 percent of the test duration. The plateau should last five times the ramp-up or more Source 2সোর্স 2.
Stress. The k6 guide gives no fixed percentage above the average. The load depends on the risk patterns of the system. It can be a few percent above the average, or 50 to 100 percent Source 4সোর্স 4. Run stress tests only after average-load tests Source 4সোর্স 4.
Spike. The test often does not finish, and errors are common. Backend monitoring is a must Source 5সোর্স 5. Real users do not stay long in such a rush, so the plateau is brief or missing Source 5সোর্স 5.
Soak. The k6 guide says a soak test must run considerably longer than any other test. It gives values from 3 hours up to 72 hours Source 6সোর্স 6. It names four defects that show only after long use: slower responses, leaks of memory or other resources, full data stores, and used-up storage Source 6সোর্স 6.
Breakpoint (capacity). The load rises to unrealistically high numbers. You stop the test by hand, or failing thresholds stop it Source 7সোর্স 7. Do not run it in an elastic cloud environment. The environment may grow, and the test then finds only the limit of your cloud bill Source 7সোর্স 7.
For every type, keep the shape simple: ramp up, plateau, ramp down. Avoid "rollercoaster" tests where the load rises and falls many times Source 1সোর্স 1.
বাংলা ব্যাখ্যা
প্রতিটা টাইপের একটা লক্ষ্য (goal), একটা load shape আর একটা duration আছে। k6-এর duration-এর মান k6 cheat sheet থেকে নেওয়া Source 1সোর্স 1। Volume test k6 cheat sheet-এ নেই।
- Smoke: ন্যূনতম load-এ স্ক্রিপ্ট আর সিস্টেম কাজ করে কি না দেখা, এবং একটা baseline পাওয়া Source 3সোর্স 3। load হলো কয়েকটা VU। টেস্ট চলে কয়েক সেকেন্ড বা কয়েক মিনিট Source 1সোর্স 1।
- Load (average-load): typical load-এ পারফরম্যান্স দেখা Source 2সোর্স 2। load ramp up করে, গড় মানে থাকে, তারপর ramp down করে Source 2সোর্স 2। টেস্ট চলে ৫ থেকে ৬০ মিনিট Source 1সোর্স 1।
- Stress: স্বাভাবিকের চেয়ে বেশি load-এ পারফরম্যান্স দেখা Source 4সোর্স 4। আকার average-load-এর মতো, তবে load বেশি আর ramp-up লম্বা Source 4সোর্স 4। টেস্ট চলে ৫ থেকে ৬০ মিনিট Source 1সোর্স 1।
- Spike: হঠাৎ বিশাল ভিড়ে সিস্টেম টিকে থাকে কি না দেখা Source 5সোর্স 5। load খুব দ্রুত অনেক উঁচুতে ওঠে। plateau ছোট বা একেবারেই নেই Source 5সোর্স 5। টেস্ট চলে কয়েক মিনিট Source 1সোর্স 1।
- Soak: শুধু লম্বা ব্যবহারের পরে দেখা দেয় এমন সমস্যা খোঁজা Source 6সোর্স 6। আকার average-load-এর মতো, তবে plateau অনেক লম্বা Source 6সোর্স 6। টেস্ট চলে কয়েক ঘণ্টা Source 1সোর্স 1।
- Breakpoint (capacity): সিস্টেমের সীমা খোঁজা Source 7সোর্স 7। সিস্টেম ফেইল না করা পর্যন্ত load বাড়ে Source 7সোর্স 7। টেস্ট চলে যতক্ষণ দরকার ততক্ষণ Source 1সোর্স 1।
- Volume: অনেক ডেটা তথ্য না হারিয়ে সামলানো হয় কি না দেখা। এখানে ডেটার আকার গুরুত্বপূর্ণ, ইউজারের সংখ্যা নয়। এটা owner-এর সংজ্ঞা। k6-তে এর কোনো test type নেই।
Smoke। k6 গাইড বলে, প্রতিবার টেস্ট স্ক্রিপ্ট বানালে বা বদলালে একটা smoke test চালান। ন্যূনতম load-এ সিস্টেমের এরর-ও এটা ধরে Source 3সোর্স 3। এটাই প্রথমে চালানোর টেস্ট Source 1সোর্স 1।
Load (average-load)। load মেলে production-এর একটা typical দিনের সঙ্গে: একসাথে কতজন ইউজার সক্রিয়, আর প্রতি সেকেন্ডে কয়টা request আসে Source 2সোর্স 2। ramp-up নেয় টেস্টের সময়ের ৫ থেকে ১৫ শতাংশ। plateau থাকে ramp-up-এর অন্তত পাঁচগুণ লম্বা Source 2সোর্স 2।
Stress। k6 গাইড গড়ের উপরে কোনো নির্দিষ্ট শতাংশ দেয় না। load নির্ভর করে সিস্টেমের ঝুঁকির প্যাটার্নের উপর। এটা গড়ের চেয়ে কয়েক শতাংশ বেশি হতে পারে, বা ৫০ থেকে ১০০ শতাংশ Source 4সোর্স 4। stress test চালান শুধু average-load টেস্টের পরে Source 4সোর্স 4।
Spike। টেস্ট প্রায়ই শেষ হয় না, আর এরর সাধারণ। backend monitoring অবশ্যই দরকার Source 5সোর্স 5। এমন ভিড়ে আসল ইউজার বেশিক্ষণ থাকে না, তাই plateau ছোট বা নেই Source 5সোর্স 5।
Soak। k6 গাইড বলে, soak test অন্য যেকোনো টেস্টের চেয়ে অনেক লম্বা সময় চালাতে হয়। এতে ৩ ঘণ্টা থেকে ৭২ ঘণ্টা পর্যন্ত মান দেওয়া আছে Source 6সোর্স 6। লম্বা ব্যবহারের পরে দেখা দেয় এমন চারটা ত্রুটির নাম আছে: ধীর response, memory বা অন্য resource-এর leak, ভরে যাওয়া data store, আর শেষ হয়ে যাওয়া storage Source 6সোর্স 6।
Breakpoint (capacity)। load অবাস্তব উঁচু সংখ্যায় ওঠে। আপনি হাতে টেস্ট থামান, অথবা ফেইল হওয়া threshold তা থামায় Source 7সোর্স 7। elastic cloud environment-এ এটা চালাবেন না। environment বড় হয়ে যেতে পারে, আর তখন টেস্ট শুধু আপনার cloud বিলের সীমা খুঁজে পায় Source 7সোর্স 7।
সব টাইপে আকার সহজ রাখুন: ramp up, plateau, ramp down। "rollercoaster" টেস্ট এড়ান, যেখানে load বহুবার ওঠে আর নামে Source 1সোর্স 1।
Names differ between sources
The k6 documentation says that no consensus exists about the names of the test types Source 1সোর্স 1. Each k6 guide lists other names for its type:
| k6 name | Other names in the k6 guides |
|---|---|
| Smoke | shakeout Source 3সোর্স 3 |
| Average-load | day-in-life, volume Source 2সোর্স 2 |
| Stress | rush-hour, surge, scale Source 4সোর্স 4 |
| Soak | endurance, constant high load, stamina Source 6সোর্স 6 |
| Breakpoint | capacity, point load, limit Source 7সোর্স 7 |
The k6 guide for spike testing lists no other names Source 5সোর্স 5.
Here is how the owner's names map to the k6 names. This mapping is the tutorial's own reading.
| Owner's name | Closest k6 name | Note |
|---|---|---|
| Capacity | Breakpoint | The k6 guide lists "capacity" as another name for breakpoint Source 7সোর্স 7. |
| Load | Average-load | The k6 guide uses "average-load" because "load test" can mean all traffic tests Source 2সোর্স 2. |
| Stress | Stress (or breakpoint) | The owner says "gradually increase the load". The k6 stress test raises the load above average Source 4সোর্স 4. The k6 breakpoint test raises it gradually until the system fails Source 7সোর্স 7. |
| Volume | None | The k6 guide lists "volume" as another name for average-load Source 2সোর্স 2. The owner means a large amount of data. Check which meaning a team uses. |
| Spike | Spike | The same idea Source 5সোর্স 5. |
| Soak (added) | Soak | The k6 guide lists "endurance" as another name Source 6সোর্স 6. |
The ISTQB glossary, a standard source of testing terms, gives its own definitions. They are close to the k6 ideas but not the same:
- Load testing: a kind of performance testing. It checks a component or system under different loads. The loads are usually between low, typical, and peak use Source 8সোর্স 8. This is wider than the k6 average-load test.
- Stress testing: testing at the limits of the expected workload, or beyond them. It can also reduce resources, such as memory or servers Source 9সোর্স 9.
- Spike testing: testing if a system can recover after a sudden burst of peak load. The system must return to a steady state Source 10সোর্স 10.
- Endurance testing: testing if a system stays stable under a significant load for a long time Source 11সোর্স 11. This is the idea of a soak test.
- Capacity testing: the glossary says only "Testing to evaluate the capacity of a system" Source 12সোর্স 12.
The ISTQB glossary has no entry for soak testing or volume testing. Because the names differ, write the load shape in the test plan (the number of users, the ramp, and the duration). Do not write only the name.
সহজ English
The k6 documentation says that no consensus exists about the names of the test types Source 1সোর্স 1. Each k6 guide lists other names for its type:
- Smoke is also called shakeout Source 3সোর্স 3.
- Average-load is also called day-in-life or volume Source 2সোর্স 2.
- Stress is also called rush-hour, surge, or scale Source 4সোর্স 4.
- Soak is also called endurance, constant high load, or stamina Source 6সোর্স 6.
- Breakpoint is also called capacity, point load, or limit Source 7সোর্স 7.
- The k6 guide for spike testing lists no other names Source 5সোর্স 5.
Here is how the owner's names map to the k6 names. This mapping is the tutorial's own reading.
- Capacity is closest to breakpoint. The k6 guide lists "capacity" as another name for breakpoint Source 7সোর্স 7.
- Load is closest to average-load. The k6 guide uses "average-load" because "load test" can mean all traffic tests Source 2সোর্স 2.
- Stress is closest to stress or breakpoint. The owner says "gradually increase the load". The k6 stress test raises the load above average Source 4সোর্স 4. The k6 breakpoint test raises it gradually until the system fails Source 7সোর্স 7.
- Volume has no k6 type. The k6 guide lists "volume" as another name for average-load Source 2সোর্স 2. The owner means a large amount of data. Check which meaning a team uses.
- Spike is the same idea in both lists Source 5সোর্স 5.
- Soak was added to the owner's list. The k6 guide lists "endurance" as another name Source 6সোর্স 6.
The ISTQB glossary, a standard source of testing terms, gives its own definitions. They are close to the k6 ideas but not the same:
- Load testing: a kind of performance testing. It checks a component or system under different loads Source 8সোর্স 8. The loads are usually between low, typical, and peak use. This is wider than the k6 average-load test.
- Stress testing: testing at the limits of the expected workload, or beyond them Source 9সোর্স 9. It can also reduce resources, such as memory or servers.
- Spike testing: testing if a system can recover after a sudden burst of peak load. The system must return to a steady state Source 10সোর্স 10.
- Endurance testing: testing if a system stays stable under a significant load for a long time Source 11সোর্স 11. This is the idea of a soak test.
- Capacity testing: the glossary says only "Testing to evaluate the capacity of a system" Source 12সোর্স 12.
The ISTQB glossary has no entry for soak testing or volume testing. Because the names differ, write the load shape in the test plan (the number of users, the ramp, and the duration). Do not write only the name.
বাংলা ব্যাখ্যা
k6 ডকুমেন্টেশন বলে, test type-গুলোর নাম নিয়ে কোনো ঐকমত্য নেই Source 1সোর্স 1। প্রতিটা k6 গাইড তার টাইপের অন্য নামও দেয়:
- Smoke-কে বলা হয় shakeout Source 3সোর্স 3।
- Average-load-কে বলা হয় day-in-life বা volume Source 2সোর্স 2।
- Stress-কে বলা হয় rush-hour, surge, বা scale Source 4সোর্স 4।
- Soak-কে বলা হয় endurance, constant high load, বা stamina Source 6সোর্স 6।
- Breakpoint-কে বলা হয় capacity, point load, বা limit Source 7সোর্স 7।
- spike testing-এর k6 গাইড অন্য কোনো নাম দেয় না Source 5সোর্স 5।
owner-এর নামগুলো k6-এর নামের সাথে এভাবে মেলে। এই মিলানো tutorial-এর নিজের পাঠ।
- Capacity সবচেয়ে কাছে breakpoint-এর। k6 গাইড "capacity"-কে breakpoint-এর অন্য নাম বলে Source 7সোর্স 7।
- Load সবচেয়ে কাছে average-load-এর। k6 গাইড "average-load" নাম ব্যবহার করে, কারণ "load test" বলতে সব ট্রাফিক টেস্টও বোঝানো যায় Source 2সোর্স 2।
- Stress সবচেয়ে কাছে stress বা breakpoint-এর। owner বলেছেন "gradually increase the load"। k6 stress test load গড়ের উপরে তোলে Source 4সোর্স 4। k6 breakpoint test সিস্টেম ফেইল না করা পর্যন্ত ধীরে ধীরে load বাড়ায় Source 7সোর্স 7।
- Volume-এর কোনো k6 টাইপ নেই। k6 গাইড "volume"-কে average-load-এর অন্য নাম বলে Source 2সোর্স 2। owner বোঝান অনেক ডেটা। টিম কোন অর্থে নাম ব্যবহার করছে, তা জেনে নিন।
- Spike দুই তালিকাতেই একই ধারণা Source 5সোর্স 5।
- Soak owner-এর তালিকায় যোগ করা হয়েছে। k6 গাইড "endurance"-কে এর অন্য নাম বলে Source 6সোর্স 6।
ISTQB glossary টেস্টিং পরিভাষার একটা স্ট্যান্ডার্ড উৎস। এর নিজের সংজ্ঞা আছে। সংজ্ঞাগুলো k6-এর ধারণার কাছাকাছি, কিন্তু হুবহু এক নয়:
- Load testing: পারফরম্যান্স টেস্টিংয়ের একটা টাইপ, যা কম, typical, আর peak ব্যবহারের প্রত্যাশিত অবস্থার মধ্যে বিভিন্ন load-এ একটা কম্পোনেন্ট বা সিস্টেমকে মূল্যায়ন করে Source 8সোর্স 8। এটা k6 average-load test-এর চেয়ে বড় পরিসর।
- Stress testing: প্রত্যাশিত workload-এর সীমায় বা তার বাইরে টেস্ট করা, অথবা memory বা সার্ভারের মতো resource কমিয়ে টেস্ট করা Source 9সোর্স 9।
- Spike testing: হঠাৎ peak load-এর ধাক্কা থেকে সিস্টেম সেরে উঠে steady state-এ ফিরতে পারে কি না, তা টেস্ট করা Source 10সোর্স 10।
- Endurance testing: একটা বড় সময় ধরে উল্লেখযোগ্য load-এ সিস্টেমের স্থিতিশীলতা টেস্ট করা Source 11সোর্স 11। এটা soak test-এর ধারণা।
- Capacity testing: glossary শুধু বলে "Testing to evaluate the capacity of a system" Source 12সোর্স 12।
ISTQB glossary-তে soak testing বা volume testing-এর কোনো এন্ট্রি নেই। নাম আলাদা হয় বলে টেস্ট প্ল্যানে load shape লিখুন (ইউজারের সংখ্যা, ramp, আর duration)। শুধু নাম লিখবেন না।
Which type to run first
Start with a smoke test. Then go to higher loads and longer durations Source 1সোর্স 1. The k6 guides give this order:
- Smoke. Check that the script works and the system answers under minimal load. Avoid other test types with untested scripts Source 3সোর্স 3.
- Average-load. Learn how the system behaves on a typical day Source 2সোর্স 2.
- Stress and soak. Run these after smoke and average-load tests, because each test finds different problems Source 4সোর্স 4 Source 6সোর্স 6.
- Spike and breakpoint. Run spike tests when a rush is expected, such as a seasonal sale Source 1সোর্স 1. Run breakpoint tests now and then to find the top limits of the system Source 1সোর্স 1.
The categories depend on the use case. A stress test for one application can be an average-load test for another Source 1সোর্স 1. The risk profile of your system decides which types you stress. Some systems are at more risk from long use, so soak tests come first. Others are at more risk from intensive use, so stress tests come first Source 1সোর্স 1.
সহজ English
Start with a smoke test. Then go to higher loads and longer durations Source 1সোর্স 1. The k6 guides give this order:
- Smoke. Check that the script works and the system answers under minimal load. Avoid other test types with untested scripts Source 3সোর্স 3.
- Average-load. Learn how the system behaves on a typical day Source 2সোর্স 2.
- Stress and soak. Run these after smoke and average-load tests, because each test finds different problems Source 4সোর্স 4 Source 6সোর্স 6.
- Spike and breakpoint. Run spike tests when a rush is expected, such as a seasonal sale Source 1সোর্স 1. Run breakpoint tests now and then to find the top limits of the system Source 1সোর্স 1.
The categories depend on the use case. A stress test for one application can be an average-load test for another Source 1সোর্স 1. The risk profile of your system decides which types matter most. Some systems are at more risk from long use, so soak tests come first. Others are at more risk from intensive use, so stress tests come first Source 1সোর্স 1.
বাংলা ব্যাখ্যা
smoke test দিয়ে শুরু করুন। তারপর বেশি load আর লম্বা duration-এর দিকে যান Source 1সোর্স 1। k6 গাইড এই ক্রম দেয়:
- Smoke। ন্যূনতম load-এ স্ক্রিপ্ট কাজ করে আর সিস্টেম সাড়া দেয় কি না দেখুন। যাচাই না করা স্ক্রিপ্টে অন্য টেস্ট টাইপ চালাবেন না Source 3সোর্স 3।
- Average-load। একটা typical দিনে সিস্টেম কেমন আচরণ করে, তা জানুন Source 2সোর্স 2।
- Stress আর soak। এগুলো smoke আর average-load টেস্টের পরে চালান, কারণ প্রতিটা টেস্ট আলাদা সমস্যা খুঁজে পায় Source 4সোর্স 4 Source 6সোর্স 6।
- Spike আর breakpoint। ভিড় আসার আশঙ্কা থাকলে spike test চালান, যেমন মৌসুমি সেলের আগে Source 1সোর্স 1। সর্বোচ্চ সীমা জানতে breakpoint test কয়েকবার চালান Source 1সোর্স 1।
কোন টাইপ কী, তা use case-এর উপর নির্ভর করে। এক অ্যাপ্লিকেশনের stress test আরেকটার average-load test হতে পারে Source 1সোর্স 1। আপনার সিস্টেমের ঝুঁকির প্রোফাইল ঠিক করে কোন টাইপ বেশি গুরুত্বপূর্ণ। কিছু সিস্টেমে লম্বা ব্যবহারের ঝুঁকি বেশি, তাই soak test আগে আসে। অন্যগুলোতে তীব্র ব্যবহারের ঝুঁকি বেশি, তাই stress test আগে আসে Source 1সোর্স 1।
Key words
| Term | Meaning |
|---|---|
| Load shape | How the number of users or requests changes over time: ramp up, plateau, ramp down. |
| VU (virtual user) | One simulated user in a k6 test. |
| Ramp-up | The period where the load rises from zero to the target. |
| Plateau | The period where the load stays at the target. |
| Smoke test | A test with minimal load that checks the script and the system, and gives a baseline. |
| Average-load test | A test at the typical production load. Many sources call it a load test. |
| Stress test | A test with a load heavier than usual. |
| Spike test | A test with a sudden, massive rise in load. |
| Soak test | A test with a normal load for hours or days. Also called an endurance test. |
| Breakpoint test | A test where the load rises until the system fails. Also called a capacity test. |
| Volume test | A test of how the system handles a large amount of data. This is the owner's meaning. |