Test duration : 45.460s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.724s |
2020-09-15 22:47:15 |
2020-09-15 22:47:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-15 22:47:15 | ------------------------------------ 2020-09-15 22:47:15 | [Mutex] isItemNotified: node_b4aybb0203:exists :: false 2020-09-15 22:47:15 | [Mutex] waiting for: [node_b4aybb0203:create_node] 2020-09-15 22:47:15 | [Mutex] waiting for: [node_b4aybb0203:create_node] 2020-09-15 22:47:15 | [Mutex] received everything. 2020-09-15 22:47:15 | [Mutex] isItemNotified: node_b4aybb0203:create_node:success :: true 2020-09-15 22:47:15 | [Mutex] waiting for: [node_b4aybb0203:subscribe_node] 2020-09-15 22:47:15 | [Mutex] received everything. 2020-09-15 22:47:15 | [Mutex] isItemNotified: node_b4aybb0203:subscribe_node:success :: true 2020-09-15 22:47:15 | ===== publishing normal message (to online) 2020-09-15 22:47:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 22:47:15 | command: <data><node>node_b4aybb0203</node><entry><content>content_i34ucf0204</content></entry></data> 2020-09-15 22:47:15 | target: http://localhost:8088 2020-09-15 22:47:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-15 22:47:15 | entity: <data><node>node_b4aybb0203</node><entry><content>content_i34ucf0204</content></entry></data> 2020-09-15 22:47:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 05:47:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 22:47:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bb60c49e-e402-4a6d-b387-4d9f9e4a0ddc</value></item-id></result> 2020-09-15 22:47:15 | contains: true 2020-09-15 22:47:15 | [Mutex] received everything. 2020-09-15 22:47:15 | [Mutex] isItemNotified: user_regular5l1cm40202@test-domain.com:message:received:content_i34ucf0204 :: true 2020-09-15 22:47:15 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-15 22:47:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 22:47:15 | command: <data><node>node_b4aybb0203</node><expire-at>2020-09-16T05:47:10Z</expire-at><entry><content>content_a5c2lz0205</content></entry></data> 2020-09-15 22:47:15 | target: http://localhost:8088 2020-09-15 22:47:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-15 22:47:15 | entity: <data><node>node_b4aybb0203</node><expire-at>2020-09-16T05:47:10Z</expire-at><entry><content>content_a5c2lz0205</content></entry></data> 2020-09-15 22:47:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 05:47:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 22:47:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9a0bd009-37ab-43e5-8259-0f6134367a20</value></item-id></result> 2020-09-15 22:47:15 | contains: true 2020-09-15 22:47:15 | [Mutex] waiting for: [user_regular5l1cm40202@test-domain.com:message:received:content_a5c2lz0205] 2020-09-15 22:47:30 | [Mutex] timeout. Not received [user_regular5l1cm40202@test-domain.com:message:received:content_a5c2lz0205] 2020-09-15 22:47:30 | [Mutex] isItemNotified: user_regular5l1cm40202@test-domain.com:message:received:content_a5c2lz0205 :: false 2020-09-15 22:47:30 | ===== publishing normal message (to offline) 2020-09-15 22:47:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 22:47:30 | command: <data><node>node_b4aybb0203</node><entry><content>content_t23q840206</content></entry></data> 2020-09-15 22:47:30 | target: http://localhost:8088 2020-09-15 22:47:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-15 22:47:30 | entity: <data><node>node_b4aybb0203</node><entry><content>content_t23q840206</content></entry></data> 2020-09-15 22:47:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 05:47:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 22:47:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ef70ce56-07d0-4871-8ba3-28f462cb47d5</value></item-id></result> 2020-09-15 22:47:30 | contains: true 2020-09-15 22:47:35 | [Mutex] waiting for: [user_regular5l1cm40202@test-domain.com:message:received:content_t23q840206] 2020-09-15 22:47:35 | [Mutex] received everything. 2020-09-15 22:47:35 | [Mutex] isItemNotified: user_regular5l1cm40202@test-domain.com:message:received:content_t23q840206 :: true 2020-09-15 22:47:35 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-15 22:47:35 | [Mutex] received everything. 2020-09-15 22:47:35 | [Mutex] isItemNotified: node_b4aybb0203:subscribe_node:success :: true 2020-09-15 22:47:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 22:47:35 | command: <data><node>node_b4aybb0203</node><expire-at>2020-09-16T05:47:40Z</expire-at><entry><content>content_hmfy5f0207</content></entry></data> 2020-09-15 22:47:35 | target: http://localhost:8088 2020-09-15 22:47:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-15 22:47:35 | entity: <data><node>node_b4aybb0203</node><expire-at>2020-09-16T05:47:40Z</expire-at><entry><content>content_hmfy5f0207</content></entry></data> 2020-09-15 22:47:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 05:47:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 22:47:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0296346b-4336-4966-92a9-adb9aa6c57f3</value></item-id></result> 2020-09-15 22:47:35 | contains: true 2020-09-15 22:47:44 | [Mutex] waiting for: [user_regular5l1cm40202@test-domain.com:message:received:content_hmfy5f0207] 2020-09-15 22:47:44 | [Mutex] waiting for: [user_regular5l1cm40202@test-domain.com:message:received:content_hmfy5f0207] 2020-09-15 22:47:59 | [Mutex] timeout. Not received [user_regular5l1cm40202@test-domain.com:message:received:content_hmfy5f0207] 2020-09-15 22:47:59 | [Mutex] received everything. 2020-09-15 22:47:59 | [Mutex] isItemNotified: user_regular5l1cm40202@test-domain.com:message:received:content_hmfy5f0207 :: false 2020-09-15 22:47:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hmfy5f0207 :: true |