🏠 Ana Sayfa
Benchmarklar
📊 Tüm Benchmarklar 🦖 Dinozor v1 🦖 Dinozor v2 ✅ To-Do List Uygulamaları 🎨 Yaratıcı Serbest Sayfalar 🎯 FSACB - Nihai Gösteri 🌍 Çeviri Benchmarkı
Modeller
🏆 En İyi 10 Model 🆓 Ücretsiz Modeller 📋 Tüm Modeller ⚙️ Kilo Code
Kaynaklar
💬 Prompt Kütüphanesi 📖 YZ Sözlüğü 🔗 Faydalı Bağlantılar
Beginner

Postman API Test Script

#api #postman #rest #integration

Create a collection of tests for a REST API using Postman's test scripting language.

Write JavaScript test code for a Postman request that hits a GET /users endpoint. The tests should verify that the status code is 200, the response time is less than 200ms, and the response body is an array containing objects with 'id' and 'username' properties.