🏠 Startseite
Vergleiche
📊 Alle Benchmarks 🦖 Dinosaurier v1 🦖 Dinosaurier v2 ✅ To-Do-Listen-Apps 🎨 Kreative freie Seiten 🎯 FSACB - Ultimatives Showcase 🌍 Übersetzungs-Benchmark
Modelle
🏆 Top 10 Modelle 🆓 Kostenlose Modelle 📋 Alle Modelle ⚙️ Kilo Code
Ressourcen
💬 Prompt-Bibliothek 📖 KI-Glossar 🔗 Nützliche 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.