Test duration : 45.013s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.696s |
2020-12-16 14:19:48 |
2020-12-16 14:19:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-12-16 14:19:48 | ------------------------------------ 2020-12-16 14:19:48 | [Mutex] isItemNotified: node_lzm0rb0203:exists :: false 2020-12-16 14:19:48 | [Mutex] waiting for: [node_lzm0rb0203:create_node] 2020-12-16 14:19:48 | [Mutex] received everything. 2020-12-16 14:19:48 | [Mutex] isItemNotified: node_lzm0rb0203:create_node:success :: true 2020-12-16 14:19:48 | [Mutex] waiting for: [node_lzm0rb0203:subscribe_node] 2020-12-16 14:19:48 | [Mutex] received everything. 2020-12-16 14:19:48 | [Mutex] isItemNotified: node_lzm0rb0203:subscribe_node:success :: true 2020-12-16 14:19:48 | ===== publishing normal message (to online) 2020-12-16 14:19:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-16 14:19:48 | command: <data><node>node_lzm0rb0203</node><entry><content>content_ed98220204</content></entry></data> 2020-12-16 14:19:48 | target: http://localhost:8088 2020-12-16 14:19:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-16 14:19:48 | entity: <data><node>node_lzm0rb0203</node><entry><content>content_ed98220204</content></entry></data> 2020-12-16 14:19:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 22:19:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-16 14:19:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ce8e3944-68b8-494b-be4b-eccff708449a</value></item-id></result> 2020-12-16 14:19:48 | contains: true 2020-12-16 14:19:48 | [Mutex] received everything. 2020-12-16 14:19:48 | [Mutex] isItemNotified: user_regularhldzo0202@test-domain.com:message:received:content_ed98220204 :: true 2020-12-16 14:19:48 | ===== publishing already old message - expecting message being filtered out (to online) 2020-12-16 14:19:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-16 14:19:48 | command: <data><node>node_lzm0rb0203</node><expire-at>2020-12-16T22:19:43Z</expire-at><entry><content>content_kimf9x0205</content></entry></data> 2020-12-16 14:19:48 | target: http://localhost:8088 2020-12-16 14:19:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-16 14:19:48 | entity: <data><node>node_lzm0rb0203</node><expire-at>2020-12-16T22:19:43Z</expire-at><entry><content>content_kimf9x0205</content></entry></data> 2020-12-16 14:19:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 22:19:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-16 14:19:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eb2cf148-2d76-4e76-9a87-b0a0516011d5</value></item-id></result> 2020-12-16 14:19:48 | contains: true 2020-12-16 14:19:48 | [Mutex] waiting for: [user_regularhldzo0202@test-domain.com:message:received:content_kimf9x0205] 2020-12-16 14:20:03 | [Mutex] timeout. Not received [user_regularhldzo0202@test-domain.com:message:received:content_kimf9x0205] 2020-12-16 14:20:03 | [Mutex] isItemNotified: user_regularhldzo0202@test-domain.com:message:received:content_kimf9x0205 :: false 2020-12-16 14:20:03 | ===== publishing normal message (to offline) 2020-12-16 14:20:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-16 14:20:03 | command: <data><node>node_lzm0rb0203</node><entry><content>content_lhzke00206</content></entry></data> 2020-12-16 14:20:03 | target: http://localhost:8088 2020-12-16 14:20:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-16 14:20:03 | entity: <data><node>node_lzm0rb0203</node><entry><content>content_lhzke00206</content></entry></data> 2020-12-16 14:20:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 22:20:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-16 14:20:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ce98fe61-3047-4ede-91e8-cf45ea17e2ba</value></item-id></result> 2020-12-16 14:20:03 | contains: true 2020-12-16 14:20:09 | [Mutex] waiting for: [user_regularhldzo0202@test-domain.com:message:received:content_lhzke00206] 2020-12-16 14:20:09 | [Mutex] received everything. 2020-12-16 14:20:09 | [Mutex] isItemNotified: user_regularhldzo0202@test-domain.com:message:received:content_lhzke00206 :: true 2020-12-16 14:20:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-12-16 14:20:09 | [Mutex] received everything. 2020-12-16 14:20:09 | [Mutex] isItemNotified: node_lzm0rb0203:subscribe_node:success :: true 2020-12-16 14:20:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-16 14:20:09 | command: <data><node>node_lzm0rb0203</node><expire-at>2020-12-16T22:20:14Z</expire-at><entry><content>content_a1vnyj0207</content></entry></data> 2020-12-16 14:20:09 | target: http://localhost:8088 2020-12-16 14:20:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-16 14:20:09 | entity: <data><node>node_lzm0rb0203</node><expire-at>2020-12-16T22:20:14Z</expire-at><entry><content>content_a1vnyj0207</content></entry></data> 2020-12-16 14:20:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 22:20:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-16 14:20:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7c58b017-a17e-4582-9fa2-28dd60ce1a48</value></item-id></result> 2020-12-16 14:20:09 | contains: true 2020-12-16 14:20:17 | [Mutex] waiting for: [user_regularhldzo0202@test-domain.com:message:received:content_a1vnyj0207] 2020-12-16 14:20:17 | [Mutex] waiting for: [user_regularhldzo0202@test-domain.com:message:received:content_a1vnyj0207] 2020-12-16 14:20:17 | [Mutex] waiting for: [user_regularhldzo0202@test-domain.com:message:received:content_a1vnyj0207] 2020-12-16 14:20:32 | [Mutex] timeout. Not received [user_regularhldzo0202@test-domain.com:message:received:content_a1vnyj0207] 2020-12-16 14:20:32 | [Mutex] received everything. 2020-12-16 14:20:32 | [Mutex] isItemNotified: user_regularhldzo0202@test-domain.com:message:received:content_a1vnyj0207 :: false 2020-12-16 14:20:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_a1vnyj0207 :: true |