Test duration : 45.083s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.707s |
2021-05-05 23:00:10 |
2021-05-05 23:00:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-05 23:00:10 | ------------------------------------ 2021-05-05 23:00:10 | [Mutex] isItemNotified: node_3t5ju50203:exists :: false 2021-05-05 23:00:10 | [Mutex] waiting for: [node_3t5ju50203:create_node] 2021-05-05 23:00:10 | [Mutex] received everything. 2021-05-05 23:00:10 | [Mutex] isItemNotified: node_3t5ju50203:create_node:success :: true 2021-05-05 23:00:10 | [Mutex] waiting for: [node_3t5ju50203:subscribe_node] 2021-05-05 23:00:10 | [Mutex] received everything. 2021-05-05 23:00:10 | [Mutex] isItemNotified: node_3t5ju50203:subscribe_node:success :: true 2021-05-05 23:00:10 | ===== publishing normal message (to online) 2021-05-05 23:00:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 23:00:10 | command: <data><node>node_3t5ju50203</node><entry><content>content_ige2lb0204</content></entry></data> 2021-05-05 23:00:10 | target: http://localhost:8088 2021-05-05 23:00:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-05 23:00:10 | entity: <data><node>node_3t5ju50203</node><entry><content>content_ige2lb0204</content></entry></data> 2021-05-05 23:00:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 06:00:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 23:00:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e4081f94-8c33-4839-a739-2e3634e5305a</value></item-id></result> 2021-05-05 23:00:10 | contains: true 2021-05-05 23:00:10 | [Mutex] waiting for: [user_regular4tf08t0202@test-domain.com:message:received:content_ige2lb0204] 2021-05-05 23:00:10 | [Mutex] received everything. 2021-05-05 23:00:10 | [Mutex] isItemNotified: user_regular4tf08t0202@test-domain.com:message:received:content_ige2lb0204 :: true 2021-05-05 23:00:10 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-05 23:00:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 23:00:10 | command: <data><node>node_3t5ju50203</node><expire-at>2021-05-06T06:00:05Z</expire-at><entry><content>content_472eed0205</content></entry></data> 2021-05-05 23:00:10 | target: http://localhost:8088 2021-05-05 23:00:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-05 23:00:10 | entity: <data><node>node_3t5ju50203</node><expire-at>2021-05-06T06:00:05Z</expire-at><entry><content>content_472eed0205</content></entry></data> 2021-05-05 23:00:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 06:00:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 23:00:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>97be030c-e207-4b79-b5f8-d20fc24aa883</value></item-id></result> 2021-05-05 23:00:10 | contains: true 2021-05-05 23:00:10 | [Mutex] waiting for: [user_regular4tf08t0202@test-domain.com:message:received:content_472eed0205] 2021-05-05 23:00:25 | [Mutex] timeout. Not received [user_regular4tf08t0202@test-domain.com:message:received:content_472eed0205] 2021-05-05 23:00:25 | [Mutex] isItemNotified: user_regular4tf08t0202@test-domain.com:message:received:content_472eed0205 :: false 2021-05-05 23:00:25 | ===== publishing normal message (to offline) 2021-05-05 23:00:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 23:00:25 | command: <data><node>node_3t5ju50203</node><entry><content>content_koon9a0206</content></entry></data> 2021-05-05 23:00:25 | target: http://localhost:8088 2021-05-05 23:00:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-05 23:00:25 | entity: <data><node>node_3t5ju50203</node><entry><content>content_koon9a0206</content></entry></data> 2021-05-05 23:00:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 06:00:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 23:00:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dbd6bc02-6668-480c-8a14-2c23e18d9931</value></item-id></result> 2021-05-05 23:00:25 | contains: true 2021-05-05 23:00:30 | [Mutex] waiting for: [user_regular4tf08t0202@test-domain.com:message:received:content_koon9a0206] 2021-05-05 23:00:30 | [Mutex] waiting for: [user_regular4tf08t0202@test-domain.com:message:received:content_koon9a0206] 2021-05-05 23:00:30 | [Mutex] received everything. 2021-05-05 23:00:30 | [Mutex] isItemNotified: user_regular4tf08t0202@test-domain.com:message:received:content_koon9a0206 :: true 2021-05-05 23:00:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-05 23:00:30 | [Mutex] received everything. 2021-05-05 23:00:30 | [Mutex] isItemNotified: node_3t5ju50203:subscribe_node:success :: true 2021-05-05 23:00:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 23:00:30 | command: <data><node>node_3t5ju50203</node><expire-at>2021-05-06T06:00:35Z</expire-at><entry><content>content_3yode40207</content></entry></data> 2021-05-05 23:00:30 | target: http://localhost:8088 2021-05-05 23:00:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-05 23:00:30 | entity: <data><node>node_3t5ju50203</node><expire-at>2021-05-06T06:00:35Z</expire-at><entry><content>content_3yode40207</content></entry></data> 2021-05-05 23:00:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 06:00:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 23:00:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>56981b46-324f-475a-a3e5-3c77ad2a7981</value></item-id></result> 2021-05-05 23:00:30 | contains: true 2021-05-05 23:00:39 | [Mutex] waiting for: [user_regular4tf08t0202@test-domain.com:message:received:content_3yode40207] 2021-05-05 23:00:39 | [Mutex] waiting for: [user_regular4tf08t0202@test-domain.com:message:received:content_3yode40207] 2021-05-05 23:00:39 | [Mutex] waiting for: [user_regular4tf08t0202@test-domain.com:message:received:content_3yode40207] 2021-05-05 23:00:54 | [Mutex] timeout. Not received [user_regular4tf08t0202@test-domain.com:message:received:content_3yode40207] 2021-05-05 23:00:54 | [Mutex] received everything. 2021-05-05 23:00:54 | [Mutex] isItemNotified: user_regular4tf08t0202@test-domain.com:message:received:content_3yode40207 :: false 2021-05-05 23:00:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3yode40207 :: true |