Skip to content

Commit

Permalink
Merge pull request #319 from trivir/feature/idm-count-tests
Browse files Browse the repository at this point in the history
Add mocks for idm count tests
  • Loading branch information
vscheuber authored Oct 7, 2023
2 parents 17c864e + 5d35b6a commit 08d804e
Show file tree
Hide file tree
Showing 6 changed files with 1,448 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,296 @@
{
"log": {
"_recordingName": "idm/count/0_managed-object/am",
"creator": {
"comment": "persister:fs",
"name": "Polly.JS",
"version": "6.0.5"
},
"entries": [
{
"_id": "ccd7a5defd0fdeaa986a2b54642d911a",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"name": "accept",
"value": "application/json, text/plain, */*"
},
{
"name": "user-agent",
"value": "@trivir/frodo-lib/2.0.0-trivir.2"
},
{
"name": "x-forgerock-transactionid",
"value": "frodo-b59583c3-80d9-49a3-8f86-9abc22a6aa5e"
},
{
"name": "content-type",
"value": "application/json"
},
{
"name": "accept-api-version",
"value": "resource=1.1"
},
{
"name": "host",
"value": "openam-frodo-dev.forgeblocks.com"
}
],
"headersSize": 344,
"httpVersion": "HTTP/1.1",
"method": "GET",
"queryString": [],
"url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/*"
},
"response": {
"bodySize": 553,
"content": {
"mimeType": "application/json;charset=UTF-8",
"size": 553,
"text": "{\"_id\":\"*\",\"_rev\":\"1874515102\",\"domains\":[],\"protectedUserAttributes\":[\"telephoneNumber\",\"mail\"],\"cookieName\":\"6ac6499e9da2071\",\"secureCookie\":true,\"forgotPassword\":\"false\",\"forgotUsername\":\"false\",\"kbaEnabled\":\"false\",\"selfRegistration\":\"false\",\"lang\":\"en-US\",\"successfulUserRegistrationDestination\":\"default\",\"socialImplementations\":[],\"referralsEnabled\":\"false\",\"zeroPageLogin\":{\"enabled\":false,\"allowedWithoutReferer\":true,\"refererWhitelist\":[]},\"realm\":\"/\",\"xuiUserSessionValidationEnabled\":true,\"fileBasedConfiguration\":true,\"userIdAttributes\":[]}"
},
"cookies": [],
"headers": [
{
"name": "x-frame-options",
"value": "SAMEORIGIN"
},
{
"name": "content-security-policy-report-only",
"value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'"
},
{
"name": "x-content-type-options",
"value": "nosniff"
},
{
"name": "cache-control",
"value": "no-store"
},
{
"name": "content-api-version",
"value": "resource=1.1"
},
{
"name": "content-security-policy",
"value": "default-src 'none';frame-ancestors 'none';sandbox"
},
{
"name": "cross-origin-opener-policy",
"value": "same-origin"
},
{
"name": "cross-origin-resource-policy",
"value": "same-origin"
},
{
"name": "etag",
"value": "\"1874515102\""
},
{
"name": "expires",
"value": "0"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "content-type",
"value": "application/json;charset=UTF-8"
},
{
"name": "content-length",
"value": "553"
},
{
"name": "date",
"value": "Fri, 22 Sep 2023 22:58:23 GMT"
},
{
"name": "x-forgerock-transactionid",
"value": "frodo-b59583c3-80d9-49a3-8f86-9abc22a6aa5e"
},
{
"name": "strict-transport-security",
"value": "max-age=31536000; includeSubDomains; preload;"
},
{
"name": "via",
"value": "1.1 google"
},
{
"name": "alt-svc",
"value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}
],
"headersSize": 767,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2023-09-22T22:58:23.114Z",
"time": 282,
"timings": {
"blocked": -1,
"connect": -1,
"dns": -1,
"receive": 0,
"send": 0,
"ssl": -1,
"wait": 282
}
},
{
"_id": "6125d0328ad0dcaee55f73fd8b22ca14",
"_order": 0,
"cache": {},
"request": {
"bodySize": 0,
"cookies": [],
"headers": [
{
"name": "accept",
"value": "application/json, text/plain, */*"
},
{
"name": "user-agent",
"value": "@trivir/frodo-lib/2.0.0-trivir.2"
},
{
"name": "x-forgerock-transactionid",
"value": "frodo-b59583c3-80d9-49a3-8f86-9abc22a6aa5e"
},
{
"name": "content-type",
"value": "application/json"
},
{
"name": "accept-api-version",
"value": "resource=1.0"
},
{
"name": "authorization",
"value": "Bearer eyJ0eXAiOiJKV1QiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2IiwiYWxnIjoiZGlyIn0..2OAqpDaxl_gCNwh63uYaIA.gShSqSqxQoTdFrr0Y48NZ3X9ex0HGeHzT4XrDUj1BN8t8kE9QehbFMKhiPlYTQgAAq2SkvKbjFCSG3NtSnGOW7tD6DTs2mqHEueyZa78264NhBZxKmD_Yhcvxcg8qUuEndUKBfspgg5ZrKCjqagAcYK-_q2_pgdE9zyk0R_T1H1NIUH8tgOfz-cbmUm1_lPMTIPQbFCxqOOtn67621wwGDSM6HI6D8OOvWQBS47QOIeZYSAzOzx-JkhsUeK6_9vBslfutFknHCEV8ojXy2pncmNzqD-QkhG1_7wfKj1kXny6KF1m0ASWN2WLj8018rCOFFeeRw6TSXYsqtbIjqwMVpMX3FNszfEPAbMk4bGfHPCBz-uY37dt5899OrMkr_bhL4yf-eDGzS0HLp81qKvFztHslhoP7afAMiAUMEec_TjjxiYDopmy44N69E7gJ4yfdRiWERUxFKMomX7XGJuPNlp64aZ2jd4IURgaUy_Cc0qm8P3_262l8KR5HvlKUvNavHACOFW56GwdM3RdJ44Yf4HpOuVbVROVeqs2SVJBdd6ljOR4nr9d0E_hsiV-ek1rF7pjen70cGvgO4eCpuwSG1JBeZq3IkBokBZcobWQqbE1K-9t7alFdA3YMR4QVeW09zCHgzl98QkL4WYqJ0UY00c-Sl-jRlcJH3NCVnYRvTQ6wr81d8Bpu80GYDt8ExQx5LtUPPTGBmaq9mdXck64thNnR7HJzeBo3j_5S7dBtzOb18Ei4558hTGc5N9m70ZPnzOyE79oqbKyb7DVtknCM0t64vP_H7V6HIQByAIzst9MmGsGiww2fFIIkfWpm3oP6jcfslwx4u3TsZzL-6Xwi-rrpk0hcko34pRtdxpzmEo-67qag3PYYDHXZ0_oqdusNx3zjZ5ybL7uvIxjgcnL92TYaSYqdIo5p2oMDeP4i8ZTdm-0rsX-Y1_pWv0NgucNbU2Mx86xzvG69uFW-ppiJQagIdEcdaHDVXF9YcGzSeIoRO0fyzGGdwoC6ZGQkpNOfieBQbeMEm5KDldr9zytWGUBC-bjUO7TH5RjEfBf_bM.jnXb0QonahJp5L3h-v377Q"
},
{
"name": "host",
"value": "openam-frodo-dev.forgeblocks.com"
}
],
"headersSize": 1552,
"httpVersion": "HTTP/1.1",
"method": "GET",
"queryString": [],
"url": "https://openam-frodo-dev.forgeblocks.com/am/json/serverinfo/version"
},
"response": {
"bodySize": 283,
"content": {
"mimeType": "application/json;charset=UTF-8",
"size": 283,
"text": "{\"_id\":\"version\",\"_rev\":\"1217229914\",\"version\":\"7.4.0-SNAPSHOT\",\"fullVersion\":\"ForgeRock Access Management 7.4.0-SNAPSHOT Build 7e44c1624c3a11db5b5b0b576bb162618f1ac605 (2023-September-18 09:04)\",\"revision\":\"7e44c1624c3a11db5b5b0b576bb162618f1ac605\",\"date\":\"2023-September-18 09:04\"}"
},
"cookies": [],
"headers": [
{
"name": "x-frame-options",
"value": "SAMEORIGIN"
},
{
"name": "content-security-policy-report-only",
"value": "frame-ancestors 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'"
},
{
"name": "x-content-type-options",
"value": "nosniff"
},
{
"name": "cache-control",
"value": "no-store"
},
{
"name": "content-api-version",
"value": "resource=1.0"
},
{
"name": "content-security-policy",
"value": "default-src 'none';frame-ancestors 'none';sandbox"
},
{
"name": "cross-origin-opener-policy",
"value": "same-origin"
},
{
"name": "cross-origin-resource-policy",
"value": "same-origin"
},
{
"name": "etag",
"value": "\"1217229914\""
},
{
"name": "expires",
"value": "0"
},
{
"name": "pragma",
"value": "no-cache"
},
{
"name": "content-type",
"value": "application/json;charset=UTF-8"
},
{
"name": "content-length",
"value": "283"
},
{
"name": "date",
"value": "Fri, 22 Sep 2023 22:58:23 GMT"
},
{
"name": "x-forgerock-transactionid",
"value": "frodo-b59583c3-80d9-49a3-8f86-9abc22a6aa5e"
},
{
"name": "strict-transport-security",
"value": "max-age=31536000; includeSubDomains; preload;"
},
{
"name": "via",
"value": "1.1 google"
},
{
"name": "alt-svc",
"value": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}
],
"headersSize": 767,
"httpVersion": "HTTP/1.1",
"redirectURL": "",
"status": 200,
"statusText": "OK"
},
"startedDateTime": "2023-09-22T22:58:23.588Z",
"time": 69,
"timings": {
"blocked": -1,
"connect": -1,
"dns": -1,
"receive": 0,
"send": 0,
"ssl": -1,
"wait": 69
}
}
],
"pages": [],
"version": "1.2"
}
}
Loading

0 comments on commit 08d804e

Please sign in to comment.