|
3656 | 3656 | } |
3657 | 3657 | }, |
3658 | 3658 | "response": [] |
3659 | | - }, |
3660 | | - { |
3661 | | - "name": "No form data", |
3662 | | - "event": [ |
3663 | | - { |
3664 | | - "listen": "test", |
3665 | | - "script": { |
3666 | | - "id": "5ed3ecf7-b928-433b-8b33-d9d5711d15d9", |
3667 | | - "exec": [ |
3668 | | - "var response = JSON.parse(responseBody);", |
3669 | | - "", |
3670 | | - "", |
3671 | | - "pm.test(\"Status code is 400\", function () {", |
3672 | | - " pm.response.to.have.status(400);", |
3673 | | - "});", |
3674 | | - "", |
3675 | | - "tests[\"JSON return code is 400\"] = response.code == 400", |
3676 | | - "", |
3677 | | - "tests[\"success is false\"] = response.success == false", |
3678 | | - "tests[\"Message is correct\"] = response.error.message == \"No file body passed in request form data\"", |
3679 | | - "tests[\"Error type is Bad Request\"] = response.error.type == \"BadRequestError\"" |
3680 | | - ], |
3681 | | - "type": "text/javascript" |
3682 | | - } |
3683 | | - } |
3684 | | - ], |
3685 | | - "request": { |
3686 | | - "method": "POST", |
3687 | | - "header": [], |
3688 | | - "url": { |
3689 | | - "raw": "{{host}}/profile/images?is_primary=true", |
3690 | | - "host": [ |
3691 | | - "{{host}}" |
3692 | | - ], |
3693 | | - "path": [ |
3694 | | - "profile", |
3695 | | - "images" |
3696 | | - ], |
3697 | | - "query": [ |
3698 | | - { |
3699 | | - "key": "is_primary", |
3700 | | - "value": "true" |
3701 | | - } |
3702 | | - ] |
3703 | | - } |
3704 | | - }, |
3705 | | - "response": [] |
3706 | | - }, |
3707 | | - { |
3708 | | - "name": "No filename passed", |
3709 | | - "event": [ |
3710 | | - { |
3711 | | - "listen": "test", |
3712 | | - "script": { |
3713 | | - "id": "796e34f1-1865-44a6-94b2-952bac223588", |
3714 | | - "exec": [ |
3715 | | - "var response = JSON.parse(responseBody);", |
3716 | | - "", |
3717 | | - "", |
3718 | | - "pm.test(\"Status code is 400\", function () {", |
3719 | | - " pm.response.to.have.status(400);", |
3720 | | - "});", |
3721 | | - "", |
3722 | | - "tests[\"JSON return code is 400\"] = response.code == 400", |
3723 | | - "", |
3724 | | - "tests[\"success is false\"] = response.success == false", |
3725 | | - "tests[\"Message is correct\"] = response.error.message == \"No file body passed in request form data\"", |
3726 | | - "tests[\"Error type is Bad Request\"] = response.error.type == \"BadRequestError\"" |
3727 | | - ], |
3728 | | - "type": "text/javascript" |
3729 | | - } |
3730 | | - } |
3731 | | - ], |
3732 | | - "request": { |
3733 | | - "method": "POST", |
3734 | | - "header": [], |
3735 | | - "body": { |
3736 | | - "mode": "formdata", |
3737 | | - "formdata": [ |
3738 | | - { |
3739 | | - "key": "file[]", |
3740 | | - "type": "file", |
3741 | | - "src": [] |
3742 | | - } |
3743 | | - ] |
3744 | | - }, |
3745 | | - "url": { |
3746 | | - "raw": "{{host}}/profile/images?is_primary=true", |
3747 | | - "host": [ |
3748 | | - "{{host}}" |
3749 | | - ], |
3750 | | - "path": [ |
3751 | | - "profile", |
3752 | | - "images" |
3753 | | - ], |
3754 | | - "query": [ |
3755 | | - { |
3756 | | - "key": "is_primary", |
3757 | | - "value": "true" |
3758 | | - } |
3759 | | - ] |
3760 | | - } |
3761 | | - }, |
3762 | | - "response": [] |
3763 | 3659 | } |
3764 | 3660 | ], |
3765 | 3661 | "protocolProfileBehavior": {}, |
|
6092 | 5988 | ], |
6093 | 5989 | "variable": [ |
6094 | 5990 | { |
6095 | | - "id": "dbd5ea57-ea0b-4311-9be3-d905bcdabca4", |
| 5991 | + "id": "53aff055-946c-43b1-91e6-d1874c8ee43d", |
6096 | 5992 | "key": "host", |
6097 | 5993 | "value": "http://127.0.0.1:5000" |
6098 | 5994 | }, |
6099 | 5995 | { |
6100 | | - "id": "3e82ac7a-d332-442a-a8a8-d39856c7ea89", |
| 5996 | + "id": "7a0eee2f-8116-47a7-b62c-0be31819b97f", |
6101 | 5997 | "key": "user_id", |
6102 | 5998 | "value": "" |
6103 | 5999 | }, |
6104 | 6000 | { |
6105 | | - "id": "09b1aecc-2fee-44a2-a876-447f941033e4", |
| 6001 | + "id": "f1e6fb80-91f4-4ef9-8f02-8661cbf2347f", |
6106 | 6002 | "key": "user_email", |
6107 | 6003 | "value": "foo@example.org" |
6108 | 6004 | }, |
6109 | 6005 | { |
6110 | | - "id": "668c4556-446c-4f3d-a7e8-ff7380a8ed26", |
| 6006 | + "id": "78e811e8-310b-4066-ade2-30246a923885", |
6111 | 6007 | "key": "user_username", |
6112 | 6008 | "value": "foo" |
6113 | 6009 | }, |
6114 | 6010 | { |
6115 | | - "id": "d425fd80-82fb-4a9f-b322-a00ae9e4e5d0", |
| 6011 | + "id": "bae904c3-7b05-445b-99bd-1420cb5163fe", |
6116 | 6012 | "key": "user_password", |
6117 | 6013 | "value": "admin" |
6118 | 6014 | }, |
6119 | 6015 | { |
6120 | | - "id": "6ad763cc-a8bf-4d22-991a-c238fc49f493", |
| 6016 | + "id": "01ba2b0c-d215-4668-b983-0373208392ac", |
6121 | 6017 | "key": "user_firstname", |
6122 | 6018 | "value": "Foo" |
6123 | 6019 | }, |
6124 | 6020 | { |
6125 | | - "id": "972637f0-7bf1-431a-9912-149f48169d62", |
| 6021 | + "id": "81c91547-a32e-43cf-bbc8-1de311d06167", |
6126 | 6022 | "key": "user_lastname", |
6127 | 6023 | "value": "Bar" |
6128 | 6024 | }, |
6129 | 6025 | { |
6130 | | - "id": "d1129824-8c4e-4058-bc9b-77c1250e7842", |
| 6026 | + "id": "15b90c7f-49f4-44b1-93a2-89dcf3a4e30b", |
6131 | 6027 | "key": "debug_token", |
6132 | 6028 | "value": "xX69jules69Xx" |
6133 | 6029 | }, |
6134 | 6030 | { |
6135 | | - "id": "99e98331-5d4a-4a29-b221-b3265c3b7f69", |
| 6031 | + "id": "316d7b20-e02c-4fe2-907d-f597dba7ed21", |
6136 | 6032 | "key": "user_access_token", |
6137 | 6033 | "value": "" |
6138 | 6034 | }, |
6139 | 6035 | { |
6140 | | - "id": "cf67ac74-ba7e-432f-aa37-1248340bbcdc", |
| 6036 | + "id": "ce1be10e-2043-4111-9bbb-3849243cf231", |
6141 | 6037 | "key": "user_refresh_token", |
6142 | 6038 | "value": "" |
6143 | 6039 | }, |
6144 | 6040 | { |
6145 | | - "id": "d403b769-9895-48c2-ae87-2e5ca81f8a89", |
| 6041 | + "id": "da19835c-ed26-4cd7-b01e-efbc462f1d6a", |
6146 | 6042 | "key": "expired_token", |
6147 | 6043 | "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1OTAyNDIyNjQsIm5iZiI6MTU5MDI0MjI2NCwianRpIjoiNTM0ZGI5NzQtOWE4Ni00MGViLWE1NDEtMDg3N2ZmNzQ3NDVhIiwiZXhwIjoxNTkwMjQyMzI0LCJpZGVudGl0eSI6eyJpZCI6NTEyLCJlbWFpbCI6ImZvb0BleGFtcGxlLm9yZyIsInVzZXJuYW1lIjoiYmFyIiwiaXNfb25saW5lIjp0cnVlLCJkYXRlX2xhc3RzZWVuIjoiU2F0LCAyMyBNYXkgMjAyMCAxMzo1Nzo0NCBHTVQifSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MifQ.NTp2P0WNkXDwzuzrcNIQdeAfizQ57HQgkzBLSvY1yHU" |
6148 | 6044 | }, |
6149 | 6045 | { |
6150 | | - "id": "1ab8729c-be33-463f-bdb8-48970d0f5e6f", |
| 6046 | + "id": "6a910941-9868-4523-928a-e4b7d04c2b70", |
6151 | 6047 | "key": "user_orientation", |
6152 | 6048 | "value": "heterosexual" |
6153 | 6049 | }, |
6154 | 6050 | { |
6155 | | - "id": "0fb694c5-a37d-4888-bff8-51d394d1885f", |
| 6051 | + "id": "5e6ff849-cbfa-4ed2-b570-96a2ecd08d91", |
6156 | 6052 | "key": "user_bio", |
6157 | 6053 | "value": "Lorem Ipsum is the single greatest threat. We are not - we are not keeping up with other websites. Lorem Ipsum best not make any more threats to your website. It will be met with fire and fury like the world has never seen. Does everybody know that pig named Lorem Ipsum? An ‘extremely credible source’ has called my office and told me that Barack Obama’s placeholder text is a fraud." |
6158 | 6054 | }, |
6159 | 6055 | { |
6160 | | - "id": "506c11b7-28bc-40a4-8b16-bb3e4c4dfb82", |
| 6056 | + "id": "27cc8ed7-b8d0-42fd-9420-c40a8c089306", |
6161 | 6057 | "key": "user_gender", |
6162 | 6058 | "value": "male" |
6163 | 6059 | }, |
6164 | 6060 | { |
6165 | | - "id": "5af737dd-f310-4cf0-a2b4-74572b4b0b33", |
| 6061 | + "id": "1b9d648d-5e82-4358-a17b-9c3d69c3a34f", |
6166 | 6062 | "key": "user_birthdate", |
6167 | 6063 | "value": "06/04/1998" |
6168 | 6064 | }, |
6169 | 6065 | { |
6170 | | - "id": "e1facd09-f9b4-4581-a2f5-ae72bebac8bf", |
| 6066 | + "id": "e75cc79b-c2fa-4b0f-a6aa-9562de7d3145", |
6171 | 6067 | "key": "user_lat", |
6172 | 6068 | "value": "44.8404" |
6173 | 6069 | }, |
6174 | 6070 | { |
6175 | | - "id": "c25008f0-5501-4dd8-8068-901781f1c72b", |
| 6071 | + "id": "9223b247-1c80-4560-bd03-b3dc368073c2", |
6176 | 6072 | "key": "user_lng", |
6177 | 6073 | "value": "-0.5805" |
6178 | 6074 | }, |
6179 | 6075 | { |
6180 | | - "id": "bae8bc29-fdda-4426-bc70-32448fd6941d", |
| 6076 | + "id": "4668401a-3b23-40a6-91ca-bff424a3dcfc", |
6181 | 6077 | "key": "user_ip", |
6182 | 6078 | "value": "77.205.46.181" |
6183 | 6079 | } |
|
0 commit comments