Test duration : 45.418s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.688s |
2020-09-20 22:30:15 |
2020-09-20 22:30:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-20 22:30:15 | ------------------------------------ 2020-09-20 22:30:15 | [Mutex] isItemNotified: node_cyrm5h0203:exists :: false 2020-09-20 22:30:15 | [Mutex] waiting for: [node_cyrm5h0203:create_node] 2020-09-20 22:30:15 | [Mutex] received everything. 2020-09-20 22:30:15 | [Mutex] isItemNotified: node_cyrm5h0203:create_node:success :: true 2020-09-20 22:30:15 | [Mutex] waiting for: [node_cyrm5h0203:subscribe_node] 2020-09-20 22:30:15 | [Mutex] received everything. 2020-09-20 22:30:15 | [Mutex] isItemNotified: node_cyrm5h0203:subscribe_node:success :: true 2020-09-20 22:30:15 | ===== publishing normal message (to online) 2020-09-20 22:30:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-20 22:30:15 | command: <data><node>node_cyrm5h0203</node><entry><content>content_q51wqh0204</content></entry></data> 2020-09-20 22:30:15 | target: http://localhost:8088 2020-09-20 22:30:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-20 22:30:15 | entity: <data><node>node_cyrm5h0203</node><entry><content>content_q51wqh0204</content></entry></data> 2020-09-20 22:30:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:30:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-20 22:30:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2e93fef2-5408-4aa5-9b94-5a7af9a4a1cd</value></item-id></result> 2020-09-20 22:30:15 | contains: true 2020-09-20 22:30:15 | [Mutex] received everything. 2020-09-20 22:30:15 | [Mutex] isItemNotified: user_regulare4v0i70202@test-domain.com:message:received:content_q51wqh0204 :: true 2020-09-20 22:30:15 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-20 22:30:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-20 22:30:15 | command: <data><node>node_cyrm5h0203</node><expire-at>2020-09-21T05:30:10Z</expire-at><entry><content>content_dtrne90205</content></entry></data> 2020-09-20 22:30:15 | target: http://localhost:8088 2020-09-20 22:30:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-20 22:30:15 | entity: <data><node>node_cyrm5h0203</node><expire-at>2020-09-21T05:30:10Z</expire-at><entry><content>content_dtrne90205</content></entry></data> 2020-09-20 22:30:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:30:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-20 22:30:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4c4d87f9-36d9-4d72-9c75-f1eee6a9641f</value></item-id></result> 2020-09-20 22:30:15 | contains: true 2020-09-20 22:30:15 | [Mutex] waiting for: [user_regulare4v0i70202@test-domain.com:message:received:content_dtrne90205] 2020-09-20 22:30:30 | [Mutex] timeout. Not received [user_regulare4v0i70202@test-domain.com:message:received:content_dtrne90205] 2020-09-20 22:30:30 | [Mutex] isItemNotified: user_regulare4v0i70202@test-domain.com:message:received:content_dtrne90205 :: false 2020-09-20 22:30:30 | ===== publishing normal message (to offline) 2020-09-20 22:30:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-20 22:30:30 | command: <data><node>node_cyrm5h0203</node><entry><content>content_kxuyv30206</content></entry></data> 2020-09-20 22:30:30 | target: http://localhost:8088 2020-09-20 22:30:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-20 22:30:30 | entity: <data><node>node_cyrm5h0203</node><entry><content>content_kxuyv30206</content></entry></data> 2020-09-20 22:30:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:30:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-20 22:30:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>240a4234-36d4-4954-bb53-34baff3a5c51</value></item-id></result> 2020-09-20 22:30:30 | contains: true 2020-09-20 22:30:35 | [Mutex] waiting for: [user_regulare4v0i70202@test-domain.com:message:received:content_kxuyv30206] 2020-09-20 22:30:35 | [Mutex] received everything. 2020-09-20 22:30:35 | [Mutex] isItemNotified: user_regulare4v0i70202@test-domain.com:message:received:content_kxuyv30206 :: true 2020-09-20 22:30:35 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-20 22:30:35 | [Mutex] received everything. 2020-09-20 22:30:35 | [Mutex] isItemNotified: node_cyrm5h0203:subscribe_node:success :: true 2020-09-20 22:30:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-20 22:30:35 | command: <data><node>node_cyrm5h0203</node><expire-at>2020-09-21T05:30:40Z</expire-at><entry><content>content_aqx2bc0207</content></entry></data> 2020-09-20 22:30:35 | target: http://localhost:8088 2020-09-20 22:30:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-20 22:30:35 | entity: <data><node>node_cyrm5h0203</node><expire-at>2020-09-21T05:30:40Z</expire-at><entry><content>content_aqx2bc0207</content></entry></data> 2020-09-20 22:30:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Sep 2020 05:30:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-20 22:30:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a0e814d9-f4bd-46e2-b5b0-03778350f9c1</value></item-id></result> 2020-09-20 22:30:35 | contains: true 2020-09-20 22:30:43 | [Mutex] waiting for: [user_regulare4v0i70202@test-domain.com:message:received:content_aqx2bc0207] 2020-09-20 22:30:43 | [Mutex] waiting for: [user_regulare4v0i70202@test-domain.com:message:received:content_aqx2bc0207] 2020-09-20 22:30:58 | [Mutex] timeout. Not received [user_regulare4v0i70202@test-domain.com:message:received:content_aqx2bc0207] 2020-09-20 22:30:58 | [Mutex] received everything. 2020-09-20 22:30:58 | [Mutex] isItemNotified: user_regulare4v0i70202@test-domain.com:message:received:content_aqx2bc0207 :: false 2020-09-20 22:30:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_aqx2bc0207 :: true |