{"_type":"export","__export_format":4,"__export_date":"2025-05-20T13:07:21.291Z","__export_source":"insomnia.desktop.app:v10.1.1","resources":[{"_id":"req_63f7f406d56643af8a77f90b9b421587","parentId":"fld_4929260c74504dc3b76cd8f0a22c0725","modified":1747746363305,"created":1747746296619,"url":"localhost:8080/__admin/mappings","name":"Setup - Delete Mappings","description":"","method":"DELETE","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/10.1.1"}],"authentication":{},"metaSortKey":-1747743372216,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_4929260c74504dc3b76cd8f0a22c0725","parentId":"wrk_scratchpad","modified":1747743365201,"created":1747743365201,"name":"Wiremock Assert Field Does Not Exist","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1747743365201,"_type":"request_group"},{"_id":"wrk_scratchpad","parentId":null,"modified":1727075325379,"created":1727075325379,"name":"Scratch Pad","description":"","scope":"collection","_type":"workspace"},{"_id":"req_d0bf084c78954e368f856137878e7b5f","parentId":"fld_4929260c74504dc3b76cd8f0a22c0725","modified":1747746414085,"created":1747746380836,"url":"localhost:8080/__admin/requests","name":"Setup - Clear Requests Journal","description":"","method":"DELETE","body":{},"parameters":[],"headers":[{"name":"User-Agent","value":"insomnia/10.1.1"}],"authentication":{},"metaSortKey":-1747743372166,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_26ec245d11b5431bb8201925e5e4f05c","parentId":"fld_4929260c74504dc3b76cd8f0a22c0725","modified":1747745290924,"created":1747743372116,"url":"localhost:8080/__admin/mappings","name":"Create Mapping","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n  \"request\": {\n    \"method\": \"POST\",\n    \"url\": \"/some/thing\",\n\t\t\"bodyPatterns\":[\n\t\t\t{\n\t\t\t\t\"matchesJsonPath\" : \"$.[?(@.entitlementId == '248bc5d5-2f89-4bf5-b878-a368aeec9732')]\"\n\t\t\t}\n\t\t]\n  },\n  \"response\": {\n    \"body\": \"HELLO!\",\n    \"headers\": {\n      \"Content-Type\": \"application/json\"\n    },\n    \"status\": 200\n  }\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/10.1.1"}],"authentication":{},"metaSortKey":-1747743372116,"isPrivate":false,"pathParameters":[],"afterResponseScript":"insomnia.test('Check mapping has been created', () => {\n\tconst statusCode = insomnia.response.code;\n\tinsomnia.expect(statusCode).to.eql(201);\n});\t\t","settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_aac9181178134b17bc3638cdb8517787","parentId":"fld_4929260c74504dc3b76cd8f0a22c0725","modified":1747745297762,"created":1747743653181,"url":"localhost:8080/some/thing","name":"Request Mock","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"entitlementId\": \"248bc5d5-2f89-4bf5-b878-a368aeec9732\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/10.1.1"}],"authentication":{},"metaSortKey":-1747743372016,"isPrivate":false,"pathParameters":[],"afterResponseScript":"insomnia.test('Check mock was called successfully', () => {\n\tconst statusCode = insomnia.response.code;\n\tconst textBody = insomnia.response.text();\n\n\tinsomnia.expect(statusCode).to.eql(200);\n\tinsomnia.expect(textBody).to.eql(\"HELLO!\");\n});\t\n","settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_bbd42a52e1c94a088fce3d0a1eb2b9f9","parentId":"fld_4929260c74504dc3b76cd8f0a22c0725","modified":1747745542220,"created":1747744002119,"url":"localhost:8080/__admin/requests/count","name":"Query Request Log - EqualTo","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n    \"method\": \"POST\",\n    \"urlPathPattern\": \"/some/thing\",\n\t\t\"bodyPatterns\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\t\"matchesJsonPath\": {\n\t\t\t\t\t\t\t\t\t\"expression\": \"$.entitlementId\",\n\t\t\t\t\t\t\t\t\t\"equalTo\": \"248bc5d5-2f89-4bf5-b878-a368aeec9732\"\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/10.1.1"}],"authentication":{},"preRequestScript":"","metaSortKey":-1747743371916,"isPrivate":false,"pathParameters":[],"afterResponseScript":"insomnia.test('Request Log returns as expected', () => {\n\tconst jsonBody = insomnia.response.json();\n\tinsomnia.expect(insomnia.response.code).to.eql(200);\n\tinsomnia.expect(jsonBody.count).to.eql(1);\n});\t","settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8dba170097fd4c45ae4a202373c072c3","parentId":"fld_4929260c74504dc3b76cd8f0a22c0725","modified":1747745547854,"created":1747744431471,"url":"localhost:8080/__admin/requests/count","name":"Query Request Log - Not-Absent-True - Should return count 1","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n    \"method\": \"POST\",\n    \"urlPathPattern\": \"/some/thing\",\n\t\t\"bodyPatterns\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\t\"matchesJsonPath\": {\n\t\t\t\t\t\t\t\t\t\"expression\": \"$.entitlementId\",\n\t\t\t\t\t\t\t\t\t\"not\": {\n\t\t\t\t\t\t\t\t\t\t\t\"absent\": true\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/10.1.1"}],"authentication":{},"metaSortKey":-1747743371891,"isPrivate":false,"pathParameters":[],"afterResponseScript":"insomnia.test('Request Log returns as expected', () => {\n\tconst jsonBody = insomnia.response.json();\n\tinsomnia.expect(insomnia.response.code).to.eql(200);\n\tinsomnia.expect(jsonBody.count).to.eql(1);\n});\t","settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f84c114edf3a47808a51ba5dcc640235","parentId":"fld_4929260c74504dc3b76cd8f0a22c0725","modified":1747745551212,"created":1747744523974,"url":"localhost:8080/__admin/requests/count","name":"Query Request Log - Not-Absent-False - Should return count 0","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n    \"method\": \"POST\",\n    \"urlPathPattern\": \"/some/thing\",\n\t\t\"bodyPatterns\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\t\"matchesJsonPath\": {\n\t\t\t\t\t\t\t\t\t\"expression\": \"$.entitlementId\",\n\t\t\t\t\t\t\t\t\t\"not\": {\n\t\t\t\t\t\t\t\t\t\t\t\"absent\": false\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/10.1.1"}],"authentication":{},"metaSortKey":-1747743371878.5,"isPrivate":false,"pathParameters":[],"afterResponseScript":"insomnia.test('Request Log returns as expected', () => {\nconst jsonBody = insomnia.response.json();\ninsomnia.expect(insomnia.response.code).to.eql(200);\ninsomnia.expect(jsonBody.count).to.eql(0)\n});\t","settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8b882d1ea90942e9bfba31046bd6ce68","parentId":"fld_4929260c74504dc3b76cd8f0a22c0725","modified":1747744200399,"created":1747744120269,"url":"localhost:8080/__admin/requests","name":"Query Requests","description":"","method":"GET","body":{"mimeType":"application/json","text":"{\n    \"method\": \"POST\",\n    \"urlPathPattern\": \"/some/thing\",\n    \"bodyPatterns\": [\n        {\n            \"matchesJsonPath\": {\n                \"expression\": \"$.entitlementId\",\n                \"equalTo\": \"248bc5d5-2f89-4bf5-b878-a368aeec9732\"\n            }\n        }\n    ]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"},{"name":"User-Agent","value":"insomnia/10.1.1"}],"authentication":{},"metaSortKey":-1747743371866,"isPrivate":false,"pathParameters":[],"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_99d30891da4bdcebc63947a8fc17f076de878684","parentId":"wrk_scratchpad","modified":1747746422564,"created":1727075337702,"name":"Base Environment","data":{},"dataPropertyOrder":{},"color":null,"isPrivate":false,"metaSortKey":1727075337702,"_type":"environment"},{"_id":"jar_99d30891da4bdcebc63947a8fc17f076de878684","parentId":"wrk_scratchpad","modified":1747746422563,"created":1727075337754,"name":"Default Jar","cookies":[],"_type":"cookie_jar"}]}