Test duration : 45.557s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.664s |
2021-10-07 22:35:50 |
2021-10-07 22:35:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-07 22:35:50 | ------------------------------------ 2021-10-07 22:35:50 | [Mutex] isItemNotified: node_wlbb3r0203:exists :: false 2021-10-07 22:35:50 | [Mutex] waiting for: [node_wlbb3r0203:create_node] 2021-10-07 22:35:50 | [Mutex] received everything. 2021-10-07 22:35:50 | [Mutex] isItemNotified: node_wlbb3r0203:create_node:success :: true 2021-10-07 22:35:50 | [Mutex] waiting for: [node_wlbb3r0203:subscribe_node] 2021-10-07 22:35:50 | [Mutex] received everything. 2021-10-07 22:35:50 | [Mutex] isItemNotified: node_wlbb3r0203:subscribe_node:success :: true 2021-10-07 22:35:50 | ===== publishing normal message (to online) 2021-10-07 22:35:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:35:50 | command: <data><node>node_wlbb3r0203</node><entry><content>content_7x5ksi0204</content></entry></data> 2021-10-07 22:35:50 | target: http://localhost:8088 2021-10-07 22:35:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-07 22:35:50 | entity: <data><node>node_wlbb3r0203</node><entry><content>content_7x5ksi0204</content></entry></data> 2021-10-07 22:35:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:35:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:35:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>088a7091-a7bd-4965-937c-5803af5994a0</value></item-id></result> 2021-10-07 22:35:50 | contains: true 2021-10-07 22:35:50 | [Mutex] received everything. 2021-10-07 22:35:50 | [Mutex] isItemNotified: user_regularu4e8ef0202@test-domain.com:message:received:content_7x5ksi0204 :: true 2021-10-07 22:35:50 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-07 22:35:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:35:50 | command: <data><node>node_wlbb3r0203</node><expire-at>2021-10-08T05:35:45Z</expire-at><entry><content>content_ts7rse0205</content></entry></data> 2021-10-07 22:35:50 | target: http://localhost:8088 2021-10-07 22:35:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-07 22:35:50 | entity: <data><node>node_wlbb3r0203</node><expire-at>2021-10-08T05:35:45Z</expire-at><entry><content>content_ts7rse0205</content></entry></data> 2021-10-07 22:35:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:35:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:35:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4255231e-edef-49b7-a057-090392f7be8c</value></item-id></result> 2021-10-07 22:35:50 | contains: true 2021-10-07 22:35:50 | [Mutex] waiting for: [user_regularu4e8ef0202@test-domain.com:message:received:content_ts7rse0205] 2021-10-07 22:36:05 | [Mutex] timeout. Not received [user_regularu4e8ef0202@test-domain.com:message:received:content_ts7rse0205] 2021-10-07 22:36:05 | [Mutex] isItemNotified: user_regularu4e8ef0202@test-domain.com:message:received:content_ts7rse0205 :: false 2021-10-07 22:36:05 | ===== publishing normal message (to offline) 2021-10-07 22:36:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:36:05 | command: <data><node>node_wlbb3r0203</node><entry><content>content_86aun00206</content></entry></data> 2021-10-07 22:36:05 | target: http://localhost:8088 2021-10-07 22:36:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-07 22:36:05 | entity: <data><node>node_wlbb3r0203</node><entry><content>content_86aun00206</content></entry></data> 2021-10-07 22:36:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:36:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:36:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2da43653-579e-4ffb-8c04-4500f9a6be36</value></item-id></result> 2021-10-07 22:36:05 | contains: true 2021-10-07 22:36:10 | [Mutex] waiting for: [user_regularu4e8ef0202@test-domain.com:message:received:content_86aun00206] 2021-10-07 22:36:10 | [Mutex] waiting for: [user_regularu4e8ef0202@test-domain.com:message:received:content_86aun00206] 2021-10-07 22:36:10 | [Mutex] received everything. 2021-10-07 22:36:10 | [Mutex] isItemNotified: user_regularu4e8ef0202@test-domain.com:message:received:content_86aun00206 :: true 2021-10-07 22:36:10 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-07 22:36:10 | [Mutex] received everything. 2021-10-07 22:36:10 | [Mutex] isItemNotified: node_wlbb3r0203:subscribe_node:success :: true 2021-10-07 22:36:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:36:10 | command: <data><node>node_wlbb3r0203</node><expire-at>2021-10-08T05:36:15Z</expire-at><entry><content>content_2e270b0207</content></entry></data> 2021-10-07 22:36:10 | target: http://localhost:8088 2021-10-07 22:36:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-07 22:36:10 | entity: <data><node>node_wlbb3r0203</node><expire-at>2021-10-08T05:36:15Z</expire-at><entry><content>content_2e270b0207</content></entry></data> 2021-10-07 22:36:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:36:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:36:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ccea7511-5a0d-46ea-a2d4-53393cbd2b04</value></item-id></result> 2021-10-07 22:36:10 | contains: true 2021-10-07 22:36:18 | [Mutex] waiting for: [user_regularu4e8ef0202@test-domain.com:message:received:content_2e270b0207] 2021-10-07 22:36:18 | [Mutex] waiting for: [user_regularu4e8ef0202@test-domain.com:message:received:content_2e270b0207] 2021-10-07 22:36:18 | [Mutex] waiting for: [user_regularu4e8ef0202@test-domain.com:message:received:content_2e270b0207] 2021-10-07 22:36:33 | [Mutex] timeout. Not received [user_regularu4e8ef0202@test-domain.com:message:received:content_2e270b0207] 2021-10-07 22:36:33 | [Mutex] received everything. 2021-10-07 22:36:33 | [Mutex] isItemNotified: user_regularu4e8ef0202@test-domain.com:message:received:content_2e270b0207 :: false 2021-10-07 22:36:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2e270b0207 :: true |