Test duration : 45.543s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.773s |
2020-10-21 22:31:15 |
2020-10-21 22:31:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-21 22:31:15 | ------------------------------------ 2020-10-21 22:31:15 | [Mutex] isItemNotified: node_mw78730203:exists :: false 2020-10-21 22:31:15 | [Mutex] waiting for: [node_mw78730203:create_node] 2020-10-21 22:31:15 | [Mutex] received everything. 2020-10-21 22:31:15 | [Mutex] isItemNotified: node_mw78730203:create_node:success :: true 2020-10-21 22:31:15 | [Mutex] waiting for: [node_mw78730203:subscribe_node] 2020-10-21 22:31:15 | [Mutex] received everything. 2020-10-21 22:31:15 | [Mutex] isItemNotified: node_mw78730203:subscribe_node:success :: true 2020-10-21 22:31:15 | ===== publishing normal message (to online) 2020-10-21 22:31:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:31:15 | command: <data><node>node_mw78730203</node><entry><content>content_r1duo80204</content></entry></data> 2020-10-21 22:31:15 | target: http://localhost:8088 2020-10-21 22:31:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-21 22:31:15 | entity: <data><node>node_mw78730203</node><entry><content>content_r1duo80204</content></entry></data> 2020-10-21 22:31:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:31:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:31:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b6cfe7c-091d-46f0-8e32-317fc1494e54</value></item-id></result> 2020-10-21 22:31:15 | contains: true 2020-10-21 22:31:15 | [Mutex] received everything. 2020-10-21 22:31:15 | [Mutex] isItemNotified: user_regularqymiiq0202@test-domain.com:message:received:content_r1duo80204 :: true 2020-10-21 22:31:15 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-21 22:31:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:31:15 | command: <data><node>node_mw78730203</node><expire-at>2020-10-22T05:31:10Z</expire-at><entry><content>content_zca4b70205</content></entry></data> 2020-10-21 22:31:15 | target: http://localhost:8088 2020-10-21 22:31:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-21 22:31:15 | entity: <data><node>node_mw78730203</node><expire-at>2020-10-22T05:31:10Z</expire-at><entry><content>content_zca4b70205</content></entry></data> 2020-10-21 22:31:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:31:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:31:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>87ee8955-470d-4a11-a40f-e4ae27fd7820</value></item-id></result> 2020-10-21 22:31:15 | contains: true 2020-10-21 22:31:15 | [Mutex] waiting for: [user_regularqymiiq0202@test-domain.com:message:received:content_zca4b70205] 2020-10-21 22:31:30 | [Mutex] timeout. Not received [user_regularqymiiq0202@test-domain.com:message:received:content_zca4b70205] 2020-10-21 22:31:30 | [Mutex] isItemNotified: user_regularqymiiq0202@test-domain.com:message:received:content_zca4b70205 :: false 2020-10-21 22:31:30 | ===== publishing normal message (to offline) 2020-10-21 22:31:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:31:30 | command: <data><node>node_mw78730203</node><entry><content>content_i0v4yr0206</content></entry></data> 2020-10-21 22:31:30 | target: http://localhost:8088 2020-10-21 22:31:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-21 22:31:30 | entity: <data><node>node_mw78730203</node><entry><content>content_i0v4yr0206</content></entry></data> 2020-10-21 22:31:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:31:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:31:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cec6f31f-0155-4dc6-813e-55ee85362a8c</value></item-id></result> 2020-10-21 22:31:30 | contains: true 2020-10-21 22:31:35 | [Mutex] waiting for: [user_regularqymiiq0202@test-domain.com:message:received:content_i0v4yr0206] 2020-10-21 22:31:35 | [Mutex] received everything. 2020-10-21 22:31:35 | [Mutex] isItemNotified: user_regularqymiiq0202@test-domain.com:message:received:content_i0v4yr0206 :: true 2020-10-21 22:31:35 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-21 22:31:35 | [Mutex] received everything. 2020-10-21 22:31:35 | [Mutex] isItemNotified: node_mw78730203:subscribe_node:success :: true 2020-10-21 22:31:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:31:35 | command: <data><node>node_mw78730203</node><expire-at>2020-10-22T05:31:40Z</expire-at><entry><content>content_n5f13s0207</content></entry></data> 2020-10-21 22:31:35 | target: http://localhost:8088 2020-10-21 22:31:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-21 22:31:35 | entity: <data><node>node_mw78730203</node><expire-at>2020-10-22T05:31:40Z</expire-at><entry><content>content_n5f13s0207</content></entry></data> 2020-10-21 22:31:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:31:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:31:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>52a8fca9-962b-4339-a737-883a8001065d</value></item-id></result> 2020-10-21 22:31:35 | contains: true 2020-10-21 22:31:44 | [Mutex] waiting for: [user_regularqymiiq0202@test-domain.com:message:received:content_n5f13s0207] 2020-10-21 22:31:59 | [Mutex] timeout. Not received [user_regularqymiiq0202@test-domain.com:message:received:content_n5f13s0207] 2020-10-21 22:31:59 | [Mutex] received everything. 2020-10-21 22:31:59 | [Mutex] isItemNotified: user_regularqymiiq0202@test-domain.com:message:received:content_n5f13s0207 :: false 2020-10-21 22:31:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_n5f13s0207 :: true |