Files
bruno/tests/environments/import-environment/fixtures/collection.json
Pooja 65e69e77b3 revamp: collection and global env selector dropdown (#5542)
* revamp: collection and global env selector dropdown

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Pragadesh-45 <54320162+Pragadesh-45@users.noreply.github.com>
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
Co-authored-by: sanish-bruno <sanish@usebruno.com>
Co-authored-by: bernborgess <bernborgesse@outlook.com>
Co-authored-by: lohit <lohit@usebruno.com>
Co-authored-by: Its-Treason <39559178+Its-treason@users.noreply.github.com>
Co-authored-by: jayakrishnancn <jayakrishnancn@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-17 19:35:00 +05:30

68 lines
1.7 KiB
JSON

{
"info": {
"name": "Environment Test Collection",
"description": "Test collection for environment import and usage tests",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_postman_id": "env-test-collection-id"
},
"item": [
{
"name": "Get Posts with Environment Variables",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{apiKey}}",
"type": "text"
},
{
"key": "X-Secret-Token",
"value": "{{secretApiToken}}",
"type": "text"
}
],
"url": {
"raw": "{{host}}/posts/{{userId}}",
"host": ["{{host}}"],
"path": ["posts", "{{userId}}"]
}
},
"response": []
},
{
"name": "Create Post with Body Variables",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "Bearer {{apiKey}}",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
},
{
"key": "X-Secret-Token",
"value": "{{secretApiToken}}",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"title\": \"{{postTitle}}\",\n \"body\": \"{{postBody}}\",\n \"userId\": {{userId}}\n}"
},
"url": {
"raw": "{{host}}/posts",
"host": ["{{host}}"],
"path": ["posts"]
}
},
"response": []
}
]
}