Test duration : 45.751s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.773s |
2022-02-07 21:50:56 |
2022-02-07 21:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-07 21:50:56 | ------------------------------------ 2022-02-07 21:50:56 | [Mutex] isItemNotified: node_x6jae90203:exists :: false 2022-02-07 21:50:56 | [Mutex] waiting for: [node_x6jae90203:create_node] 2022-02-07 21:50:56 | [Mutex] received everything. 2022-02-07 21:50:56 | [Mutex] isItemNotified: node_x6jae90203:create_node:success :: true 2022-02-07 21:50:56 | [Mutex] waiting for: [node_x6jae90203:subscribe_node] 2022-02-07 21:50:56 | [Mutex] waiting for: [node_x6jae90203:subscribe_node] 2022-02-07 21:50:56 | [Mutex] received everything. 2022-02-07 21:50:56 | [Mutex] isItemNotified: node_x6jae90203:subscribe_node:success :: true 2022-02-07 21:50:56 | ===== publishing normal message (to online) 2022-02-07 21:50:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:50:56 | command: <data><node>node_x6jae90203</node><entry><content>content_iuqx210204</content></entry></data> 2022-02-07 21:50:56 | target: http://localhost:8088 2022-02-07 21:50:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-07 21:50:56 | entity: <data><node>node_x6jae90203</node><entry><content>content_iuqx210204</content></entry></data> 2022-02-07 21:50:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:50:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:50:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c381a09-8032-4286-b098-d3114a5bdc7f</value></item-id></result> 2022-02-07 21:50:56 | contains: true 2022-02-07 21:50:56 | [Mutex] received everything. 2022-02-07 21:50:56 | [Mutex] isItemNotified: user_regular8ee42z0202@test-domain.com:message:received:content_iuqx210204 :: true 2022-02-07 21:50:56 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-07 21:50:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:50:56 | command: <data><node>node_x6jae90203</node><expire-at>2022-02-08T05:50:51Z</expire-at><entry><content>content_4y59rl0205</content></entry></data> 2022-02-07 21:50:56 | target: http://localhost:8088 2022-02-07 21:50:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-07 21:50:56 | entity: <data><node>node_x6jae90203</node><expire-at>2022-02-08T05:50:51Z</expire-at><entry><content>content_4y59rl0205</content></entry></data> 2022-02-07 21:50:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:50:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:50:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>765926b3-cad7-4af2-b092-6c90c793ab15</value></item-id></result> 2022-02-07 21:50:56 | contains: true 2022-02-07 21:50:56 | [Mutex] waiting for: [user_regular8ee42z0202@test-domain.com:message:received:content_4y59rl0205] 2022-02-07 21:51:11 | [Mutex] timeout. Not received [user_regular8ee42z0202@test-domain.com:message:received:content_4y59rl0205] 2022-02-07 21:51:11 | [Mutex] isItemNotified: user_regular8ee42z0202@test-domain.com:message:received:content_4y59rl0205 :: false 2022-02-07 21:51:11 | ===== publishing normal message (to offline) 2022-02-07 21:51:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:51:11 | command: <data><node>node_x6jae90203</node><entry><content>content_lf5z8b0206</content></entry></data> 2022-02-07 21:51:11 | target: http://localhost:8088 2022-02-07 21:51:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-07 21:51:11 | entity: <data><node>node_x6jae90203</node><entry><content>content_lf5z8b0206</content></entry></data> 2022-02-07 21:51:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:51:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:51:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9efc9cca-1a2c-4795-a023-57c0654bda91</value></item-id></result> 2022-02-07 21:51:11 | contains: true 2022-02-07 21:51:16 | [Mutex] waiting for: [user_regular8ee42z0202@test-domain.com:message:received:content_lf5z8b0206] 2022-02-07 21:51:16 | [Mutex] waiting for: [user_regular8ee42z0202@test-domain.com:message:received:content_lf5z8b0206] 2022-02-07 21:51:16 | [Mutex] received everything. 2022-02-07 21:51:16 | [Mutex] isItemNotified: user_regular8ee42z0202@test-domain.com:message:received:content_lf5z8b0206 :: true 2022-02-07 21:51:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-07 21:51:16 | [Mutex] received everything. 2022-02-07 21:51:16 | [Mutex] isItemNotified: node_x6jae90203:subscribe_node:success :: true 2022-02-07 21:51:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:51:16 | command: <data><node>node_x6jae90203</node><expire-at>2022-02-08T05:51:21Z</expire-at><entry><content>content_cu97ug0207</content></entry></data> 2022-02-07 21:51:16 | target: http://localhost:8088 2022-02-07 21:51:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-07 21:51:16 | entity: <data><node>node_x6jae90203</node><expire-at>2022-02-08T05:51:21Z</expire-at><entry><content>content_cu97ug0207</content></entry></data> 2022-02-07 21:51:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:51:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:51:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>12092e94-aa21-4ed6-930a-7e7da628ebca</value></item-id></result> 2022-02-07 21:51:16 | contains: true 2022-02-07 21:51:24 | [Mutex] waiting for: [user_regular8ee42z0202@test-domain.com:message:received:content_cu97ug0207] 2022-02-07 21:51:24 | [Mutex] waiting for: [user_regular8ee42z0202@test-domain.com:message:received:content_cu97ug0207] 2022-02-07 21:51:39 | [Mutex] timeout. Not received [user_regular8ee42z0202@test-domain.com:message:received:content_cu97ug0207] 2022-02-07 21:51:39 | [Mutex] received everything. 2022-02-07 21:51:39 | [Mutex] isItemNotified: user_regular8ee42z0202@test-domain.com:message:received:content_cu97ug0207 :: false 2022-02-07 21:51:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cu97ug0207 :: true |