🏠 হোম
বেঞ্চমার্ক
📊 সমস্ত বেঞ্চমার্ক 🦖 ডাইনোসর v1 🦖 ডাইনোসর v2 ✅ টু-ডু লিস্ট অ্যাপস 🎨 সৃজনশীল ফ্রি পেজ 🎯 FSACB - চূড়ান্ত শোকেস 🌍 অনুবাদ বেঞ্চমার্ক
মডেল
🏆 সেরা ১০টি মডেল 🆓 ফ্রি মডেল 📋 সমস্ত মডেল ⚙️ কিলো কোড
রিসোর্স
💬 প্রম্পট লাইব্রেরি 📖 এআই গ্লসারি 🔗 দরকারী লিঙ্ক
Advanced

Load Testing with k6

#k6 #performance #load-testing #javascript

Design a load testing script using the k6 tool to stress test a web endpoint.

Create a k6 script that load tests a JSON API endpoint. Configure the script to simulate 50 virtual users (VUs) over a duration of 30 seconds. Include thresholds to ensure that 95% of requests must complete below 500ms and the error rate must not exceed 1%.