| 1 | { |
| 2 | "info": { |
| 3 | "_postman_id": "2d4009e7-04a8-4516-adaf-8b60780df9f4", |
| 4 | "name": "CSSimulatorUIProtocol", |
| 5 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", |
| 6 | "_exporter_id": "23011687" |
| 7 | }, |
| 8 | "item": [ |
| 9 | { |
| 10 | "name": "startSimulator", |
| 11 | "request": { |
| 12 | "method": "POST", |
| 13 | "header": [], |
| 14 | "body": { |
| 15 | "mode": "raw", |
| 16 | "raw": "{}", |
| 17 | "options": { |
| 18 | "raw": { |
| 19 | "language": "json" |
| 20 | } |
| 21 | } |
| 22 | }, |
| 23 | "url": { |
| 24 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startSimulator", |
| 25 | "host": ["{{baseUrl}}"], |
| 26 | "path": ["{{protocol}}", "{{version}}", "startSimulator"] |
| 27 | } |
| 28 | }, |
| 29 | "response": [] |
| 30 | }, |
| 31 | { |
| 32 | "name": "stopSimulator", |
| 33 | "request": { |
| 34 | "method": "POST", |
| 35 | "header": [], |
| 36 | "body": { |
| 37 | "mode": "raw", |
| 38 | "raw": "{}", |
| 39 | "options": { |
| 40 | "raw": { |
| 41 | "language": "json" |
| 42 | } |
| 43 | } |
| 44 | }, |
| 45 | "url": { |
| 46 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopSimulator", |
| 47 | "host": ["{{baseUrl}}"], |
| 48 | "path": ["{{protocol}}", "{{version}}", "stopSimulator"] |
| 49 | } |
| 50 | }, |
| 51 | "response": [] |
| 52 | }, |
| 53 | { |
| 54 | "name": "listChargingStations", |
| 55 | "request": { |
| 56 | "method": "POST", |
| 57 | "header": [], |
| 58 | "body": { |
| 59 | "mode": "raw", |
| 60 | "raw": "{}", |
| 61 | "options": { |
| 62 | "raw": { |
| 63 | "language": "json" |
| 64 | } |
| 65 | } |
| 66 | }, |
| 67 | "url": { |
| 68 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/listChargingStations", |
| 69 | "host": ["{{baseUrl}}"], |
| 70 | "path": ["{{protocol}}", "{{version}}", "listChargingStations"] |
| 71 | } |
| 72 | }, |
| 73 | "response": [] |
| 74 | }, |
| 75 | { |
| 76 | "name": "startChargingStation", |
| 77 | "request": { |
| 78 | "method": "POST", |
| 79 | "header": [], |
| 80 | "body": { |
| 81 | "mode": "raw", |
| 82 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", |
| 83 | "options": { |
| 84 | "raw": { |
| 85 | "language": "json" |
| 86 | } |
| 87 | } |
| 88 | }, |
| 89 | "url": { |
| 90 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startChargingStation", |
| 91 | "host": ["{{baseUrl}}"], |
| 92 | "path": ["{{protocol}}", "{{version}}", "startChargingStation"] |
| 93 | } |
| 94 | }, |
| 95 | "response": [] |
| 96 | }, |
| 97 | { |
| 98 | "name": "stopChargingStation", |
| 99 | "request": { |
| 100 | "method": "POST", |
| 101 | "header": [], |
| 102 | "body": { |
| 103 | "mode": "raw", |
| 104 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", |
| 105 | "options": { |
| 106 | "raw": { |
| 107 | "language": "json" |
| 108 | } |
| 109 | } |
| 110 | }, |
| 111 | "url": { |
| 112 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopChargingStation", |
| 113 | "host": ["{{baseUrl}}"], |
| 114 | "path": ["{{protocol}}", "{{version}}", "stopChargingStation"] |
| 115 | } |
| 116 | }, |
| 117 | "response": [] |
| 118 | }, |
| 119 | { |
| 120 | "name": "openConnection", |
| 121 | "request": { |
| 122 | "method": "POST", |
| 123 | "header": [], |
| 124 | "body": { |
| 125 | "mode": "raw", |
| 126 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", |
| 127 | "options": { |
| 128 | "raw": { |
| 129 | "language": "json" |
| 130 | } |
| 131 | } |
| 132 | }, |
| 133 | "url": { |
| 134 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/openConnection", |
| 135 | "host": ["{{baseUrl}}"], |
| 136 | "path": ["{{protocol}}", "{{version}}", "openConnection"] |
| 137 | } |
| 138 | }, |
| 139 | "response": [] |
| 140 | }, |
| 141 | { |
| 142 | "name": "closeConnection", |
| 143 | "request": { |
| 144 | "method": "POST", |
| 145 | "header": [], |
| 146 | "body": { |
| 147 | "mode": "raw", |
| 148 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\",\n \"331d024fea36e3e2483a0e5dc9376234241c8c099ad201a441437b23622c308555183f37cbc84a1818c1c45aaae50896\"\n ]\n}", |
| 149 | "options": { |
| 150 | "raw": { |
| 151 | "language": "json" |
| 152 | } |
| 153 | } |
| 154 | }, |
| 155 | "url": { |
| 156 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/closeConnection", |
| 157 | "host": ["{{baseUrl}}"], |
| 158 | "path": ["{{protocol}}", "{{version}}", "closeConnection"] |
| 159 | } |
| 160 | }, |
| 161 | "response": [] |
| 162 | }, |
| 163 | { |
| 164 | "name": "startTransaction", |
| 165 | "request": { |
| 166 | "method": "POST", |
| 167 | "header": [], |
| 168 | "body": { |
| 169 | "mode": "raw", |
| 170 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\"\n ],\n \"connectorId\": 1,\n \"idTag\": \"test\"\n}", |
| 171 | "options": { |
| 172 | "raw": { |
| 173 | "language": "json" |
| 174 | } |
| 175 | } |
| 176 | }, |
| 177 | "url": { |
| 178 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startTransaction", |
| 179 | "host": ["{{baseUrl}}"], |
| 180 | "path": ["{{protocol}}", "{{version}}", "startTransaction"] |
| 181 | } |
| 182 | }, |
| 183 | "response": [] |
| 184 | }, |
| 185 | { |
| 186 | "name": "stopTransaction", |
| 187 | "request": { |
| 188 | "method": "POST", |
| 189 | "header": [], |
| 190 | "body": { |
| 191 | "mode": "raw", |
| 192 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\"\n ],\n \"transactionId\": 1236043451\n}", |
| 193 | "options": { |
| 194 | "raw": { |
| 195 | "language": "json" |
| 196 | } |
| 197 | } |
| 198 | }, |
| 199 | "url": { |
| 200 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopTransaction", |
| 201 | "host": ["{{baseUrl}}"], |
| 202 | "path": ["{{protocol}}", "{{version}}", "stopTransaction"] |
| 203 | } |
| 204 | }, |
| 205 | "response": [] |
| 206 | }, |
| 207 | { |
| 208 | "name": "startAutomaticTransactionGenerator", |
| 209 | "request": { |
| 210 | "method": "POST", |
| 211 | "header": [], |
| 212 | "body": { |
| 213 | "mode": "raw", |
| 214 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\"\n ]\n}", |
| 215 | "options": { |
| 216 | "raw": { |
| 217 | "language": "json" |
| 218 | } |
| 219 | } |
| 220 | }, |
| 221 | "url": { |
| 222 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/startAutomaticTransactionGenerator", |
| 223 | "host": ["{{baseUrl}}"], |
| 224 | "path": ["{{protocol}}", "{{version}}", "startAutomaticTransactionGenerator"] |
| 225 | } |
| 226 | }, |
| 227 | "response": [] |
| 228 | }, |
| 229 | { |
| 230 | "name": "stopAutomaticTransactionGenerator", |
| 231 | "request": { |
| 232 | "method": "POST", |
| 233 | "header": [], |
| 234 | "body": { |
| 235 | "mode": "raw", |
| 236 | "raw": "{\n \"hashIds\": [\n \"0058d8b50e422cce5bbd0c0a4ad13d5d657e8a88670dcf04c1b2b563fea3db5b96a3686278b374ed050e21baef89060e\"\n ]\n}", |
| 237 | "options": { |
| 238 | "raw": { |
| 239 | "language": "json" |
| 240 | } |
| 241 | } |
| 242 | }, |
| 243 | "url": { |
| 244 | "raw": "{{baseUrl}}/{{protocol}}/{{version}}/stopAutomaticTransactionGenerator", |
| 245 | "host": ["{{baseUrl}}"], |
| 246 | "path": ["{{protocol}}", "{{version}}", "stopAutomaticTransactionGenerator"] |
| 247 | } |
| 248 | }, |
| 249 | "response": [] |
| 250 | } |
| 251 | ], |
| 252 | "event": [ |
| 253 | { |
| 254 | "listen": "prerequest", |
| 255 | "script": { |
| 256 | "type": "text/javascript", |
| 257 | "exec": [""] |
| 258 | } |
| 259 | }, |
| 260 | { |
| 261 | "listen": "test", |
| 262 | "script": { |
| 263 | "type": "text/javascript", |
| 264 | "exec": [""] |
| 265 | } |
| 266 | } |
| 267 | ], |
| 268 | "variable": [ |
| 269 | { |
| 270 | "key": "baseUrl", |
| 271 | "value": "http://localhost:8080", |
| 272 | "type": "string" |
| 273 | }, |
| 274 | { |
| 275 | "key": "protocol", |
| 276 | "value": "ui", |
| 277 | "type": "string" |
| 278 | }, |
| 279 | { |
| 280 | "key": "version", |
| 281 | "value": "0.0.1", |
| 282 | "type": "string" |
| 283 | } |
| 284 | ] |
| 285 | } |