🏠 Accueil
基準測試
📊 Tous les Benchmarks 🦖 Dinosaure v1 🦖 Dinosaure v2 ✅ To-Do List Apps 🎨 Pages Libres 🎯 FSACB - Showcase 🌍 Traduction
Modèles
🏆 Top 10 Modèles 🆓 Modèles Gratuits 📋 Tous les Modèles ⚙️ Modes Kilo Code
Ressources
💬 Prompts IA 📖 人工智能詞彙表 🔗 Liens Utiles
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.