Test duration : 45.669s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.845s |
2020-12-29 21:58:53 |
2020-12-29 21:58:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-12-29 21:58:53 | ------------------------------------ 2020-12-29 21:58:53 | [Mutex] isItemNotified: node_z720sd0203:exists :: false 2020-12-29 21:58:53 | [Mutex] waiting for: [node_z720sd0203:create_node] 2020-12-29 21:58:53 | [Mutex] received everything. 2020-12-29 21:58:53 | [Mutex] isItemNotified: node_z720sd0203:create_node:success :: true 2020-12-29 21:58:53 | [Mutex] waiting for: [node_z720sd0203:subscribe_node] 2020-12-29 21:58:53 | [Mutex] waiting for: [node_z720sd0203:subscribe_node] 2020-12-29 21:58:53 | [Mutex] received everything. 2020-12-29 21:58:53 | [Mutex] isItemNotified: node_z720sd0203:subscribe_node:success :: true 2020-12-29 21:58:53 | ===== publishing normal message (to online) 2020-12-29 21:58:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:58:53 | command: <data><node>node_z720sd0203</node><entry><content>content_ehiqeq0204</content></entry></data> 2020-12-29 21:58:53 | target: http://localhost:8088 2020-12-29 21:58:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-29 21:58:53 | entity: <data><node>node_z720sd0203</node><entry><content>content_ehiqeq0204</content></entry></data> 2020-12-29 21:58:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:58:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:58:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b5d0ccb0-e561-4eae-8334-89e1b854ca87</value></item-id></result> 2020-12-29 21:58:53 | contains: true 2020-12-29 21:58:53 | [Mutex] waiting for: [user_regular2bbjhv0202@test-domain.com:message:received:content_ehiqeq0204] 2020-12-29 21:58:53 | [Mutex] received everything. 2020-12-29 21:58:53 | [Mutex] isItemNotified: user_regular2bbjhv0202@test-domain.com:message:received:content_ehiqeq0204 :: true 2020-12-29 21:58:53 | ===== publishing already old message - expecting message being filtered out (to online) 2020-12-29 21:58:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:58:53 | command: <data><node>node_z720sd0203</node><expire-at>2020-12-30T05:58:48Z</expire-at><entry><content>content_rtayxq0205</content></entry></data> 2020-12-29 21:58:53 | target: http://localhost:8088 2020-12-29 21:58:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-29 21:58:53 | entity: <data><node>node_z720sd0203</node><expire-at>2020-12-30T05:58:48Z</expire-at><entry><content>content_rtayxq0205</content></entry></data> 2020-12-29 21:58:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:58:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:58:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>501c2484-6486-47d1-a604-524b69660ef2</value></item-id></result> 2020-12-29 21:58:53 | contains: true 2020-12-29 21:58:53 | [Mutex] waiting for: [user_regular2bbjhv0202@test-domain.com:message:received:content_rtayxq0205] 2020-12-29 21:59:08 | [Mutex] timeout. Not received [user_regular2bbjhv0202@test-domain.com:message:received:content_rtayxq0205] 2020-12-29 21:59:08 | [Mutex] isItemNotified: user_regular2bbjhv0202@test-domain.com:message:received:content_rtayxq0205 :: false 2020-12-29 21:59:08 | ===== publishing normal message (to offline) 2020-12-29 21:59:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:59:08 | command: <data><node>node_z720sd0203</node><entry><content>content_ogw8sn0206</content></entry></data> 2020-12-29 21:59:08 | target: http://localhost:8088 2020-12-29 21:59:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-29 21:59:08 | entity: <data><node>node_z720sd0203</node><entry><content>content_ogw8sn0206</content></entry></data> 2020-12-29 21:59:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:59:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:59:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0f4d3032-535c-48ae-ae85-2eb078298167</value></item-id></result> 2020-12-29 21:59:08 | contains: true 2020-12-29 21:59:14 | [Mutex] waiting for: [user_regular2bbjhv0202@test-domain.com:message:received:content_ogw8sn0206] 2020-12-29 21:59:14 | [Mutex] received everything. 2020-12-29 21:59:14 | [Mutex] isItemNotified: user_regular2bbjhv0202@test-domain.com:message:received:content_ogw8sn0206 :: true 2020-12-29 21:59:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-12-29 21:59:14 | [Mutex] received everything. 2020-12-29 21:59:14 | [Mutex] isItemNotified: node_z720sd0203:subscribe_node:success :: true 2020-12-29 21:59:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:59:14 | command: <data><node>node_z720sd0203</node><expire-at>2020-12-30T05:59:19Z</expire-at><entry><content>content_xfh5cs0207</content></entry></data> 2020-12-29 21:59:14 | target: http://localhost:8088 2020-12-29 21:59:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-29 21:59:14 | entity: <data><node>node_z720sd0203</node><expire-at>2020-12-30T05:59:19Z</expire-at><entry><content>content_xfh5cs0207</content></entry></data> 2020-12-29 21:59:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:59:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:59:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9b41cff3-372e-4c97-b40d-2f7f4e2752c4</value></item-id></result> 2020-12-29 21:59:14 | contains: true 2020-12-29 21:59:22 | [Mutex] waiting for: [user_regular2bbjhv0202@test-domain.com:message:received:content_xfh5cs0207] 2020-12-29 21:59:37 | [Mutex] timeout. Not received [user_regular2bbjhv0202@test-domain.com:message:received:content_xfh5cs0207] 2020-12-29 21:59:37 | [Mutex] received everything. 2020-12-29 21:59:37 | [Mutex] isItemNotified: user_regular2bbjhv0202@test-domain.com:message:received:content_xfh5cs0207 :: false 2020-12-29 21:59:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xfh5cs0207 :: true |