Test duration : 44.716s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.544s |
2022-07-06 22:33:08 |
2022-07-06 22:33:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-06 22:33:08 | ------------------------------------ 2022-07-06 22:33:08 | [Mutex] isItemNotified: node_9yprtf0204:exists :: false 2022-07-06 22:33:08 | [Mutex] waiting for: [node_9yprtf0204:create_node] 2022-07-06 22:33:08 | [Mutex] received everything. 2022-07-06 22:33:08 | [Mutex] isItemNotified: node_9yprtf0204:create_node:success :: true 2022-07-06 22:33:08 | [Mutex] waiting for: [node_9yprtf0204:subscribe_node] 2022-07-06 22:33:08 | [Mutex] received everything. 2022-07-06 22:33:08 | [Mutex] isItemNotified: node_9yprtf0204:subscribe_node:success :: true 2022-07-06 22:33:08 | ===== publishing normal message (to online) 2022-07-06 22:33:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-06 22:33:08 | command: <data><node>node_9yprtf0204</node><entry><content>content_uw11wl0205</content></entry></data> 2022-07-06 22:33:08 | target: http://localhost:8088 2022-07-06 22:33:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-06 22:33:08 | entity: <data><node>node_9yprtf0204</node><entry><content>content_uw11wl0205</content></entry></data> 2022-07-06 22:33:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:33:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-06 22:33:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7541af57-4968-4c40-9943-9d2689743da3</value></item-id></result> 2022-07-06 22:33:08 | contains: true 2022-07-06 22:33:08 | [Mutex] received everything. 2022-07-06 22:33:08 | [Mutex] isItemNotified: user_regularewrirf0203@test-domain.com:message:received:content_uw11wl0205 :: true 2022-07-06 22:33:08 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-06 22:33:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-06 22:33:08 | command: <data><node>node_9yprtf0204</node><expire-at>2022-07-07T05:33:03Z</expire-at><entry><content>content_23cqv60206</content></entry></data> 2022-07-06 22:33:08 | target: http://localhost:8088 2022-07-06 22:33:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-06 22:33:08 | entity: <data><node>node_9yprtf0204</node><expire-at>2022-07-07T05:33:03Z</expire-at><entry><content>content_23cqv60206</content></entry></data> 2022-07-06 22:33:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:33:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-06 22:33:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dabebd21-0a78-4180-b9c4-255a00417ba5</value></item-id></result> 2022-07-06 22:33:08 | contains: true 2022-07-06 22:33:08 | [Mutex] waiting for: [user_regularewrirf0203@test-domain.com:message:received:content_23cqv60206] 2022-07-06 22:33:23 | [Mutex] timeout. Not received [user_regularewrirf0203@test-domain.com:message:received:content_23cqv60206] 2022-07-06 22:33:23 | [Mutex] isItemNotified: user_regularewrirf0203@test-domain.com:message:received:content_23cqv60206 :: false 2022-07-06 22:33:23 | ===== publishing normal message (to offline) 2022-07-06 22:33:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-06 22:33:23 | command: <data><node>node_9yprtf0204</node><entry><content>content_txhoe0207</content></entry></data> 2022-07-06 22:33:23 | target: http://localhost:8088 2022-07-06 22:33:23 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-07-06 22:33:23 | entity: <data><node>node_9yprtf0204</node><entry><content>content_txhoe0207</content></entry></data> 2022-07-06 22:33:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:33:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-06 22:33:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c7ea7ab-cb58-4233-9713-1ccfe70da5d4</value></item-id></result> 2022-07-06 22:33:23 | contains: true 2022-07-06 22:33:28 | [Mutex] waiting for: [user_regularewrirf0203@test-domain.com:message:received:content_txhoe0207] 2022-07-06 22:33:28 | [Mutex] waiting for: [user_regularewrirf0203@test-domain.com:message:received:content_txhoe0207] 2022-07-06 22:33:28 | [Mutex] received everything. 2022-07-06 22:33:28 | [Mutex] isItemNotified: user_regularewrirf0203@test-domain.com:message:received:content_txhoe0207 :: true 2022-07-06 22:33:28 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-06 22:33:28 | [Mutex] received everything. 2022-07-06 22:33:28 | [Mutex] isItemNotified: node_9yprtf0204:subscribe_node:success :: true 2022-07-06 22:33:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-06 22:33:28 | command: <data><node>node_9yprtf0204</node><expire-at>2022-07-07T05:33:33Z</expire-at><entry><content>content_3euled0208</content></entry></data> 2022-07-06 22:33:28 | target: http://localhost:8088 2022-07-06 22:33:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-06 22:33:28 | entity: <data><node>node_9yprtf0204</node><expire-at>2022-07-07T05:33:33Z</expire-at><entry><content>content_3euled0208</content></entry></data> 2022-07-06 22:33:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Jul 2022 05:33:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-06 22:33:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cd43c8fc-a280-4717-8388-320bd2268753</value></item-id></result> 2022-07-06 22:33:28 | contains: true 2022-07-06 22:33:36 | [Mutex] waiting for: [user_regularewrirf0203@test-domain.com:message:received:content_3euled0208] 2022-07-06 22:33:51 | [Mutex] timeout. Not received [user_regularewrirf0203@test-domain.com:message:received:content_3euled0208] 2022-07-06 22:33:51 | [Mutex] received everything. 2022-07-06 22:33:51 | [Mutex] isItemNotified: user_regularewrirf0203@test-domain.com:message:received:content_3euled0208 :: false 2022-07-06 22:33:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3euled0208 :: true |