Project Number Date
_jans-config-api_master 269 09 Nov 2021, 09:04

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
src/test/resources/feature/config/cache/cache.feature 188 0 0 0 0 188 14 0 14 10.586 Passed
Feature src/test/resources/feature/config/cache/cache.feature
Verify Cache configuration endpoint
0.000
* def mainUrl = cacheUrl 0.000
10:41:22.495 could not find or read file: classpath:karate-base.js
10:41:22.497 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:23.528 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
Tags: @cache-get
1.640
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
When method GET 1.615
10:41:23.798 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:25.145 response time in milliseconds: 1346.45
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 625
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:24 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"cacheProviderType":"NATIVE_PERSISTENCE","memcachedConfiguration":{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"},"inMemoryConfiguration":{"defaultPutExpiration":60},"redisConfiguration":{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5},"nativePersistenceConfiguration":{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}}
Then status 200 0.000
And print response 0.000
10:41:25.146 [print] {
  "cacheProviderType": "NATIVE_PERSISTENCE",
  "nativePersistenceConfiguration": {
    "deleteExpiredOnGetRequest": false,
    "defaultCleanupBatchSize": 10000,
    "defaultPutExpiration": 60
  },
  "inMemoryConfiguration": {
    "defaultPutExpiration": 60
  },
  "redisConfiguration": {
    "servers": "localhost:6379",
    "maxTotalConnections": 500,
    "redisProviderType": "STANDALONE",
    "maxIdleConnections": 10,
    "connectionTimeout": 3000,
    "soTimeout": 3000,
    "defaultPutExpiration": 60,
    "useSSL": false,
    "maxRetryAttempts": 5
  },
  "memcachedConfiguration": {
    "connectionFactoryType": "DEFAULT",
    "servers": "localhost:11211",
    "maxOperationQueueLength": 100000,
    "bufferSize": 32768,
    "defaultPutExpiration": 60
  }
}
And assert response.length != null 0.023
0.000
* def mainUrl = cacheUrl 0.000
10:41:22.497 could not find or read file: classpath:karate-base.js
10:41:22.498 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:23.467 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
Tags: @cache-patch
2.442
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.009
When method GET 1.649
10:41:23.799 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:25.138 response time in milliseconds: 1338.44
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 625
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:24 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"cacheProviderType":"NATIVE_PERSISTENCE","memcachedConfiguration":{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"},"inMemoryConfiguration":{"defaultPutExpiration":60},"redisConfiguration":{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5},"nativePersistenceConfiguration":{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}}
Then status 200 0.000
And print response 0.001
10:41:25.141 [print] {
  "cacheProviderType": "NATIVE_PERSISTENCE",
  "nativePersistenceConfiguration": {
    "deleteExpiredOnGetRequest": false,
    "defaultCleanupBatchSize": 10000,
    "defaultPutExpiration": 60
  },
  "inMemoryConfiguration": {
    "defaultPutExpiration": 60
  },
  "redisConfiguration": {
    "servers": "localhost:6379",
    "maxTotalConnections": 500,
    "redisProviderType": "STANDALONE",
    "maxIdleConnections": 10,
    "connectionTimeout": 3000,
    "soTimeout": 3000,
    "defaultPutExpiration": 60,
    "useSSL": false,
    "maxRetryAttempts": 5
  },
  "memcachedConfiguration": {
    "connectionFactoryType": "DEFAULT",
    "servers": "localhost:11211",
    "maxOperationQueueLength": 100000,
    "bufferSize": 32768,
    "defaultPutExpiration": 60
  }
}
And assert response.length != null 0.028
And print response.cacheProviderType 0.040
10:41:25.218 [print] NATIVE_PERSISTENCE
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And header Content-Type = 'application/json-patch+json' 0.004
And header Accept = 'application/json' 0.020
And request "[ {\"op\":\"replace\", \"path\": \"/cacheProviderType\", \"value\":\""+response.cacheProviderType+"\" } ]" 0.006
Then print request 0.012
10:41:25.263 [print]
When method PATCH 0.669
10:41:25.268 request:
2 > PATCH https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache
2 > Accept: application/json
2 > Accept-Encoding: gzip,deflate
2 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
2 > Connection: Keep-Alive
2 > Content-Length: 81
2 > Content-Type: application/json-patch+json; charset=UTF-8
2 > Host: jenkins-config-api.gluu.org
2 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)
[ {"op":"replace", "path": "/cacheProviderType", "value":"NATIVE_PERSISTENCE" } ]

10:41:25.933 response time in milliseconds: 664.39
2 < 200
2 < Connection: Keep-Alive
2 < Content-Length: 625
2 < Content-Type: application/json
2 < Date: Wed, 14 Oct 2020 10:41:25 GMT
2 < Keep-Alive: timeout=5, max=100
2 < Server: Apache/2.4.29 (Ubuntu)
2 < Strict-Transport-Security: max-age=31536000; includeSubDomains
2 < X-Content-Type-Options: nosniff
2 < X-Xss-Protection: 1; mode=block
{"cacheProviderType":"NATIVE_PERSISTENCE","memcachedConfiguration":{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"},"inMemoryConfiguration":{"defaultPutExpiration":60},"redisConfiguration":{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5},"nativePersistenceConfiguration":{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}}
Then status 200 0.000
And print response 0.000
10:41:25.934 [print] {
  "cacheProviderType": "NATIVE_PERSISTENCE",
  "nativePersistenceConfiguration": {
    "deleteExpiredOnGetRequest": false,
    "defaultCleanupBatchSize": 10000,
    "defaultPutExpiration": 60
  },
  "inMemoryConfiguration": {
    "defaultPutExpiration": 60
  },
  "redisConfiguration": {
    "servers": "localhost:6379",
    "maxTotalConnections": 500,
    "redisProviderType": "STANDALONE",
    "maxIdleConnections": 10,
    "connectionTimeout": 3000,
    "soTimeout": 3000,
    "defaultPutExpiration": 60,
    "useSSL": false,
    "maxRetryAttempts": 5
  },
  "memcachedConfiguration": {
    "connectionFactoryType": "DEFAULT",
    "servers": "localhost:11211",
    "maxOperationQueueLength": 100000,
    "bufferSize": 32768,
    "defaultPutExpiration": 60
  }
}
0.000
* def mainUrl = cacheUrl 0.000
10:41:25.178 could not find or read file: classpath:karate-base.js
10:41:25.178 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:25.260 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
Tags: @cache-patch
0.768
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.005
When method GET 0.402
10:41:25.272 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:25.673 response time in milliseconds: 399.96
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 625
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:25 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"cacheProviderType":"NATIVE_PERSISTENCE","memcachedConfiguration":{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"},"inMemoryConfiguration":{"defaultPutExpiration":60},"redisConfiguration":{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5},"nativePersistenceConfiguration":{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}}
Then status 200 0.000
And print response 0.000
10:41:25.674 [print] {
  "cacheProviderType": "NATIVE_PERSISTENCE",
  "nativePersistenceConfiguration": {
    "deleteExpiredOnGetRequest": false,
    "defaultCleanupBatchSize": 10000,
    "defaultPutExpiration": 60
  },
  "inMemoryConfiguration": {
    "defaultPutExpiration": 60
  },
  "redisConfiguration": {
    "servers": "localhost:6379",
    "maxTotalConnections": 500,
    "redisProviderType": "STANDALONE",
    "maxIdleConnections": 10,
    "connectionTimeout": 3000,
    "soTimeout": 3000,
    "defaultPutExpiration": 60,
    "useSSL": false,
    "maxRetryAttempts": 5
  },
  "memcachedConfiguration": {
    "connectionFactoryType": "DEFAULT",
    "servers": "localhost:11211",
    "maxOperationQueueLength": 100000,
    "bufferSize": 32768,
    "defaultPutExpiration": 60
  }
}
And assert response.length != null 0.000
And print response.nativePersistenceConfiguration 0.005
10:41:25.680 [print] {
  "deleteExpiredOnGetRequest": false,
  "defaultCleanupBatchSize": 10000,
  "defaultPutExpiration": 60
}
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And header Content-Type = 'application/json-patch+json' 0.000
And header Accept = 'application/json' 0.000
And request "[ {\"op\":\"replace\", \"path\": \"/nativePersistenceConfiguration\", \"value\":"+response.nativePersistenceConfiguration+" } ]" 0.005
Then print request 0.000
10:41:25.689 [print]
When method PATCH 0.344
10:41:25.691 request:
2 > PATCH https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache
2 > Accept: application/json
2 > Accept-Encoding: gzip,deflate
2 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
2 > Connection: Keep-Alive
2 > Content-Length: 167
2 > Content-Type: application/json-patch+json; charset=UTF-8
2 > Host: jenkins-config-api.gluu.org
2 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)
[ {"op":"replace", "path": "/nativePersistenceConfiguration", "value":{"deleteExpiredOnGetRequest":false,"defaultCleanupBatchSize":10000,"defaultPutExpiration":60} } ]

10:41:26.033 response time in milliseconds: 341.42
2 < 200
2 < Connection: Keep-Alive
2 < Content-Length: 625
2 < Content-Type: application/json
2 < Date: Wed, 14 Oct 2020 10:41:25 GMT
2 < Keep-Alive: timeout=5, max=100
2 < Server: Apache/2.4.29 (Ubuntu)
2 < Strict-Transport-Security: max-age=31536000; includeSubDomains
2 < X-Content-Type-Options: nosniff
2 < X-Xss-Protection: 1; mode=block
{"cacheProviderType":"NATIVE_PERSISTENCE","memcachedConfiguration":{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"},"inMemoryConfiguration":{"defaultPutExpiration":60},"redisConfiguration":{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5},"nativePersistenceConfiguration":{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}}
Then status 200 0.000
And print response 0.000
10:41:26.035 [print] {
  "cacheProviderType": "NATIVE_PERSISTENCE",
  "nativePersistenceConfiguration": {
    "deleteExpiredOnGetRequest": false,
    "defaultCleanupBatchSize": 10000,
    "defaultPutExpiration": 60
  },
  "inMemoryConfiguration": {
    "defaultPutExpiration": 60
  },
  "redisConfiguration": {
    "servers": "localhost:6379",
    "maxTotalConnections": 500,
    "redisProviderType": "STANDALONE",
    "maxIdleConnections": 10,
    "connectionTimeout": 3000,
    "soTimeout": 3000,
    "defaultPutExpiration": 60,
    "useSSL": false,
    "maxRetryAttempts": 5
  },
  "memcachedConfiguration": {
    "connectionFactoryType": "DEFAULT",
    "servers": "localhost:11211",
    "maxOperationQueueLength": 100000,
    "bufferSize": 32768,
    "defaultPutExpiration": 60
  }
}
0.000
* def mainUrl = cacheUrl 0.000
10:41:25.939 could not find or read file: classpath:karate-base.js
10:41:25.939 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:25.953 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
Tags: @cache-patch
0.801
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
When method GET 0.439
10:41:25.957 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:26.393 response time in milliseconds: 435.62
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 625
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:26 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"cacheProviderType":"NATIVE_PERSISTENCE","memcachedConfiguration":{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"},"inMemoryConfiguration":{"defaultPutExpiration":60},"redisConfiguration":{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5},"nativePersistenceConfiguration":{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}}
Then status 200 0.000
And print response 0.000
10:41:26.394 [print] {
  "cacheProviderType": "NATIVE_PERSISTENCE",
  "nativePersistenceConfiguration": {
    "deleteExpiredOnGetRequest": false,
    "defaultCleanupBatchSize": 10000,
    "defaultPutExpiration": 60
  },
  "inMemoryConfiguration": {
    "defaultPutExpiration": 60
  },
  "redisConfiguration": {
    "servers": "localhost:6379",
    "maxTotalConnections": 500,
    "redisProviderType": "STANDALONE",
    "maxIdleConnections": 10,
    "connectionTimeout": 3000,
    "soTimeout": 3000,
    "defaultPutExpiration": 60,
    "useSSL": false,
    "maxRetryAttempts": 5
  },
  "memcachedConfiguration": {
    "connectionFactoryType": "DEFAULT",
    "servers": "localhost:11211",
    "maxOperationQueueLength": 100000,
    "bufferSize": 32768,
    "defaultPutExpiration": 60
  }
}
And assert response.length != null 0.000
And print response.inMemoryConfiguration 0.006
10:41:26.402 [print] {
  "defaultPutExpiration": 60
}
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And header Content-Type = 'application/json-patch+json' 0.000
And header Accept = 'application/json' 0.000
And request "[ {\"op\":\"replace\", \"path\": \"/inMemoryConfiguration\", \"value\":"+response.inMemoryConfiguration+" } ]" 0.007
Then print request 0.001
10:41:26.413 [print]
When method PATCH 0.342
10:41:26.417 request:
2 > PATCH https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache
2 > Accept: application/json
2 > Accept-Encoding: gzip,deflate
2 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
2 > Connection: Keep-Alive
2 > Content-Length: 92
2 > Content-Type: application/json-patch+json; charset=UTF-8
2 > Host: jenkins-config-api.gluu.org
2 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)
[ {"op":"replace", "path": "/inMemoryConfiguration", "value":{"defaultPutExpiration":60} } ]

10:41:26.756 response time in milliseconds: 338.31
2 < 200
2 < Connection: Keep-Alive
2 < Content-Length: 625
2 < Content-Type: application/json
2 < Date: Wed, 14 Oct 2020 10:41:26 GMT
2 < Keep-Alive: timeout=5, max=100
2 < Server: Apache/2.4.29 (Ubuntu)
2 < Strict-Transport-Security: max-age=31536000; includeSubDomains
2 < X-Content-Type-Options: nosniff
2 < X-Xss-Protection: 1; mode=block
{"cacheProviderType":"NATIVE_PERSISTENCE","memcachedConfiguration":{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"},"inMemoryConfiguration":{"defaultPutExpiration":60},"redisConfiguration":{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5},"nativePersistenceConfiguration":{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}}
Then status 200 0.000
And print response 0.000
10:41:26.757 [print] {
  "cacheProviderType": "NATIVE_PERSISTENCE",
  "nativePersistenceConfiguration": {
    "deleteExpiredOnGetRequest": false,
    "defaultCleanupBatchSize": 10000,
    "defaultPutExpiration": 60
  },
  "inMemoryConfiguration": {
    "defaultPutExpiration": 60
  },
  "redisConfiguration": {
    "servers": "localhost:6379",
    "maxTotalConnections": 500,
    "redisProviderType": "STANDALONE",
    "maxIdleConnections": 10,
    "connectionTimeout": 3000,
    "soTimeout": 3000,
    "defaultPutExpiration": 60,
    "useSSL": false,
    "maxRetryAttempts": 5
  },
  "memcachedConfiguration": {
    "connectionFactoryType": "DEFAULT",
    "servers": "localhost:11211",
    "maxOperationQueueLength": 100000,
    "bufferSize": 32768,
    "defaultPutExpiration": 60
  }
}
0.000
* def mainUrl = cacheUrl 0.000
10:41:26.041 could not find or read file: classpath:karate-base.js
10:41:26.042 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:26.063 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
Tags: @cache-patch
0.704
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
When method GET 0.337
10:41:26.066 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:26.401 response time in milliseconds: 334.13
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 625
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:26 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"cacheProviderType":"NATIVE_PERSISTENCE","memcachedConfiguration":{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"},"inMemoryConfiguration":{"defaultPutExpiration":60},"redisConfiguration":{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5},"nativePersistenceConfiguration":{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}}
Then status 200 0.000
And print response 0.000
10:41:26.403 [print] {
  "cacheProviderType": "NATIVE_PERSISTENCE",
  "nativePersistenceConfiguration": {
    "deleteExpiredOnGetRequest": false,
    "defaultCleanupBatchSize": 10000,
    "defaultPutExpiration": 60
  },
  "inMemoryConfiguration": {
    "defaultPutExpiration": 60
  },
  "redisConfiguration": {
    "servers": "localhost:6379",
    "maxTotalConnections": 500,
    "redisProviderType": "STANDALONE",
    "maxIdleConnections": 10,
    "connectionTimeout": 3000,
    "soTimeout": 3000,
    "defaultPutExpiration": 60,
    "useSSL": false,
    "maxRetryAttempts": 5
  },
  "memcachedConfiguration": {
    "connectionFactoryType": "DEFAULT",
    "servers": "localhost:11211",
    "maxOperationQueueLength": 100000,
    "bufferSize": 32768,
    "defaultPutExpiration": 60
  }
}
And assert response.length != null 0.001
And print response.redisConfiguration 0.008
10:41:26.412 [print] {
  "servers": "localhost:6379",
  "maxTotalConnections": 500,
  "redisProviderType": "STANDALONE",
  "maxIdleConnections": 10,
  "connectionTimeout": 3000,
  "soTimeout": 3000,
  "defaultPutExpiration": 60,
  "useSSL": false,
  "maxRetryAttempts": 5
}
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And header Content-Type = 'application/json-patch+json' 0.000
And header Accept = 'application/json' 0.000
And request "[ {\"op\":\"replace\", \"path\": \"/redisConfiguration\", \"value\":"+response.redisConfiguration+" } ]" 0.007
Then print request 0.001
10:41:26.422 [print]
When method PATCH 0.347
10:41:26.425 request:
2 > PATCH https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache
2 > Accept: application/json
2 > Accept-Encoding: gzip,deflate
2 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
2 > Connection: Keep-Alive
2 > Content-Length: 277
2 > Content-Type: application/json-patch+json; charset=UTF-8
2 > Host: jenkins-config-api.gluu.org
2 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)
[ {"op":"replace", "path": "/redisConfiguration", "value":{"servers":"localhost:6379","maxTotalConnections":500,"redisProviderType":"STANDALONE","maxIdleConnections":10,"connectionTimeout":3000,"soTimeout":3000,"defaultPutExpiration":60,"useSSL":false,"maxRetryAttempts":5} } ]

10:41:26.769 response time in milliseconds: 343.09
2 < 200
2 < Connection: Keep-Alive
2 < Content-Length: 625
2 < Content-Type: application/json
2 < Date: Wed, 14 Oct 2020 10:41:26 GMT
2 < Keep-Alive: timeout=5, max=100
2 < Server: Apache/2.4.29 (Ubuntu)
2 < Strict-Transport-Security: max-age=31536000; includeSubDomains
2 < X-Content-Type-Options: nosniff
2 < X-Xss-Protection: 1; mode=block
{"cacheProviderType":"NATIVE_PERSISTENCE","memcachedConfiguration":{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"},"inMemoryConfiguration":{"defaultPutExpiration":60},"redisConfiguration":{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5},"nativePersistenceConfiguration":{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}}
Then status 200 0.000
And print response 0.000
10:41:26.770 [print] {
  "cacheProviderType": "NATIVE_PERSISTENCE",
  "nativePersistenceConfiguration": {
    "deleteExpiredOnGetRequest": false,
    "defaultCleanupBatchSize": 10000,
    "defaultPutExpiration": 60
  },
  "inMemoryConfiguration": {
    "defaultPutExpiration": 60
  },
  "redisConfiguration": {
    "servers": "localhost:6379",
    "maxTotalConnections": 500,
    "redisProviderType": "STANDALONE",
    "maxIdleConnections": 10,
    "connectionTimeout": 3000,
    "soTimeout": 3000,
    "defaultPutExpiration": 60,
    "useSSL": false,
    "maxRetryAttempts": 5
  },
  "memcachedConfiguration": {
    "connectionFactoryType": "DEFAULT",
    "servers": "localhost:11211",
    "maxOperationQueueLength": 100000,
    "bufferSize": 32768,
    "defaultPutExpiration": 60
  }
}
0.000
* def mainUrl = cacheUrl 0.000
10:41:26.763 could not find or read file: classpath:karate-base.js
10:41:26.763 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:26.774 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
Tags: @cache-patch
0.665
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
When method GET 0.324
10:41:26.777 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:27.100 response time in milliseconds: 322.23
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 625
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:27 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"cacheProviderType":"NATIVE_PERSISTENCE","memcachedConfiguration":{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"},"inMemoryConfiguration":{"defaultPutExpiration":60},"redisConfiguration":{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5},"nativePersistenceConfiguration":{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}}
Then status 200 0.000
And print response 0.000
10:41:27.101 [print] {
  "cacheProviderType": "NATIVE_PERSISTENCE",
  "nativePersistenceConfiguration": {
    "deleteExpiredOnGetRequest": false,
    "defaultCleanupBatchSize": 10000,
    "defaultPutExpiration": 60
  },
  "inMemoryConfiguration": {
    "defaultPutExpiration": 60
  },
  "redisConfiguration": {
    "servers": "localhost:6379",
    "maxTotalConnections": 500,
    "redisProviderType": "STANDALONE",
    "maxIdleConnections": 10,
    "connectionTimeout": 3000,
    "soTimeout": 3000,
    "defaultPutExpiration": 60,
    "useSSL": false,
    "maxRetryAttempts": 5
  },
  "memcachedConfiguration": {
    "connectionFactoryType": "DEFAULT",
    "servers": "localhost:11211",
    "maxOperationQueueLength": 100000,
    "bufferSize": 32768,
    "defaultPutExpiration": 60
  }
}
And assert response.length != null 0.000
And print response.redisConfiguration 0.000
10:41:27.102 [print] {
  "servers": "localhost:6379",
  "maxTotalConnections": 500,
  "redisProviderType": "STANDALONE",
  "maxIdleConnections": 10,
  "connectionTimeout": 3000,
  "soTimeout": 3000,
  "defaultPutExpiration": 60,
  "useSSL": false,
  "maxRetryAttempts": 5
}
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And header Content-Type = 'application/json-patch+json' 0.000
And header Accept = 'application/json' 0.000
And request "[ {\"op\":\"replace\", \"path\": \"/memcachedConfiguration\", \"value\":"+response.memcachedConfiguration+" } ]" 0.005
Then print request 0.001
10:41:27.109 [print]
When method PATCH 0.331
10:41:27.112 request:
2 > PATCH https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache
2 > Accept: application/json
2 > Accept-Encoding: gzip,deflate
2 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
2 > Connection: Keep-Alive
2 > Content-Length: 207
2 > Content-Type: application/json-patch+json; charset=UTF-8
2 > Host: jenkins-config-api.gluu.org
2 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)
[ {"op":"replace", "path": "/memcachedConfiguration", "value":{"connectionFactoryType":"DEFAULT","servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60} } ]

10:41:27.440 response time in milliseconds: 327.52
2 < 200
2 < Connection: Keep-Alive
2 < Content-Length: 625
2 < Content-Type: application/json
2 < Date: Wed, 14 Oct 2020 10:41:27 GMT
2 < Keep-Alive: timeout=5, max=100
2 < Server: Apache/2.4.29 (Ubuntu)
2 < Strict-Transport-Security: max-age=31536000; includeSubDomains
2 < X-Content-Type-Options: nosniff
2 < X-Xss-Protection: 1; mode=block
{"cacheProviderType":"NATIVE_PERSISTENCE","memcachedConfiguration":{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"},"inMemoryConfiguration":{"defaultPutExpiration":60},"redisConfiguration":{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5},"nativePersistenceConfiguration":{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}}
Then status 200 0.000
And print response 0.000
10:41:27.442 [print] {
  "cacheProviderType": "NATIVE_PERSISTENCE",
  "nativePersistenceConfiguration": {
    "deleteExpiredOnGetRequest": false,
    "defaultCleanupBatchSize": 10000,
    "defaultPutExpiration": 60
  },
  "inMemoryConfiguration": {
    "defaultPutExpiration": 60
  },
  "redisConfiguration": {
    "servers": "localhost:6379",
    "maxTotalConnections": 500,
    "redisProviderType": "STANDALONE",
    "maxIdleConnections": 10,
    "connectionTimeout": 3000,
    "soTimeout": 3000,
    "defaultPutExpiration": 60,
    "useSSL": false,
    "maxRetryAttempts": 5
  },
  "memcachedConfiguration": {
    "connectionFactoryType": "DEFAULT",
    "servers": "localhost:11211",
    "maxOperationQueueLength": 100000,
    "bufferSize": 32768,
    "defaultPutExpiration": 60
  }
}
0.000
* def mainUrl = cacheUrl 0.000
10:41:26.778 could not find or read file: classpath:karate-base.js
10:41:26.778 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:26.789 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
0.308
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'redis' 0.003
When method GET 0.303
10:41:26.795 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/redis
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:27.096 response time in milliseconds: 300.65
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 215
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:27 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5}
Then status 200 0.000
And print response 0.000
10:41:27.097 [print] {
  "servers": "localhost:6379",
  "maxTotalConnections": 500,
  "redisProviderType": "STANDALONE",
  "maxIdleConnections": 10,
  "connectionTimeout": 3000,
  "soTimeout": 3000,
  "defaultPutExpiration": 60,
  "useSSL": false,
  "maxRetryAttempts": 5
}
And assert response.length != null 0.001
0.000
* def mainUrl = cacheUrl 0.000
10:41:27.104 could not find or read file: classpath:karate-base.js
10:41:27.105 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:27.114 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
0.606
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'redis' 0.000
When method GET 0.299
10:41:27.117 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/redis
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:27.414 response time in milliseconds: 296.15
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 215
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:27 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5}
Then status 200 0.000
Then print response 0.001
10:41:27.417 [print] {
  "servers": "localhost:6379",
  "maxTotalConnections": 500,
  "redisProviderType": "STANDALONE",
  "maxIdleConnections": 10,
  "connectionTimeout": 3000,
  "soTimeout": 3000,
  "defaultPutExpiration": 60,
  "useSSL": false,
  "maxRetryAttempts": 5
}
Then def first_response = response 0.000
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'redis' 0.000
And request first_response 0.000
When method PUT 0.303
10:41:27.420 request:
2 > PUT https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/redis
2 > Accept-Encoding: gzip,deflate
2 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
2 > Connection: Keep-Alive
2 > Content-Length: 215
2 > Content-Type: application/json; charset=UTF-8
2 > Host: jenkins-config-api.gluu.org
2 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)
{"servers":"localhost:6379","maxTotalConnections":500,"redisProviderType":"STANDALONE","maxIdleConnections":10,"connectionTimeout":3000,"soTimeout":3000,"defaultPutExpiration":60,"useSSL":false,"maxRetryAttempts":5}

10:41:27.721 response time in milliseconds: 300.23
2 < 200
2 < Connection: Keep-Alive
2 < Content-Length: 215
2 < Content-Type: application/json
2 < Date: Wed, 14 Oct 2020 10:41:27 GMT
2 < Keep-Alive: timeout=5, max=100
2 < Server: Apache/2.4.29 (Ubuntu)
2 < Strict-Transport-Security: max-age=31536000; includeSubDomains
2 < X-Content-Type-Options: nosniff
2 < X-Xss-Protection: 1; mode=block
{"redisProviderType":"STANDALONE","servers":"localhost:6379","defaultPutExpiration":60,"useSSL":false,"maxIdleConnections":10,"maxTotalConnections":500,"connectionTimeout":3000,"soTimeout":3000,"maxRetryAttempts":5}
Then status 200 0.000
And print response 0.000
10:41:27.722 [print] {
  "servers": "localhost:6379",
  "maxTotalConnections": 500,
  "redisProviderType": "STANDALONE",
  "maxIdleConnections": 10,
  "connectionTimeout": 3000,
  "soTimeout": 3000,
  "defaultPutExpiration": 60,
  "useSSL": false,
  "maxRetryAttempts": 5
}
And assert response.length != null 0.000
0.000
* def mainUrl = cacheUrl 0.000
10:41:27.353 could not find or read file: classpath:karate-base.js
10:41:27.353 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:27.377 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
0.298
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'in-memory' 0.004
When method GET 0.292
10:41:27.387 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/in-memory
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:27.676 response time in milliseconds: 288.79
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 27
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:27 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"defaultPutExpiration":60}
Then status 200 0.000
And print response 0.000
10:41:27.677 [print] {
  "defaultPutExpiration": 60
}
And assert response.length != null 0.000
0.000
* def mainUrl = cacheUrl 0.000
10:41:27.451 could not find or read file: classpath:karate-base.js
10:41:27.451 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:27.461 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
0.583
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'in-memory' 0.000
When method GET 0.289
10:41:27.464 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/in-memory
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:27.752 response time in milliseconds: 286.68
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 27
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:27 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"defaultPutExpiration":60}
Then status 200 0.000
Then print response 0.000
10:41:27.753 [print] {
  "defaultPutExpiration": 60
}
Then def first_response = response 0.000
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'in-memory' 0.000
And request first_response 0.000
When method PUT 0.291
10:41:27.757 request:
2 > PUT https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/in-memory
2 > Accept-Encoding: gzip,deflate
2 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
2 > Connection: Keep-Alive
2 > Content-Length: 27
2 > Content-Type: application/json; charset=UTF-8
2 > Host: jenkins-config-api.gluu.org
2 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)
{"defaultPutExpiration":60}

10:41:28.045 response time in milliseconds: 287.52
2 < 200
2 < Connection: Keep-Alive
2 < Content-Length: 27
2 < Content-Type: application/json
2 < Date: Wed, 14 Oct 2020 10:41:27 GMT
2 < Keep-Alive: timeout=5, max=100
2 < Server: Apache/2.4.29 (Ubuntu)
2 < Strict-Transport-Security: max-age=31536000; includeSubDomains
2 < X-Content-Type-Options: nosniff
2 < X-Xss-Protection: 1; mode=block
{"defaultPutExpiration":60}
Then status 200 0.000
And print response 0.000
10:41:28.046 [print] {
  "defaultPutExpiration": 60
}
And assert response.length != null 0.000
0.000
* def mainUrl = cacheUrl 0.000
10:41:27.685 could not find or read file: classpath:karate-base.js
10:41:27.685 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:27.699 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
0.293
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'native-persistence' 0.005
When method GET 0.287
10:41:27.708 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/native-persistence
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:27.992 response time in milliseconds: 283.41
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 93
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:27 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}
Then status 200 0.000
And print response 0.000
10:41:27.993 [print] {
  "deleteExpiredOnGetRequest": false,
  "defaultCleanupBatchSize": 10000,
  "defaultPutExpiration": 60
}
And assert response.length != null 0.000
0.000
* def mainUrl = cacheUrl 0.000
10:41:27.727 could not find or read file: classpath:karate-base.js
10:41:27.727 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:27.736 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
0.580
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'native-persistence' 0.000
When method GET 0.284
10:41:27.740 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/native-persistence
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:28.021 response time in milliseconds: 280.53
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 93
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:27 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}
Then status 200 0.000
Then print response 0.000
10:41:28.022 [print] {
  "deleteExpiredOnGetRequest": false,
  "defaultCleanupBatchSize": 10000,
  "defaultPutExpiration": 60
}
Then def first_response = response 0.000
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'native-persistence' 0.000
And request first_response 0.000
When method PUT 0.294
10:41:28.025 request:
2 > PUT https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/native-persistence
2 > Accept-Encoding: gzip,deflate
2 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
2 > Connection: Keep-Alive
2 > Content-Length: 93
2 > Content-Type: application/json; charset=UTF-8
2 > Host: jenkins-config-api.gluu.org
2 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)
{"deleteExpiredOnGetRequest":false,"defaultCleanupBatchSize":10000,"defaultPutExpiration":60}

10:41:28.317 response time in milliseconds: 291.46
2 < 200
2 < Connection: Keep-Alive
2 < Content-Length: 93
2 < Content-Type: application/json
2 < Date: Wed, 14 Oct 2020 10:41:28 GMT
2 < Keep-Alive: timeout=5, max=100
2 < Server: Apache/2.4.29 (Ubuntu)
2 < Strict-Transport-Security: max-age=31536000; includeSubDomains
2 < X-Content-Type-Options: nosniff
2 < X-Xss-Protection: 1; mode=block
{"defaultPutExpiration":60,"defaultCleanupBatchSize":10000,"deleteExpiredOnGetRequest":false}
Then status 200 0.000
And print response 0.000
10:41:28.317 [print] {
  "deleteExpiredOnGetRequest": false,
  "defaultCleanupBatchSize": 10000,
  "defaultPutExpiration": 60
}
And assert response.length != null 0.000
0.000
* def mainUrl = cacheUrl 0.000
10:41:27.998 could not find or read file: classpath:karate-base.js
10:41:27.999 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:28.008 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
0.304
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'memcached' 0.004
When method GET 0.298
10:41:28.016 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/memcached
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:28.312 response time in milliseconds: 295.39
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 141
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:28 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"}
Then status 200 0.000
And print response 0.000
10:41:28.313 [print] {
  "connectionFactoryType": "DEFAULT",
  "servers": "localhost:11211",
  "maxOperationQueueLength": 100000,
  "bufferSize": 32768,
  "defaultPutExpiration": 60
}
And assert response.length != null 0.000
0.000
* def mainUrl = cacheUrl 0.000
10:41:28.051 could not find or read file: classpath:karate-base.js
10:41:28.051 skipping 'classpath:karate-base.js': could not find or read file: classpath:karate-base.js
10:41:28.060 karate context init - initial properties: {scopes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/scopes], acrsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/acrs], cacheUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache], scriptsUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/scripts], authConfigurationUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/oxauth], env=[type: STRING, value: dev], accessToken=[type: STRING, value: c8dd2445-4734-4119-8dd1-4dbe91976202], healthUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/health], attributes_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/attributes], smtp_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/smtp], baseUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api], openidsectors_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/sectoridentifiers], fido2Url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/fido2/config], ldapUrl=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/database/ldap], umaresources_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/uma/resources], openidclients_url=[type: STRING, value: https://jenkins-config-api.gluu.org/jans-config-api/api/v1/openid/clients]}
0.588
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'memcached' 0.000
When method GET 0.287
10:41:28.063 request:
1 > GET https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/memcached
1 > Accept-Encoding: gzip,deflate
1 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
1 > Connection: Keep-Alive
1 > Host: jenkins-config-api.gluu.org
1 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)

10:41:28.348 response time in milliseconds: 284.74
1 < 200
1 < Connection: Keep-Alive
1 < Content-Length: 141
1 < Content-Type: application/json
1 < Date: Wed, 14 Oct 2020 10:41:28 GMT
1 < Keep-Alive: timeout=5, max=100
1 < Server: Apache/2.4.29 (Ubuntu)
1 < Strict-Transport-Security: max-age=31536000; includeSubDomains
1 < X-Content-Type-Options: nosniff
1 < X-Xss-Protection: 1; mode=block
{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"}
Then status 200 0.000
Then print response 0.000
10:41:28.349 [print] {
  "connectionFactoryType": "DEFAULT",
  "servers": "localhost:11211",
  "maxOperationQueueLength": 100000,
  "bufferSize": 32768,
  "defaultPutExpiration": 60
}
Then def first_response = response 0.000
Given url mainUrl 0.000
And header Authorization = 'Bearer ' + accessToken 0.000
And path 'memcached' 0.000
And request first_response 0.000
When method PUT 0.298
10:41:28.353 request:
2 > PUT https://jenkins-config-api.gluu.org/jans-config-api/api/v1/config/cache/memcached
2 > Accept-Encoding: gzip,deflate
2 > Authorization: Bearer c8dd2445-4734-4119-8dd1-4dbe91976202
2 > Connection: Keep-Alive
2 > Content-Length: 141
2 > Content-Type: application/json; charset=UTF-8
2 > Host: jenkins-config-api.gluu.org
2 > User-Agent: Apache-HttpClient/4.5.12 (Java/11.0.7)
{"connectionFactoryType":"DEFAULT","servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60}

10:41:28.649 response time in milliseconds: 295.06
2 < 200
2 < Connection: Keep-Alive
2 < Content-Length: 141
2 < Content-Type: application/json
2 < Date: Wed, 14 Oct 2020 10:41:28 GMT
2 < Keep-Alive: timeout=5, max=100
2 < Server: Apache/2.4.29 (Ubuntu)
2 < Strict-Transport-Security: max-age=31536000; includeSubDomains
2 < X-Content-Type-Options: nosniff
2 < X-Xss-Protection: 1; mode=block
{"servers":"localhost:11211","maxOperationQueueLength":100000,"bufferSize":32768,"defaultPutExpiration":60,"connectionFactoryType":"DEFAULT"}
Then status 200 0.000
And print response 0.000
10:41:28.650 [print] {
  "connectionFactoryType": "DEFAULT",
  "servers": "localhost:11211",
  "maxOperationQueueLength": 100000,
  "bufferSize": 32768,
  "defaultPutExpiration": 60
}
And assert response.length != null 0.000