Test duration : 45.564s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.909s |
2020-10-09 22:32:51 |
2020-10-09 22:32:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-09 22:32:51 | ------------------------------------ 2020-10-09 22:32:51 | [Mutex] isItemNotified: node_xh4n9d0203:exists :: false 2020-10-09 22:32:51 | [Mutex] waiting for: [node_xh4n9d0203:create_node] 2020-10-09 22:32:51 | [Mutex] received everything. 2020-10-09 22:32:51 | [Mutex] isItemNotified: node_xh4n9d0203:create_node:success :: true 2020-10-09 22:32:51 | [Mutex] waiting for: [node_xh4n9d0203:subscribe_node] 2020-10-09 22:32:51 | [Mutex] waiting for: [node_xh4n9d0203:subscribe_node] 2020-10-09 22:32:51 | [Mutex] received everything. 2020-10-09 22:32:51 | [Mutex] isItemNotified: node_xh4n9d0203:subscribe_node:success :: true 2020-10-09 22:32:51 | ===== publishing normal message (to online) 2020-10-09 22:32:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-09 22:32:51 | command: <data><node>node_xh4n9d0203</node><entry><content>content_owa29p0204</content></entry></data> 2020-10-09 22:32:51 | target: http://localhost:8088 2020-10-09 22:32:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-09 22:32:51 | entity: <data><node>node_xh4n9d0203</node><entry><content>content_owa29p0204</content></entry></data> 2020-10-09 22:32:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 05:32:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-09 22:32:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>63ead551-db7e-47d5-b004-4e406c89a5e1</value></item-id></result> 2020-10-09 22:32:51 | contains: true 2020-10-09 22:32:51 | [Mutex] received everything. 2020-10-09 22:32:51 | [Mutex] isItemNotified: user_regulara1b8z80202@test-domain.com:message:received:content_owa29p0204 :: true 2020-10-09 22:32:51 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-09 22:32:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-09 22:32:51 | command: <data><node>node_xh4n9d0203</node><expire-at>2020-10-10T05:32:46Z</expire-at><entry><content>content_k8czb10205</content></entry></data> 2020-10-09 22:32:51 | target: http://localhost:8088 2020-10-09 22:32:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-09 22:32:51 | entity: <data><node>node_xh4n9d0203</node><expire-at>2020-10-10T05:32:46Z</expire-at><entry><content>content_k8czb10205</content></entry></data> 2020-10-09 22:32:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 05:32:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-09 22:32:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a6a17939-1912-4100-93eb-6cf960d06272</value></item-id></result> 2020-10-09 22:32:51 | contains: true 2020-10-09 22:32:51 | [Mutex] waiting for: [user_regulara1b8z80202@test-domain.com:message:received:content_k8czb10205] 2020-10-09 22:33:06 | [Mutex] timeout. Not received [user_regulara1b8z80202@test-domain.com:message:received:content_k8czb10205] 2020-10-09 22:33:06 | [Mutex] isItemNotified: user_regulara1b8z80202@test-domain.com:message:received:content_k8czb10205 :: false 2020-10-09 22:33:06 | ===== publishing normal message (to offline) 2020-10-09 22:33:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-09 22:33:06 | command: <data><node>node_xh4n9d0203</node><entry><content>content_2ri0nu0206</content></entry></data> 2020-10-09 22:33:06 | target: http://localhost:8088 2020-10-09 22:33:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-09 22:33:06 | entity: <data><node>node_xh4n9d0203</node><entry><content>content_2ri0nu0206</content></entry></data> 2020-10-09 22:33:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 05:33:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-09 22:33:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b6327923-a066-4415-8275-a2007b5290b4</value></item-id></result> 2020-10-09 22:33:06 | contains: true 2020-10-09 22:33:12 | [Mutex] waiting for: [user_regulara1b8z80202@test-domain.com:message:received:content_2ri0nu0206] 2020-10-09 22:33:12 | [Mutex] waiting for: [user_regulara1b8z80202@test-domain.com:message:received:content_2ri0nu0206] 2020-10-09 22:33:12 | [Mutex] received everything. 2020-10-09 22:33:12 | [Mutex] isItemNotified: user_regulara1b8z80202@test-domain.com:message:received:content_2ri0nu0206 :: true 2020-10-09 22:33:12 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-09 22:33:12 | [Mutex] received everything. 2020-10-09 22:33:12 | [Mutex] isItemNotified: node_xh4n9d0203:subscribe_node:success :: true 2020-10-09 22:33:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-09 22:33:12 | command: <data><node>node_xh4n9d0203</node><expire-at>2020-10-10T05:33:17Z</expire-at><entry><content>content_uwfgq30207</content></entry></data> 2020-10-09 22:33:12 | target: http://localhost:8088 2020-10-09 22:33:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-09 22:33:12 | entity: <data><node>node_xh4n9d0203</node><expire-at>2020-10-10T05:33:17Z</expire-at><entry><content>content_uwfgq30207</content></entry></data> 2020-10-09 22:33:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 10 Oct 2020 05:33:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-09 22:33:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bc8f0220-8a10-4e77-9a65-8ecc765ced9d</value></item-id></result> 2020-10-09 22:33:12 | contains: true 2020-10-09 22:33:20 | [Mutex] waiting for: [user_regulara1b8z80202@test-domain.com:message:received:content_uwfgq30207] 2020-10-09 22:33:20 | [Mutex] waiting for: [user_regulara1b8z80202@test-domain.com:message:received:content_uwfgq30207] 2020-10-09 22:33:35 | [Mutex] timeout. Not received [user_regulara1b8z80202@test-domain.com:message:received:content_uwfgq30207] 2020-10-09 22:33:35 | [Mutex] received everything. 2020-10-09 22:33:35 | [Mutex] isItemNotified: user_regulara1b8z80202@test-domain.com:message:received:content_uwfgq30207 :: false 2020-10-09 22:33:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uwfgq30207 :: true |