Test duration : 45.740s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.777s |
2020-12-28 21:28:44 |
2020-12-28 21:28:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-12-28 21:28:44 | ------------------------------------ 2020-12-28 21:28:44 | [Mutex] isItemNotified: node_dteffl0203:exists :: false 2020-12-28 21:28:44 | [Mutex] waiting for: [node_dteffl0203:create_node] 2020-12-28 21:28:44 | [Mutex] received everything. 2020-12-28 21:28:44 | [Mutex] isItemNotified: node_dteffl0203:create_node:success :: true 2020-12-28 21:28:44 | [Mutex] waiting for: [node_dteffl0203:subscribe_node] 2020-12-28 21:28:44 | [Mutex] waiting for: [node_dteffl0203:subscribe_node] 2020-12-28 21:28:44 | [Mutex] received everything. 2020-12-28 21:28:44 | [Mutex] isItemNotified: node_dteffl0203:subscribe_node:success :: true 2020-12-28 21:28:44 | ===== publishing normal message (to online) 2020-12-28 21:28:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-28 21:28:44 | command: <data><node>node_dteffl0203</node><entry><content>content_3eeufv0204</content></entry></data> 2020-12-28 21:28:44 | target: http://localhost:8088 2020-12-28 21:28:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-28 21:28:44 | entity: <data><node>node_dteffl0203</node><entry><content>content_3eeufv0204</content></entry></data> 2020-12-28 21:28:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:28:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-28 21:28:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d26bdcce-977a-41db-9028-b4e789e113ed</value></item-id></result> 2020-12-28 21:28:44 | contains: true 2020-12-28 21:28:44 | [Mutex] received everything. 2020-12-28 21:28:44 | [Mutex] isItemNotified: user_regular842jb0202@test-domain.com:message:received:content_3eeufv0204 :: true 2020-12-28 21:28:44 | ===== publishing already old message - expecting message being filtered out (to online) 2020-12-28 21:28:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-28 21:28:44 | command: <data><node>node_dteffl0203</node><expire-at>2020-12-29T05:28:39Z</expire-at><entry><content>content_qxzg240205</content></entry></data> 2020-12-28 21:28:44 | target: http://localhost:8088 2020-12-28 21:28:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-28 21:28:44 | entity: <data><node>node_dteffl0203</node><expire-at>2020-12-29T05:28:39Z</expire-at><entry><content>content_qxzg240205</content></entry></data> 2020-12-28 21:28:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:28:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-28 21:28:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d4ab652c-47c2-4f19-9456-ac6a38ced551</value></item-id></result> 2020-12-28 21:28:44 | contains: true 2020-12-28 21:28:44 | [Mutex] waiting for: [user_regular842jb0202@test-domain.com:message:received:content_qxzg240205] 2020-12-28 21:28:59 | [Mutex] timeout. Not received [user_regular842jb0202@test-domain.com:message:received:content_qxzg240205] 2020-12-28 21:28:59 | [Mutex] isItemNotified: user_regular842jb0202@test-domain.com:message:received:content_qxzg240205 :: false 2020-12-28 21:28:59 | ===== publishing normal message (to offline) 2020-12-28 21:28:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-28 21:28:59 | command: <data><node>node_dteffl0203</node><entry><content>content_tx7w4f0206</content></entry></data> 2020-12-28 21:28:59 | target: http://localhost:8088 2020-12-28 21:28:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-28 21:28:59 | entity: <data><node>node_dteffl0203</node><entry><content>content_tx7w4f0206</content></entry></data> 2020-12-28 21:28:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:28:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-28 21:28:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7b680849-0e04-4edb-ab34-720ed8477ab7</value></item-id></result> 2020-12-28 21:28:59 | contains: true 2020-12-28 21:29:05 | [Mutex] waiting for: [user_regular842jb0202@test-domain.com:message:received:content_tx7w4f0206] 2020-12-28 21:29:05 | [Mutex] waiting for: [user_regular842jb0202@test-domain.com:message:received:content_tx7w4f0206] 2020-12-28 21:29:05 | [Mutex] received everything. 2020-12-28 21:29:05 | [Mutex] isItemNotified: user_regular842jb0202@test-domain.com:message:received:content_tx7w4f0206 :: true 2020-12-28 21:29:05 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-12-28 21:29:05 | [Mutex] received everything. 2020-12-28 21:29:05 | [Mutex] isItemNotified: node_dteffl0203:subscribe_node:success :: true 2020-12-28 21:29:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-28 21:29:05 | command: <data><node>node_dteffl0203</node><expire-at>2020-12-29T05:29:10Z</expire-at><entry><content>content_6vjta20207</content></entry></data> 2020-12-28 21:29:05 | target: http://localhost:8088 2020-12-28 21:29:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-28 21:29:05 | entity: <data><node>node_dteffl0203</node><expire-at>2020-12-29T05:29:10Z</expire-at><entry><content>content_6vjta20207</content></entry></data> 2020-12-28 21:29:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Dec 2020 05:29:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-28 21:29:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f9ce7fc6-1d77-4b83-9662-ea4a517bedd5</value></item-id></result> 2020-12-28 21:29:05 | contains: true 2020-12-28 21:29:13 | [Mutex] waiting for: [user_regular842jb0202@test-domain.com:message:received:content_6vjta20207] 2020-12-28 21:29:28 | [Mutex] timeout. Not received [user_regular842jb0202@test-domain.com:message:received:content_6vjta20207] 2020-12-28 21:29:28 | [Mutex] received everything. 2020-12-28 21:29:28 | [Mutex] isItemNotified: user_regular842jb0202@test-domain.com:message:received:content_6vjta20207 :: false 2020-12-28 21:29:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6vjta20207 :: true |