Test duration : 45.767s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.777s |
2020-11-11 21:29:47 |
2020-11-11 21:29:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-11 21:29:47 | ------------------------------------ 2020-11-11 21:29:47 | [Mutex] isItemNotified: node_9jla1y0203:exists :: false 2020-11-11 21:29:47 | [Mutex] waiting for: [node_9jla1y0203:create_node] 2020-11-11 21:29:47 | [Mutex] received everything. 2020-11-11 21:29:47 | [Mutex] isItemNotified: node_9jla1y0203:create_node:success :: true 2020-11-11 21:29:47 | [Mutex] waiting for: [node_9jla1y0203:subscribe_node] 2020-11-11 21:29:47 | [Mutex] waiting for: [node_9jla1y0203:subscribe_node] 2020-11-11 21:29:47 | [Mutex] received everything. 2020-11-11 21:29:47 | [Mutex] isItemNotified: node_9jla1y0203:subscribe_node:success :: true 2020-11-11 21:29:47 | ===== publishing normal message (to online) 2020-11-11 21:29:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-11 21:29:47 | command: <data><node>node_9jla1y0203</node><entry><content>content_3hxbur0204</content></entry></data> 2020-11-11 21:29:47 | target: http://localhost:8088 2020-11-11 21:29:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-11 21:29:47 | entity: <data><node>node_9jla1y0203</node><entry><content>content_3hxbur0204</content></entry></data> 2020-11-11 21:29:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:29:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-11 21:29:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>737527da-9cde-4e8f-8712-69cc2658bb0a</value></item-id></result> 2020-11-11 21:29:47 | contains: true 2020-11-11 21:29:47 | [Mutex] received everything. 2020-11-11 21:29:47 | [Mutex] isItemNotified: user_regularco19yn0202@test-domain.com:message:received:content_3hxbur0204 :: true 2020-11-11 21:29:47 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-11 21:29:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-11 21:29:47 | command: <data><node>node_9jla1y0203</node><expire-at>2020-11-12T05:29:42Z</expire-at><entry><content>content_ndclhh0205</content></entry></data> 2020-11-11 21:29:47 | target: http://localhost:8088 2020-11-11 21:29:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-11 21:29:47 | entity: <data><node>node_9jla1y0203</node><expire-at>2020-11-12T05:29:42Z</expire-at><entry><content>content_ndclhh0205</content></entry></data> 2020-11-11 21:29:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:29:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-11 21:29:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f0e7b8ef-a70b-4ae4-88e3-c378f373a810</value></item-id></result> 2020-11-11 21:29:47 | contains: true 2020-11-11 21:29:47 | [Mutex] waiting for: [user_regularco19yn0202@test-domain.com:message:received:content_ndclhh0205] 2020-11-11 21:30:02 | [Mutex] timeout. Not received [user_regularco19yn0202@test-domain.com:message:received:content_ndclhh0205] 2020-11-11 21:30:02 | [Mutex] isItemNotified: user_regularco19yn0202@test-domain.com:message:received:content_ndclhh0205 :: false 2020-11-11 21:30:02 | ===== publishing normal message (to offline) 2020-11-11 21:30:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-11 21:30:02 | command: <data><node>node_9jla1y0203</node><entry><content>content_1xrq450206</content></entry></data> 2020-11-11 21:30:02 | target: http://localhost:8088 2020-11-11 21:30:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-11 21:30:02 | entity: <data><node>node_9jla1y0203</node><entry><content>content_1xrq450206</content></entry></data> 2020-11-11 21:30:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:30:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-11 21:30:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>767f031e-9e5d-45d5-a919-0f958e4a6d64</value></item-id></result> 2020-11-11 21:30:02 | contains: true 2020-11-11 21:30:07 | [Mutex] waiting for: [user_regularco19yn0202@test-domain.com:message:received:content_1xrq450206] 2020-11-11 21:30:07 | [Mutex] waiting for: [user_regularco19yn0202@test-domain.com:message:received:content_1xrq450206] 2020-11-11 21:30:07 | [Mutex] received everything. 2020-11-11 21:30:07 | [Mutex] isItemNotified: user_regularco19yn0202@test-domain.com:message:received:content_1xrq450206 :: true 2020-11-11 21:30:07 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-11 21:30:07 | [Mutex] received everything. 2020-11-11 21:30:07 | [Mutex] isItemNotified: node_9jla1y0203:subscribe_node:success :: true 2020-11-11 21:30:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-11 21:30:07 | command: <data><node>node_9jla1y0203</node><expire-at>2020-11-12T05:30:12Z</expire-at><entry><content>content_fpyqbn0207</content></entry></data> 2020-11-11 21:30:07 | target: http://localhost:8088 2020-11-11 21:30:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-11 21:30:07 | entity: <data><node>node_9jla1y0203</node><expire-at>2020-11-12T05:30:12Z</expire-at><entry><content>content_fpyqbn0207</content></entry></data> 2020-11-11 21:30:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 12 Nov 2020 05:30:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-11 21:30:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f29377d1-3056-471a-bb0f-8d7855296ac3</value></item-id></result> 2020-11-11 21:30:07 | contains: true 2020-11-11 21:30:16 | [Mutex] waiting for: [user_regularco19yn0202@test-domain.com:message:received:content_fpyqbn0207] 2020-11-11 21:30:16 | [Mutex] waiting for: [user_regularco19yn0202@test-domain.com:message:received:content_fpyqbn0207] 2020-11-11 21:30:31 | [Mutex] timeout. Not received [user_regularco19yn0202@test-domain.com:message:received:content_fpyqbn0207] 2020-11-11 21:30:31 | [Mutex] received everything. 2020-11-11 21:30:31 | [Mutex] isItemNotified: user_regularco19yn0202@test-domain.com:message:received:content_fpyqbn0207 :: false 2020-11-11 21:30:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fpyqbn0207 :: true |