🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
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.