Test duration : 45.120s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.705s |
2020-09-21 23:15:11 |
2020-09-21 23:15:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-21 23:15:11 | ------------------------------------ 2020-09-21 23:15:11 | [Mutex] isItemNotified: node_psfwkt0203:exists :: false 2020-09-21 23:15:11 | [Mutex] waiting for: [node_psfwkt0203:create_node] 2020-09-21 23:15:11 | [Mutex] waiting for: [node_psfwkt0203:create_node] 2020-09-21 23:15:11 | [Mutex] received everything. 2020-09-21 23:15:11 | [Mutex] isItemNotified: node_psfwkt0203:create_node:success :: true 2020-09-21 23:15:11 | [Mutex] waiting for: [node_psfwkt0203:subscribe_node] 2020-09-21 23:15:11 | [Mutex] waiting for: [node_psfwkt0203:subscribe_node] 2020-09-21 23:15:11 | [Mutex] received everything. 2020-09-21 23:15:11 | [Mutex] isItemNotified: node_psfwkt0203:subscribe_node:success :: true 2020-09-21 23:15:11 | ===== publishing normal message (to online) 2020-09-21 23:15:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 23:15:11 | command: <data><node>node_psfwkt0203</node><entry><content>content_e33xp80204</content></entry></data> 2020-09-21 23:15:11 | target: http://localhost:8088 2020-09-21 23:15:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-21 23:15:11 | entity: <data><node>node_psfwkt0203</node><entry><content>content_e33xp80204</content></entry></data> 2020-09-21 23:15:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 06:15:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 23:15:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>369627fd-d7dc-4a00-87a3-55e59c44b31b</value></item-id></result> 2020-09-21 23:15:11 | contains: true 2020-09-21 23:15:11 | [Mutex] received everything. 2020-09-21 23:15:11 | [Mutex] isItemNotified: user_regularm7awxt0202@test-domain.com:message:received:content_e33xp80204 :: true 2020-09-21 23:15:11 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-21 23:15:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 23:15:11 | command: <data><node>node_psfwkt0203</node><expire-at>2020-09-22T06:15:06Z</expire-at><entry><content>content_hd5go70205</content></entry></data> 2020-09-21 23:15:11 | target: http://localhost:8088 2020-09-21 23:15:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-21 23:15:11 | entity: <data><node>node_psfwkt0203</node><expire-at>2020-09-22T06:15:06Z</expire-at><entry><content>content_hd5go70205</content></entry></data> 2020-09-21 23:15:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 06:15:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 23:15:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7ae888a0-c6a6-4e56-938d-9f46ba174201</value></item-id></result> 2020-09-21 23:15:11 | contains: true 2020-09-21 23:15:11 | [Mutex] waiting for: [user_regularm7awxt0202@test-domain.com:message:received:content_hd5go70205] 2020-09-21 23:15:26 | [Mutex] timeout. Not received [user_regularm7awxt0202@test-domain.com:message:received:content_hd5go70205] 2020-09-21 23:15:26 | [Mutex] isItemNotified: user_regularm7awxt0202@test-domain.com:message:received:content_hd5go70205 :: false 2020-09-21 23:15:26 | ===== publishing normal message (to offline) 2020-09-21 23:15:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 23:15:26 | command: <data><node>node_psfwkt0203</node><entry><content>content_4zjbno0206</content></entry></data> 2020-09-21 23:15:26 | target: http://localhost:8088 2020-09-21 23:15:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-21 23:15:26 | entity: <data><node>node_psfwkt0203</node><entry><content>content_4zjbno0206</content></entry></data> 2020-09-21 23:15:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 06:15:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 23:15:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a54619ed-62fb-4f69-9f3b-8964f2625817</value></item-id></result> 2020-09-21 23:15:26 | contains: true 2020-09-21 23:15:32 | [Mutex] waiting for: [user_regularm7awxt0202@test-domain.com:message:received:content_4zjbno0206] 2020-09-21 23:15:32 | [Mutex] received everything. 2020-09-21 23:15:32 | [Mutex] isItemNotified: user_regularm7awxt0202@test-domain.com:message:received:content_4zjbno0206 :: true 2020-09-21 23:15:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-21 23:15:32 | [Mutex] received everything. 2020-09-21 23:15:32 | [Mutex] isItemNotified: node_psfwkt0203:subscribe_node:success :: true 2020-09-21 23:15:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-21 23:15:32 | command: <data><node>node_psfwkt0203</node><expire-at>2020-09-22T06:15:37Z</expire-at><entry><content>content_os19qv0207</content></entry></data> 2020-09-21 23:15:32 | target: http://localhost:8088 2020-09-21 23:15:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-21 23:15:32 | entity: <data><node>node_psfwkt0203</node><expire-at>2020-09-22T06:15:37Z</expire-at><entry><content>content_os19qv0207</content></entry></data> 2020-09-21 23:15:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Sep 2020 06:15:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-21 23:15:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a655dd67-874c-4f10-9cae-a84c3239b325</value></item-id></result> 2020-09-21 23:15:32 | contains: true 2020-09-21 23:15:40 | [Mutex] waiting for: [user_regularm7awxt0202@test-domain.com:message:received:content_os19qv0207] 2020-09-21 23:15:40 | [Mutex] waiting for: [user_regularm7awxt0202@test-domain.com:message:received:content_os19qv0207] 2020-09-21 23:15:55 | [Mutex] timeout. Not received [user_regularm7awxt0202@test-domain.com:message:received:content_os19qv0207] 2020-09-21 23:15:55 | [Mutex] received everything. 2020-09-21 23:15:55 | [Mutex] isItemNotified: user_regularm7awxt0202@test-domain.com:message:received:content_os19qv0207 :: false 2020-09-21 23:15:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_os19qv0207 :: true |