مجموعات Postman والبيئات
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
organize requests so the whole team can reuse them.
الموضوعات المخطط لها
- A collection is a saved, shareable group of requests, organized in folders (Products, Cart, Orders).
- An environment is a set of variables such as
baseUrlandtoken. Switch betweenlocalanddeployedwith one click. - Use
{{baseUrl}}/productsinstead of hard-coding the host. - Never commit real tokens or passwords in a shared collection; keep secrets in environment values that are not shared.
- Name requests clearly and add a one-line description.
تفاصيل المخطط المبدئي
عرض عملي
two environments: local with baseUrl = http://localhost:8080 and deployed with the staging URL; the same request runs against both.
اختبر فهمك
Why {{baseUrl}}?
أظهر الإجابة
One request works against many environments.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.