Project Number Date
_jans-config-api_master 39 14 Oct 2020, 10:41

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@cache-patch 80 0 0 0 0 80 5 0 5 5.381 Passed
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
  }
}
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
  }
}
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
  }
}
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
  }
}
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
  }
}