|
2340 | 2340 | }, |
2341 | 2341 | { |
2342 | 2342 | "name": "DEBUG Report +1 profile", |
| 2343 | + "event": [ |
| 2344 | + { |
| 2345 | + "listen": "test", |
| 2346 | + "script": { |
| 2347 | + "id": "0da2ad7a-a0fd-4a42-a07c-b6bb4267efbd", |
| 2348 | + "exec": [ |
| 2349 | + "pm.test(\"Status code is 204\", function () {", |
| 2350 | + " pm.response.to.have.status(204);", |
| 2351 | + "});" |
| 2352 | + ], |
| 2353 | + "type": "text/javascript" |
| 2354 | + } |
| 2355 | + } |
| 2356 | + ], |
2343 | 2357 | "request": { |
2344 | 2358 | "auth": { |
2345 | 2359 | "type": "noauth" |
|
2714 | 2728 | }, |
2715 | 2729 | "response": [] |
2716 | 2730 | }, |
| 2731 | + { |
| 2732 | + "name": "Get report_me user to check reports received", |
| 2733 | + "event": [ |
| 2734 | + { |
| 2735 | + "listen": "test", |
| 2736 | + "script": { |
| 2737 | + "id": "b8600edd-2f77-4a2b-ba62-75cf8e14a03b", |
| 2738 | + "exec": [ |
| 2739 | + "var response = JSON.parse(responseBody);", |
| 2740 | + "", |
| 2741 | + "", |
| 2742 | + "pm.test(\"Status code is 200\", function () {", |
| 2743 | + " pm.response.to.have.status(200);", |
| 2744 | + "});", |
| 2745 | + "", |
| 2746 | + "tests[\"One report has been sent\"] = response.reports.sent.length == 0", |
| 2747 | + "tests[\"No report has been received\"] = response.reports.received.length == 1" |
| 2748 | + ], |
| 2749 | + "type": "text/javascript" |
| 2750 | + } |
| 2751 | + } |
| 2752 | + ], |
| 2753 | + "request": { |
| 2754 | + "method": "GET", |
| 2755 | + "header": [], |
| 2756 | + "url": { |
| 2757 | + "raw": "{{host}}/users/report_me@example.org", |
| 2758 | + "host": [ |
| 2759 | + "{{host}}" |
| 2760 | + ], |
| 2761 | + "path": [ |
| 2762 | + "users", |
| 2763 | + "report_me@example.org" |
| 2764 | + ] |
| 2765 | + } |
| 2766 | + }, |
| 2767 | + "response": [] |
| 2768 | + }, |
2717 | 2769 | { |
2718 | 2770 | "name": "Delete user report_me", |
2719 | 2771 | "event": [ |
@@ -2963,109 +3015,109 @@ |
2963 | 3015 | ], |
2964 | 3016 | "variable": [ |
2965 | 3017 | { |
2966 | | - "id": "1457d0f6-a65f-4336-bb10-5ba248fd02e4", |
| 3018 | + "id": "0aa4bf10-ee3d-4f4a-b758-be39c538b297", |
2967 | 3019 | "key": "host", |
2968 | 3020 | "value": "http://127.0.0.1:5000", |
2969 | 3021 | "type": "string" |
2970 | 3022 | }, |
2971 | 3023 | { |
2972 | | - "id": "f439fe2f-9a94-477c-87c4-4cee9fd649f9", |
| 3024 | + "id": "4829552b-b71d-446f-9cf8-e4991a601c47", |
2973 | 3025 | "key": "user_id", |
2974 | 3026 | "value": "", |
2975 | 3027 | "type": "string" |
2976 | 3028 | }, |
2977 | 3029 | { |
2978 | | - "id": "b0717176-65f1-4bf9-85e1-d5a4670f4407", |
| 3030 | + "id": "510d6996-225a-47e0-9a1f-59e5d8850459", |
2979 | 3031 | "key": "user_email", |
2980 | 3032 | "value": "foo@example.org", |
2981 | 3033 | "type": "string" |
2982 | 3034 | }, |
2983 | 3035 | { |
2984 | | - "id": "8ae38156-a458-436e-b2a9-f2599f7c9ee4", |
| 3036 | + "id": "817af169-5253-490d-8cb4-4c9c6552a32f", |
2985 | 3037 | "key": "user_username", |
2986 | 3038 | "value": "foo", |
2987 | 3039 | "type": "string" |
2988 | 3040 | }, |
2989 | 3041 | { |
2990 | | - "id": "c2329f20-61d2-4f34-a9a5-9f490e4b3927", |
| 3042 | + "id": "a7b685c8-afc8-4beb-85a7-ef9148e43003", |
2991 | 3043 | "key": "user_password", |
2992 | 3044 | "value": "admin", |
2993 | 3045 | "type": "string" |
2994 | 3046 | }, |
2995 | 3047 | { |
2996 | | - "id": "fa6fc205-25e2-4150-a6a3-9fc0005e7cef", |
| 3048 | + "id": "dbf73ec4-2360-4d06-a7a8-ed800176a5f6", |
2997 | 3049 | "key": "user_firstname", |
2998 | 3050 | "value": "Foo", |
2999 | 3051 | "type": "string" |
3000 | 3052 | }, |
3001 | 3053 | { |
3002 | | - "id": "f8f455bd-667f-478c-8422-b249069be145", |
| 3054 | + "id": "6c74dc40-dccc-4778-8f5d-66893810a0ab", |
3003 | 3055 | "key": "user_lastname", |
3004 | 3056 | "value": "Bar", |
3005 | 3057 | "type": "string" |
3006 | 3058 | }, |
3007 | 3059 | { |
3008 | | - "id": "b8f2e62e-522a-428c-a2f8-c24f59bd5fd8", |
| 3060 | + "id": "344d24a4-8705-4cc5-b459-a0d4e77960e0", |
3009 | 3061 | "key": "debug_token", |
3010 | 3062 | "value": "xX69jules69Xx", |
3011 | 3063 | "type": "string" |
3012 | 3064 | }, |
3013 | 3065 | { |
3014 | | - "id": "9061c605-92f2-4a48-9de2-47aa76a4b54e", |
| 3066 | + "id": "6573eb46-4b86-475a-8dea-6487a32124b3", |
3015 | 3067 | "key": "user_access_token", |
3016 | 3068 | "value": "", |
3017 | 3069 | "type": "string" |
3018 | 3070 | }, |
3019 | 3071 | { |
3020 | | - "id": "087c57f0-6dc7-45a3-a49d-cf10e7c64ae5", |
| 3072 | + "id": "fcb3c2f2-50b9-496f-8863-3a9e7927c083", |
3021 | 3073 | "key": "user_refresh_token", |
3022 | 3074 | "value": "", |
3023 | 3075 | "type": "string" |
3024 | 3076 | }, |
3025 | 3077 | { |
3026 | | - "id": "c3abd8e6-2d5c-49ff-81a5-8c0eef9d3d30", |
| 3078 | + "id": "e53f8bf1-4e49-47fe-af11-ff48243709ca", |
3027 | 3079 | "key": "expired_token", |
3028 | 3080 | "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1OTAyNDIyNjQsIm5iZiI6MTU5MDI0MjI2NCwianRpIjoiNTM0ZGI5NzQtOWE4Ni00MGViLWE1NDEtMDg3N2ZmNzQ3NDVhIiwiZXhwIjoxNTkwMjQyMzI0LCJpZGVudGl0eSI6eyJpZCI6NTEyLCJlbWFpbCI6ImZvb0BleGFtcGxlLm9yZyIsInVzZXJuYW1lIjoiYmFyIiwiaXNfb25saW5lIjp0cnVlLCJkYXRlX2xhc3RzZWVuIjoiU2F0LCAyMyBNYXkgMjAyMCAxMzo1Nzo0NCBHTVQifSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MifQ.NTp2P0WNkXDwzuzrcNIQdeAfizQ57HQgkzBLSvY1yHU", |
3029 | 3081 | "type": "string" |
3030 | 3082 | }, |
3031 | 3083 | { |
3032 | | - "id": "06d6445e-4a08-4a73-9f77-c373e72e11a2", |
| 3084 | + "id": "97f04f56-8788-4a96-b4bf-b7df76d61a85", |
3033 | 3085 | "key": "user_orientation", |
3034 | 3086 | "value": "heterosexual", |
3035 | 3087 | "type": "string" |
3036 | 3088 | }, |
3037 | 3089 | { |
3038 | | - "id": "bea3f45f-1b31-4a5a-a8b0-3b19a51121cd", |
| 3090 | + "id": "9d3ae8c3-9e9d-410c-8f3e-9981aa794ffe", |
3039 | 3091 | "key": "user_bio", |
3040 | 3092 | "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.", |
3041 | 3093 | "type": "string" |
3042 | 3094 | }, |
3043 | 3095 | { |
3044 | | - "id": "96a2a049-ba40-4a0d-a121-87ae2c69e405", |
| 3096 | + "id": "286a8b4b-4896-4052-9954-5268fa7ec5d2", |
3045 | 3097 | "key": "user_gender", |
3046 | 3098 | "value": "male", |
3047 | 3099 | "type": "string" |
3048 | 3100 | }, |
3049 | 3101 | { |
3050 | | - "id": "368ec511-6d63-4078-8ce9-927099fd5e0d", |
| 3102 | + "id": "8af47f4b-543e-4854-9f5e-4d233c3b1fa8", |
3051 | 3103 | "key": "user_birthdate", |
3052 | 3104 | "value": "1590674628", |
3053 | 3105 | "type": "string" |
3054 | 3106 | }, |
3055 | 3107 | { |
3056 | | - "id": "902e8352-9d84-4506-8d2f-43d6e5955aa5", |
| 3108 | + "id": "268b8033-29e7-43cd-8656-320cb618c349", |
3057 | 3109 | "key": "user_lat", |
3058 | 3110 | "value": "44.8404", |
3059 | 3111 | "type": "string" |
3060 | 3112 | }, |
3061 | 3113 | { |
3062 | | - "id": "40b99878-a229-47d6-b542-0658ca174bac", |
| 3114 | + "id": "055ded59-04f0-49b0-b0ef-5e197597e234", |
3063 | 3115 | "key": "user_lng", |
3064 | 3116 | "value": "-0.5805", |
3065 | 3117 | "type": "string" |
3066 | 3118 | }, |
3067 | 3119 | { |
3068 | | - "id": "4d97f30c-1c59-4b6f-b305-3e52b9eb4e88", |
| 3120 | + "id": "6067682f-bb9d-43fa-b35a-f9d6e924596e", |
3069 | 3121 | "key": "user_ip", |
3070 | 3122 | "value": "77.205.46.181", |
3071 | 3123 | "type": "string" |
|
0 commit comments