|
2 | 2 | "variables": [],
|
3 | 3 | "info": {
|
4 | 4 | "name": "Log Insight",
|
5 |
| - "_postman_id": "46fdd8c4-492d-e829-e62f-8383c085960f", |
| 5 | + "_postman_id": "8109ea74-f0d8-eed3-abf1-29499bdf3a3f", |
6 | 6 | "description": "",
|
7 | 7 | "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
|
8 | 8 | },
|
|
454 | 454 | "url": {
|
455 | 455 | "raw": "https://{{li}}/api/v1/events?view=SIMPLE",
|
456 | 456 | "protocol": "https",
|
457 |
| - "auth": {}, |
458 | 457 | "host": [
|
459 | 458 | "{{li}}"
|
460 | 459 | ],
|
|
560 | 559 | },
|
561 | 560 | "response": [
|
562 | 561 | {
|
563 |
| - "id": "47ba8ffe-b357-46de-964c-b32a5823386c", |
| 562 | + "id": "98297c89-fadb-45d6-9785-e6a0668210d9", |
564 | 563 | "name": "Delete - License Reference: M502V-XXXXX-XXXXX-XXXXX-XXXXX",
|
565 | 564 | "originalRequest": {
|
566 | 565 | "url": "https://{{li}}/api/v1/licenses/M502V-XXXXX-XXXXX-XXXXX-XXXXX",
|
|
575 | 574 | "body": {
|
576 | 575 | "mode": "raw",
|
577 | 576 | "raw": ""
|
578 |
| - } |
| 577 | + }, |
| 578 | + "description": "" |
579 | 579 | },
|
580 | 580 | "status": "OK",
|
581 | 581 | "code": 200,
|
582 |
| - "_postman_previewlanguage": "", |
| 582 | + "_postman_previewlanguage": "Text", |
583 | 583 | "_postman_previewtype": "parsed",
|
584 | 584 | "header": [],
|
585 | 585 | "cookie": [],
|
|
782 | 782 | "item": [
|
783 | 783 | {
|
784 | 784 | "name": "Login",
|
| 785 | + "event": [ |
| 786 | + { |
| 787 | + "listen": "test", |
| 788 | + "script": { |
| 789 | + "type": "text/javascript", |
| 790 | + "exec": [ |
| 791 | + "var jsonData = JSON.parse(responseBody);", |
| 792 | + "postman.setEnvironmentVariable(\"auth\", \"Bearer \" + jsonData.sessionId);" |
| 793 | + ] |
| 794 | + } |
| 795 | + } |
| 796 | + ], |
785 | 797 | "request": {
|
786 | 798 | "url": "https://{{li}}/api/v1/sessions",
|
787 | 799 | "method": "POST",
|
|
794 | 806 | ],
|
795 | 807 | "body": {
|
796 | 808 | "mode": "raw",
|
797 |
| - "raw": "{\n \"username\": \"admin\",\n \"password\": \"VMware1!\",\n \"provider\": \"Local\"\n}" |
| 809 | + "raw": "{\n \"username\": \"{{user}}\",\n \"password\": \"{{pass}}\",\n \"provider\": \"{{provider}}\"\n}" |
798 | 810 | },
|
799 |
| - "description": "Create a Session ID" |
| 811 | + "description": "Add test to populate current environment with bearer token" |
800 | 812 | },
|
801 | 813 | "response": []
|
802 | 814 | },
|
|
1123 | 1135 | },
|
1124 | 1136 | "response": [
|
1125 | 1137 | {
|
1126 |
| - "id": "835e7fc1-5bea-4b5b-a427-fc6085c4b4e1", |
| 1138 | + "id": "43610183-6e06-4fbb-9806-701e85edf922", |
1127 | 1139 | "name": "Example - Version Reference: 4.0.0-1234567",
|
1128 | 1140 | "originalRequest": {
|
1129 | 1141 | "url": "https://{{li}}/api/v1/upgrades/4.0.0-1234567",
|
|
1138 | 1150 | "body": {
|
1139 | 1151 | "mode": "raw",
|
1140 | 1152 | "raw": ""
|
1141 |
| - } |
| 1153 | + }, |
| 1154 | + "description": "" |
1142 | 1155 | },
|
1143 | 1156 | "status": "OK",
|
1144 | 1157 | "code": 200,
|
1145 |
| - "_postman_previewlanguage": "", |
| 1158 | + "_postman_previewlanguage": "Text", |
1146 | 1159 | "_postman_previewtype": "parsed",
|
1147 | 1160 | "header": [],
|
1148 | 1161 | "cookie": [],
|
1149 | 1162 | "responseTime": 0,
|
1150 | 1163 | "body": ""
|
1151 | 1164 | },
|
1152 | 1165 | {
|
1153 |
| - "id": "3e819ac9-67dc-4299-92bd-596ca83ab0de", |
| 1166 | + "id": "e077ea61-4ee3-4051-a7d4-c4d710f64a96", |
1154 | 1167 | "name": "Example - Version Reference: 4.0.0-1234567",
|
1155 | 1168 | "originalRequest": {
|
1156 | 1169 | "url": "https://{{li}}/api/v1/upgrades/4.0.0-1234567",
|
|
1165 | 1178 | "body": {
|
1166 | 1179 | "mode": "raw",
|
1167 | 1180 | "raw": ""
|
1168 |
| - } |
| 1181 | + }, |
| 1182 | + "description": "" |
1169 | 1183 | },
|
1170 | 1184 | "status": "OK",
|
1171 | 1185 | "code": 200,
|
1172 |
| - "_postman_previewlanguage": "", |
| 1186 | + "_postman_previewlanguage": "Text", |
1173 | 1187 | "_postman_previewtype": "parsed",
|
1174 | 1188 | "header": [],
|
1175 | 1189 | "cookie": [],
|
|
1198 | 1212 | },
|
1199 | 1213 | "response": [
|
1200 | 1214 | {
|
1201 |
| - "id": "02d1b164-f7a0-4388-96ed-1f74902aee7c", |
| 1215 | + "id": "0ccc5b5c-2565-4596-ba89-6b14e0bad342", |
1202 | 1216 | "name": "Example - Version Reference: 4.0.0-1234567",
|
1203 | 1217 | "originalRequest": {
|
1204 | 1218 | "url": "https://{{li}}/api/v1/upgrades/4.0.0-1234567/eula",
|
|
1213 | 1227 | "body": {
|
1214 | 1228 | "mode": "raw",
|
1215 | 1229 | "raw": ""
|
1216 |
| - } |
| 1230 | + }, |
| 1231 | + "description": "" |
1217 | 1232 | },
|
1218 | 1233 | "status": "OK",
|
1219 | 1234 | "code": 200,
|
1220 |
| - "_postman_previewlanguage": "", |
| 1235 | + "_postman_previewlanguage": "Text", |
1221 | 1236 | "_postman_previewtype": "parsed",
|
1222 | 1237 | "header": [],
|
1223 | 1238 | "cookie": [],
|
|
0 commit comments