Test duration : 44.602s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.632s |
2022-08-08 22:34:19 |
2022-08-08 22:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-08 22:34:19 | ------------------------------------ 2022-08-08 22:34:19 | [Mutex] isItemNotified: node_dis4iv0204:exists :: false 2022-08-08 22:34:19 | [Mutex] waiting for: [node_dis4iv0204:create_node] 2022-08-08 22:34:19 | [Mutex] waiting for: [node_dis4iv0204:create_node] 2022-08-08 22:34:19 | [Mutex] received everything. 2022-08-08 22:34:19 | [Mutex] isItemNotified: node_dis4iv0204:create_node:success :: true 2022-08-08 22:34:19 | [Mutex] waiting for: [node_dis4iv0204:subscribe_node] 2022-08-08 22:34:19 | [Mutex] received everything. 2022-08-08 22:34:19 | [Mutex] isItemNotified: node_dis4iv0204:subscribe_node:success :: true 2022-08-08 22:34:19 | ===== publishing normal message (to online) 2022-08-08 22:34:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-08 22:34:19 | command: <data><node>node_dis4iv0204</node><entry><content>content_79j5oq0205</content></entry></data> 2022-08-08 22:34:19 | target: http://localhost:8088 2022-08-08 22:34:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-08 22:34:19 | entity: <data><node>node_dis4iv0204</node><entry><content>content_79j5oq0205</content></entry></data> 2022-08-08 22:34:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:34:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-08 22:34:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>83b8b4e6-b106-4e1a-8755-b9ea37675f05</value></item-id></result> 2022-08-08 22:34:19 | contains: true 2022-08-08 22:34:19 | [Mutex] received everything. 2022-08-08 22:34:19 | [Mutex] isItemNotified: user_regularada8y20203@test-domain.com:message:received:content_79j5oq0205 :: true 2022-08-08 22:34:19 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-08 22:34:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-08 22:34:19 | command: <data><node>node_dis4iv0204</node><expire-at>2022-08-09T05:34:14Z</expire-at><entry><content>content_vtyjbh0206</content></entry></data> 2022-08-08 22:34:19 | target: http://localhost:8088 2022-08-08 22:34:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-08 22:34:19 | entity: <data><node>node_dis4iv0204</node><expire-at>2022-08-09T05:34:14Z</expire-at><entry><content>content_vtyjbh0206</content></entry></data> 2022-08-08 22:34:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:34:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-08 22:34:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c94f91c3-5e67-44f0-b981-47b3b19e96a9</value></item-id></result> 2022-08-08 22:34:19 | contains: true 2022-08-08 22:34:19 | [Mutex] waiting for: [user_regularada8y20203@test-domain.com:message:received:content_vtyjbh0206] 2022-08-08 22:34:34 | [Mutex] timeout. Not received [user_regularada8y20203@test-domain.com:message:received:content_vtyjbh0206] 2022-08-08 22:34:34 | [Mutex] isItemNotified: user_regularada8y20203@test-domain.com:message:received:content_vtyjbh0206 :: false 2022-08-08 22:34:34 | ===== publishing normal message (to offline) 2022-08-08 22:34:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-08 22:34:34 | command: <data><node>node_dis4iv0204</node><entry><content>content_jym04g0207</content></entry></data> 2022-08-08 22:34:34 | target: http://localhost:8088 2022-08-08 22:34:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-08 22:34:34 | entity: <data><node>node_dis4iv0204</node><entry><content>content_jym04g0207</content></entry></data> 2022-08-08 22:34:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:34:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-08 22:34:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>456a6b07-02ba-4ba8-878c-9ecd1afc326d</value></item-id></result> 2022-08-08 22:34:34 | contains: true 2022-08-08 22:34:39 | [Mutex] waiting for: [user_regularada8y20203@test-domain.com:message:received:content_jym04g0207] 2022-08-08 22:34:39 | [Mutex] waiting for: [user_regularada8y20203@test-domain.com:message:received:content_jym04g0207] 2022-08-08 22:34:39 | [Mutex] received everything. 2022-08-08 22:34:39 | [Mutex] isItemNotified: user_regularada8y20203@test-domain.com:message:received:content_jym04g0207 :: true 2022-08-08 22:34:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-08 22:34:39 | [Mutex] received everything. 2022-08-08 22:34:39 | [Mutex] isItemNotified: node_dis4iv0204:subscribe_node:success :: true 2022-08-08 22:34:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-08 22:34:39 | command: <data><node>node_dis4iv0204</node><expire-at>2022-08-09T05:34:44Z</expire-at><entry><content>content_bc1u5e0208</content></entry></data> 2022-08-08 22:34:39 | target: http://localhost:8088 2022-08-08 22:34:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-08 22:34:39 | entity: <data><node>node_dis4iv0204</node><expire-at>2022-08-09T05:34:44Z</expire-at><entry><content>content_bc1u5e0208</content></entry></data> 2022-08-08 22:34:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Aug 2022 05:34:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-08 22:34:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fce79259-df6f-47ad-918c-20dad877b97d</value></item-id></result> 2022-08-08 22:34:39 | contains: true 2022-08-08 22:34:48 | [Mutex] waiting for: [user_regularada8y20203@test-domain.com:message:received:content_bc1u5e0208] 2022-08-08 22:34:48 | [Mutex] waiting for: [user_regularada8y20203@test-domain.com:message:received:content_bc1u5e0208] 2022-08-08 22:35:03 | [Mutex] timeout. Not received [user_regularada8y20203@test-domain.com:message:received:content_bc1u5e0208] 2022-08-08 22:35:03 | [Mutex] received everything. 2022-08-08 22:35:03 | [Mutex] isItemNotified: user_regularada8y20203@test-domain.com:message:received:content_bc1u5e0208 :: false 2022-08-08 22:35:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bc1u5e0208 :: true |