Test duration : 45.565s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.664s |
2020-09-25 15:59:41 |
2020-09-25 15:59:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-25 15:59:41 | ------------------------------------ 2020-09-25 15:59:41 | [Mutex] isItemNotified: node_8tzth60203:exists :: false 2020-09-25 15:59:41 | [Mutex] waiting for: [node_8tzth60203:create_node] 2020-09-25 15:59:41 | [Mutex] waiting for: [node_8tzth60203:create_node] 2020-09-25 15:59:41 | [Mutex] received everything. 2020-09-25 15:59:41 | [Mutex] isItemNotified: node_8tzth60203:create_node:success :: true 2020-09-25 15:59:41 | [Mutex] waiting for: [node_8tzth60203:subscribe_node] 2020-09-25 15:59:41 | [Mutex] waiting for: [node_8tzth60203:subscribe_node] 2020-09-25 15:59:41 | [Mutex] received everything. 2020-09-25 15:59:41 | [Mutex] isItemNotified: node_8tzth60203:subscribe_node:success :: true 2020-09-25 15:59:41 | ===== publishing normal message (to online) 2020-09-25 15:59:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 15:59:41 | command: <data><node>node_8tzth60203</node><entry><content>content_rsgf780204</content></entry></data> 2020-09-25 15:59:41 | target: http://localhost:8088 2020-09-25 15:59:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-25 15:59:41 | entity: <data><node>node_8tzth60203</node><entry><content>content_rsgf780204</content></entry></data> 2020-09-25 15:59:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 22:59:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 15:59:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9d3824c2-3cc2-49b2-9f56-475b1744aa92</value></item-id></result> 2020-09-25 15:59:41 | contains: true 2020-09-25 15:59:41 | [Mutex] received everything. 2020-09-25 15:59:41 | [Mutex] isItemNotified: user_regularay3g1g0202@test-domain.com:message:received:content_rsgf780204 :: true 2020-09-25 15:59:41 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-25 15:59:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 15:59:41 | command: <data><node>node_8tzth60203</node><expire-at>2020-09-25T22:59:36Z</expire-at><entry><content>content_pn93om0205</content></entry></data> 2020-09-25 15:59:41 | target: http://localhost:8088 2020-09-25 15:59:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-25 15:59:41 | entity: <data><node>node_8tzth60203</node><expire-at>2020-09-25T22:59:36Z</expire-at><entry><content>content_pn93om0205</content></entry></data> 2020-09-25 15:59:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 22:59:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 15:59:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3ed3cd81-0e2b-43fc-885e-0824e3c28059</value></item-id></result> 2020-09-25 15:59:41 | contains: true 2020-09-25 15:59:41 | [Mutex] waiting for: [user_regularay3g1g0202@test-domain.com:message:received:content_pn93om0205] 2020-09-25 15:59:56 | [Mutex] timeout. Not received [user_regularay3g1g0202@test-domain.com:message:received:content_pn93om0205] 2020-09-25 15:59:56 | [Mutex] isItemNotified: user_regularay3g1g0202@test-domain.com:message:received:content_pn93om0205 :: false 2020-09-25 15:59:56 | ===== publishing normal message (to offline) 2020-09-25 15:59:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 15:59:56 | command: <data><node>node_8tzth60203</node><entry><content>content_8je3d10206</content></entry></data> 2020-09-25 15:59:56 | target: http://localhost:8088 2020-09-25 15:59:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-25 15:59:56 | entity: <data><node>node_8tzth60203</node><entry><content>content_8je3d10206</content></entry></data> 2020-09-25 15:59:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 22:59:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 15:59:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>923a009d-6a62-4aab-8cba-f9f4b18c8e14</value></item-id></result> 2020-09-25 15:59:56 | contains: true 2020-09-25 16:00:01 | [Mutex] waiting for: [user_regularay3g1g0202@test-domain.com:message:received:content_8je3d10206] 2020-09-25 16:00:01 | [Mutex] received everything. 2020-09-25 16:00:01 | [Mutex] isItemNotified: user_regularay3g1g0202@test-domain.com:message:received:content_8je3d10206 :: true 2020-09-25 16:00:01 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-25 16:00:01 | [Mutex] received everything. 2020-09-25 16:00:01 | [Mutex] isItemNotified: node_8tzth60203:subscribe_node:success :: true 2020-09-25 16:00:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 16:00:01 | command: <data><node>node_8tzth60203</node><expire-at>2020-09-25T23:00:06Z</expire-at><entry><content>content_hwhr4r0207</content></entry></data> 2020-09-25 16:00:01 | target: http://localhost:8088 2020-09-25 16:00:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-25 16:00:01 | entity: <data><node>node_8tzth60203</node><expire-at>2020-09-25T23:00:06Z</expire-at><entry><content>content_hwhr4r0207</content></entry></data> 2020-09-25 16:00:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Sep 2020 23:00:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 16:00:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>df548c73-5d77-4800-922a-6c914035e584</value></item-id></result> 2020-09-25 16:00:01 | contains: true 2020-09-25 16:00:10 | [Mutex] waiting for: [user_regularay3g1g0202@test-domain.com:message:received:content_hwhr4r0207] 2020-09-25 16:00:10 | [Mutex] waiting for: [user_regularay3g1g0202@test-domain.com:message:received:content_hwhr4r0207] 2020-09-25 16:00:25 | [Mutex] timeout. Not received [user_regularay3g1g0202@test-domain.com:message:received:content_hwhr4r0207] 2020-09-25 16:00:25 | [Mutex] received everything. 2020-09-25 16:00:25 | [Mutex] isItemNotified: user_regularay3g1g0202@test-domain.com:message:received:content_hwhr4r0207 :: false 2020-09-25 16:00:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hwhr4r0207 :: true |