Skip to content

Commit 0edbcf3

Browse files
Added GitHub Actions workflow to run two Postman collections
1 parent a10f99d commit 0edbcf3

2 files changed

Lines changed: 41 additions & 1 deletion

File tree

.github/workflows/newman.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
run: npm install -g newman
2222

2323
- name: Run Collection
24-
run: newman run collection.json
24+
run: newman run collection.json -e QAEnv.json

QAEnv.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"id": "d7795d7e-9616-4407-9cef-e30010f758b1",
3+
"name": "QA",
4+
"values": [
5+
{
6+
"key": "baseURL",
7+
"value": "https://fakestoreapi.com",
8+
"type": "default",
9+
"enabled": true
10+
},
11+
{
12+
"key": "productName",
13+
"value": "Demo Product",
14+
"type": "any",
15+
"enabled": true
16+
},
17+
{
18+
"key": "productPrice",
19+
"value": "100",
20+
"type": "any",
21+
"enabled": true
22+
},
23+
{
24+
"key": "productID",
25+
"value": "1",
26+
"type": "any",
27+
"enabled": true
28+
},
29+
{
30+
"key": "access_token",
31+
"value": "",
32+
"type": "any",
33+
"enabled": true
34+
}
35+
],
36+
"color": null,
37+
"_postman_variable_scope": "environment",
38+
"_postman_exported_at": "2026-02-22T09:17:32.474Z",
39+
"_postman_exported_using": "Postman/11.85.1"
40+
}

0 commit comments

Comments
 (0)