{ "info": { "_postman_id": "15a36974-4fb0-41b2-a7a5-c288fa0b35f1", "name": "valid", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "create", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "var jsonResponse = xml2Json(pm.response.text());", "", "console.log(jsonResponse)", "", "pm.test(\"Return code is SUCCESS\", function () {", " pm.expect(jsonResponse.response.returncode).to.eql(\"SUCCESS\");", "});", "", "pm.test(\"Meeting ID\", function () {", " pm.expect(jsonResponse.response.meetingID).to.eql(pm.environment.get(\"external_meeting_id\"));", "});", "", "pm.test(\"Attendee password\", function () {", " pm.expect(jsonResponse.response.attendeePW).to.eql(pm.environment.get(\"attendee_password\"));", "});", "", "pm.test(\"Moderator password\", function () {", " pm.expect(jsonResponse.response.moderatorPW).to.eql(pm.environment.get(\"moderator_password\"));", "});", "", "" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/{{path}}/create?name={{external_meeting_id}}&{{param_meeting_id}}={{external_meeting_id}}&voiceBridge=79363&{{param_attendee_password}}={{attendee_password}}&{{param_moderator_password}}={{moderator_password}}&isBreakoutRoom=false&record=true&{{param_checksum}}=4852bde87aaab9a403ee9b3bf16f9d48b15d949af1b3e6ce3942d7f8d114e05c", "host": [ "{{base_url}}" ], "path": [ "{{path}}", "create" ], "query": [ { "key": "name", "value": "{{external_meeting_id}}" }, { "key": "{{param_meeting_id}}", "value": "{{external_meeting_id}}" }, { "key": "voiceBridge", "value": "79363" }, { "key": "{{param_attendee_password}}", "value": "{{attendee_password}}" }, { "key": "{{param_moderator_password}}", "value": "{{moderator_password}}" }, { "key": "isBreakoutRoom", "value": "false" }, { "key": "record", "value": "true" }, { "key": "{{param_checksum}}", "value": "4852bde87aaab9a403ee9b3bf16f9d48b15d949af1b3e6ce3942d7f8d114e05c" } ] } }, "response": [] }, { "name": "join", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/{{path}}/join?{{param_meeting_id}}={{external_meeting_id}}&userID=test&fullName=Test User&{{param_password}}={{moderator_password}}&guest=false&auth=true&{{param_checksum}}=0a2c2e6dd7ae5115ff5d7ed1382301c27dc0eb19", "host": [ "{{base_url}}" ], "path": [ "{{path}}", "join" ], "query": [ { "key": "{{param_meeting_id}}", "value": "{{external_meeting_id}}" }, { "key": "userID", "value": "test" }, { "key": "fullName", "value": "Test User" }, { "key": "{{param_password}}", "value": "{{moderator_password}}" }, { "key": "guest", "value": "false" }, { "key": "auth", "value": "true" }, { "key": "createTime", "value": null, "disabled": true }, { "key": "{{param_checksum}}", "value": "0a2c2e6dd7ae5115ff5d7ed1382301c27dc0eb19" } ] } }, "response": [] }, { "name": "enter", "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/{{path}}/enter?{{param_session_token}}={{session_token}}", "host": [ "{{base_url}}" ], "path": [ "{{path}}", "enter" ], "query": [ { "key": "{{param_session_token}}", "value": "{{session_token}}" } ] } }, "response": [] }, { "name": "isMeetingRunning", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/{{path}}/isMeetingRunning?{{param_meeting_id}}={{external_meeting_id}}&{{param_checksum}}=37bfc54506286a489d9defddac34b1757920c0de", "host": [ "{{base_url}}" ], "path": [ "{{path}}", "isMeetingRunning" ], "query": [ { "key": "{{param_meeting_id}}", "value": "{{external_meeting_id}}" }, { "key": "{{param_checksum}}", "value": "37bfc54506286a489d9defddac34b1757920c0de" } ] } }, "response": [] }, { "name": "end", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "var jsonResponse = xml2Json(pm.response.text());", "", "console.log(jsonResponse)", "", "pm.test(\"Return code is SUCCESS\", function () {", " pm.expect(jsonResponse.response.returncode).to.eql(\"SUCCESS\");", "});", "", "pm.test(\"Message key\", function () {", " pm.expect(jsonResponse.response.meetingID).to.eql(\"sentEndMeetingRequest\");", "});" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/{{path}}/end?{{param_meeting_id}}={{external_meeting_id}}&{{param_password}}={{moderator_password}}&{{param_checksum}}=0354af2b0f33f85705e6f1789f88107b23d56f1d", "host": [ "{{base_url}}" ], "path": [ "{{path}}", "end" ], "query": [ { "key": "{{param_meeting_id}}", "value": "{{external_meeting_id}}" }, { "key": "{{param_password}}", "value": "{{moderator_password}}" }, { "key": "{{param_checksum}}", "value": "0354af2b0f33f85705e6f1789f88107b23d56f1d" } ] } }, "response": [] }, { "name": "getMeetingInfo", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "var jsonResponse = xml2Json(pm.response.text());", "", "console.log(jsonResponse)", "", "pm.test(\"Return code is SUCCESS\", function () {", " pm.expect(jsonResponse.response.returncode).to.eql(\"SUCCESS\");", "});", "", "pm.test(\"Meeting ID\", function () {", " pm.expect(jsonResponse.response.meetingID).to.eql(pm.environment.get(\"external_meeting_id\"));", "});", "", "pm.test(\"Attendee password\", function () {", " pm.expect(jsonResponse.response.attendeePW).to.eql(pm.environment.get(\"attendee_password\"));", "});", "", "pm.test(\"Moderator password\", function () {", " pm.expect(jsonResponse.response.moderatorPW).to.eql(pm.environment.get(\"moderator_password\"));", "});" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/{{path}}/getMeetingInfo?{{param_meeting_id}}={{external_meeting_id}}&checksum=85d659f04c01a0e625d1beaf23a7ef4049a65492", "host": [ "{{base_url}}" ], "path": [ "{{path}}", "getMeetingInfo" ], "query": [ { "key": "{{param_meeting_id}}", "value": "{{external_meeting_id}}" }, { "key": "checksum", "value": "85d659f04c01a0e625d1beaf23a7ef4049a65492" } ] } }, "response": [] }, { "name": "getMeetings", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/{{path}}/getMeetings?checksum=536d8d9f61853554bd495306665151ad0843450c", "host": [ "{{base_url}}" ], "path": [ "{{path}}", "getMeetings" ], "query": [ { "key": "checksum", "value": "536d8d9f61853554bd495306665151ad0843450c" } ] } }, "response": [] }, { "name": "getSessions", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/{{path}}/getSessions?checksum=7dab7b203f78845eff87eaed4453e02b90f8c65f", "host": [ "{{base_url}}" ], "path": [ "{{path}}", "getSessions" ], "query": [ { "key": "checksum", "value": "7dab7b203f78845eff87eaed4453e02b90f8c65f" } ] } }, "response": [] }, { "name": "guestWait", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "var jsonResponse = pm.response.json();", "", "console.log(jsonResponse)", "", "pm.test(\"Return code is SUCCESS\", function () {", " pm.expect(jsonResponse.response.returncode).to.eql(\"SUCCESS\");", "});", "", "pm.test(\"Message Key\", function () {", " pm.expect(jsonResponse.response.messageKey).to.eql(\"seatWait\");", "});", "", "pm.test(\"Guest status\", function () {", " pm.expect(jsonResponse.response.guestStatus).to.eql(\"WAIT\")", "});" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/{{path}}/guestWait?{{param_session_token}}={{session_token}}", "host": [ "{{base_url}}" ], "path": [ "{{path}}", "guestWait" ], "query": [ { "key": "{{param_session_token}}", "value": "{{session_token}}" } ] } }, "response": [] }, { "name": "stuns", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/{{path}}/stuns?{{param_session_token}}={{session_token}}", "host": [ "{{base_url}}" ], "path": [ "{{path}}", "stuns" ], "query": [ { "key": "{{param_session_token}}", "value": "{{session_token}}" } ] } }, "response": [] }, { "name": "signOut", "event": [ { "listen": "test", "script": { "exec": [ "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});", "", "var jsonResponse = pm.response.json();", "", "console.log(jsonResponse)", "", "pm.test(\"Return code is SUCCESS\", function () {", " pm.expect(jsonResponse.response.returncode).to.eql(\"SUCCESS\");", "});" ], "type": "text/javascript" } } ], "request": { "method": "GET", "header": [], "url": { "raw": "{{base_url}}/{{path}}/signOut?{{param_session_token}}={{session_token}}", "host": [ "{{base_url}}" ], "path": [ "{{path}}", "signOut" ], "query": [ { "key": "{{param_session_token}}", "value": "{{session_token}}" } ] } }, "response": [] } ] }