Test duration : 45.239s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.690s |
2020-09-21 22:47:49 |
2020-09-21 22:47:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-21 22:47:49 | ------------------------------------ 2020-09-21 22:47:49 | [Mutex] isItemNotified: node_uoxu8k0203:exists :: false 2020-09-21 22:47:49 | [Mutex] waiting for: [node_uoxu8k0203:create_node] 2020-09-21 22:47:49 | [Mutex] received everything. 2020-09-21 22:47:49 | [Mutex] isItemNotified: node_uoxu8k0203:create_node:success :: true 2020-09-21 22:47:49 | [Mutex] waiting for: [node_uoxu8k0203:subscribe_node] 2020-09-21 22:47:49 | [Mutex] received everything. 2020-09-21 22:47:49 | [Mutex] isItemNotified: node_uoxu8k0203:subscribe_node:success :: true 2020-09-21 22:47:49 | ===== publishing normal message (to online) 2020-09-21 22:47:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 22:47:49 | command: <data><node>node_uoxu8k0203</node><entry><content>content_b5o8te0204</content></entry></data> 2020-09-21 22:47:49 | target: http://localhost:8088 2020-09-21 22:47:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-21 22:47:49 | entity: <data><node>node_uoxu8k0203</node><entry><content>content_b5o8te0204</content></entry></data> 2020-09-21 22:47:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 05:47:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 22:47:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4ef2cea1-ab4f-489a-bfd3-abc70e45f928</value></item-id></result> 2020-09-21 22:47:49 | contains: true 2020-09-21 22:47:49 | [Mutex] waiting for: [user_regularrjz15o0202@test-domain.com:message:received:content_b5o8te0204] 2020-09-21 22:47:49 | [Mutex] received everything. 2020-09-21 22:47:49 | [Mutex] isItemNotified: user_regularrjz15o0202@test-domain.com:message:received:content_b5o8te0204 :: true 2020-09-21 22:47:49 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-21 22:47:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 22:47:49 | command: <data><node>node_uoxu8k0203</node><expire-at>2020-09-22T05:47:44Z</expire-at><entry><content>content_ug8nuw0205</content></entry></data> 2020-09-21 22:47:49 | target: http://localhost:8088 2020-09-21 22:47:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-21 22:47:49 | entity: <data><node>node_uoxu8k0203</node><expire-at>2020-09-22T05:47:44Z</expire-at><entry><content>content_ug8nuw0205</content></entry></data> 2020-09-21 22:47:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 05:47:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 22:47:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fd3760b4-21be-493f-a0e2-ed6b810f7d2d</value></item-id></result> 2020-09-21 22:47:49 | contains: true 2020-09-21 22:47:49 | [Mutex] waiting for: [user_regularrjz15o0202@test-domain.com:message:received:content_ug8nuw0205] 2020-09-21 22:48:04 | [Mutex] timeout. Not received [user_regularrjz15o0202@test-domain.com:message:received:content_ug8nuw0205] 2020-09-21 22:48:04 | [Mutex] isItemNotified: user_regularrjz15o0202@test-domain.com:message:received:content_ug8nuw0205 :: false 2020-09-21 22:48:04 | ===== publishing normal message (to offline) 2020-09-21 22:48:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 22:48:04 | command: <data><node>node_uoxu8k0203</node><entry><content>content_31nozj0206</content></entry></data> 2020-09-21 22:48:04 | target: http://localhost:8088 2020-09-21 22:48:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-21 22:48:04 | entity: <data><node>node_uoxu8k0203</node><entry><content>content_31nozj0206</content></entry></data> 2020-09-21 22:48:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 05:48:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 22:48:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9997f46e-c560-414c-bdc4-e8b7c9d1cacd</value></item-id></result> 2020-09-21 22:48:04 | contains: true 2020-09-21 22:48:09 | [Mutex] waiting for: [user_regularrjz15o0202@test-domain.com:message:received:content_31nozj0206] 2020-09-21 22:48:09 | [Mutex] received everything. 2020-09-21 22:48:09 | [Mutex] isItemNotified: user_regularrjz15o0202@test-domain.com:message:received:content_31nozj0206 :: true 2020-09-21 22:48:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-21 22:48:09 | [Mutex] received everything. 2020-09-21 22:48:09 | [Mutex] isItemNotified: node_uoxu8k0203:subscribe_node:success :: true 2020-09-21 22:48:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 22:48:09 | command: <data><node>node_uoxu8k0203</node><expire-at>2020-09-22T05:48:14Z</expire-at><entry><content>content_o57sid0207</content></entry></data> 2020-09-21 22:48:09 | target: http://localhost:8088 2020-09-21 22:48:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-21 22:48:09 | entity: <data><node>node_uoxu8k0203</node><expire-at>2020-09-22T05:48:14Z</expire-at><entry><content>content_o57sid0207</content></entry></data> 2020-09-21 22:48:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 05:48:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 22:48:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>43b34460-4f0a-4afe-9d30-a5ccef9e8357</value></item-id></result> 2020-09-21 22:48:09 | contains: true 2020-09-21 22:48:18 | [Mutex] waiting for: [user_regularrjz15o0202@test-domain.com:message:received:content_o57sid0207] 2020-09-21 22:48:18 | [Mutex] waiting for: [user_regularrjz15o0202@test-domain.com:message:received:content_o57sid0207] 2020-09-21 22:48:33 | [Mutex] timeout. Not received [user_regularrjz15o0202@test-domain.com:message:received:content_o57sid0207] 2020-09-21 22:48:33 | [Mutex] received everything. 2020-09-21 22:48:33 | [Mutex] isItemNotified: user_regularrjz15o0202@test-domain.com:message:received:content_o57sid0207 :: false 2020-09-21 22:48:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o57sid0207 :: true |