Test duration : 45.231s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.737s |
2021-02-23 21:28:19 |
2021-02-23 21:28:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-23 21:28:19 | ------------------------------------ 2021-02-23 21:28:19 | [Mutex] isItemNotified: node_e4ymuj0203:exists :: false 2021-02-23 21:28:19 | [Mutex] waiting for: [node_e4ymuj0203:create_node] 2021-02-23 21:28:19 | [Mutex] received everything. 2021-02-23 21:28:19 | [Mutex] isItemNotified: node_e4ymuj0203:create_node:success :: true 2021-02-23 21:28:19 | [Mutex] waiting for: [node_e4ymuj0203:subscribe_node] 2021-02-23 21:28:19 | [Mutex] waiting for: [node_e4ymuj0203:subscribe_node] 2021-02-23 21:28:19 | [Mutex] received everything. 2021-02-23 21:28:19 | [Mutex] isItemNotified: node_e4ymuj0203:subscribe_node:success :: true 2021-02-23 21:28:19 | ===== publishing normal message (to online) 2021-02-23 21:28:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-23 21:28:19 | command: <data><node>node_e4ymuj0203</node><entry><content>content_z95xin0204</content></entry></data> 2021-02-23 21:28:19 | target: http://localhost:8088 2021-02-23 21:28:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-23 21:28:19 | entity: <data><node>node_e4ymuj0203</node><entry><content>content_z95xin0204</content></entry></data> 2021-02-23 21:28:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:28:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-23 21:28:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cda0ac46-b123-441a-874f-ee04c120e444</value></item-id></result> 2021-02-23 21:28:19 | contains: true 2021-02-23 21:28:19 | [Mutex] waiting for: [user_regular58u8mq0202@test-domain.com:message:received:content_z95xin0204] 2021-02-23 21:28:19 | [Mutex] received everything. 2021-02-23 21:28:19 | [Mutex] isItemNotified: user_regular58u8mq0202@test-domain.com:message:received:content_z95xin0204 :: true 2021-02-23 21:28:19 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-23 21:28:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-23 21:28:19 | command: <data><node>node_e4ymuj0203</node><expire-at>2021-02-24T05:28:14Z</expire-at><entry><content>content_lf0esq0205</content></entry></data> 2021-02-23 21:28:19 | target: http://localhost:8088 2021-02-23 21:28:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-23 21:28:19 | entity: <data><node>node_e4ymuj0203</node><expire-at>2021-02-24T05:28:14Z</expire-at><entry><content>content_lf0esq0205</content></entry></data> 2021-02-23 21:28:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:28:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-23 21:28:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3c64f5b5-cf44-4fd9-826f-187361e548f4</value></item-id></result> 2021-02-23 21:28:19 | contains: true 2021-02-23 21:28:19 | [Mutex] waiting for: [user_regular58u8mq0202@test-domain.com:message:received:content_lf0esq0205] 2021-02-23 21:28:34 | [Mutex] timeout. Not received [user_regular58u8mq0202@test-domain.com:message:received:content_lf0esq0205] 2021-02-23 21:28:34 | [Mutex] isItemNotified: user_regular58u8mq0202@test-domain.com:message:received:content_lf0esq0205 :: false 2021-02-23 21:28:34 | ===== publishing normal message (to offline) 2021-02-23 21:28:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-23 21:28:34 | command: <data><node>node_e4ymuj0203</node><entry><content>content_xjaust0206</content></entry></data> 2021-02-23 21:28:34 | target: http://localhost:8088 2021-02-23 21:28:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-23 21:28:34 | entity: <data><node>node_e4ymuj0203</node><entry><content>content_xjaust0206</content></entry></data> 2021-02-23 21:28:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:28:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-23 21:28:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6ed4f0b6-53ec-47fc-bfdf-c004b1a993a4</value></item-id></result> 2021-02-23 21:28:34 | contains: true 2021-02-23 21:28:39 | [Mutex] waiting for: [user_regular58u8mq0202@test-domain.com:message:received:content_xjaust0206] 2021-02-23 21:28:39 | [Mutex] waiting for: [user_regular58u8mq0202@test-domain.com:message:received:content_xjaust0206] 2021-02-23 21:28:39 | [Mutex] received everything. 2021-02-23 21:28:39 | [Mutex] isItemNotified: user_regular58u8mq0202@test-domain.com:message:received:content_xjaust0206 :: true 2021-02-23 21:28:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-23 21:28:39 | [Mutex] received everything. 2021-02-23 21:28:39 | [Mutex] isItemNotified: node_e4ymuj0203:subscribe_node:success :: true 2021-02-23 21:28:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-23 21:28:39 | command: <data><node>node_e4ymuj0203</node><expire-at>2021-02-24T05:28:44Z</expire-at><entry><content>content_sl63vg0207</content></entry></data> 2021-02-23 21:28:39 | target: http://localhost:8088 2021-02-23 21:28:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-23 21:28:39 | entity: <data><node>node_e4ymuj0203</node><expire-at>2021-02-24T05:28:44Z</expire-at><entry><content>content_sl63vg0207</content></entry></data> 2021-02-23 21:28:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:28:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-23 21:28:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e9af19af-1712-4d07-8442-59d07d03fb9c</value></item-id></result> 2021-02-23 21:28:39 | contains: true 2021-02-23 21:28:47 | [Mutex] waiting for: [user_regular58u8mq0202@test-domain.com:message:received:content_sl63vg0207] 2021-02-23 21:29:02 | [Mutex] timeout. Not received [user_regular58u8mq0202@test-domain.com:message:received:content_sl63vg0207] 2021-02-23 21:29:02 | [Mutex] received everything. 2021-02-23 21:29:02 | [Mutex] isItemNotified: user_regular58u8mq0202@test-domain.com:message:received:content_sl63vg0207 :: false 2021-02-23 21:29:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sl63vg0207 :: true |