Test duration : 45.880s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.830s |
2020-11-23 21:28:59 |
2020-11-23 21:28:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-23 21:28:59 | ------------------------------------ 2020-11-23 21:28:59 | [Mutex] isItemNotified: node_a9wa120203:exists :: false 2020-11-23 21:28:59 | [Mutex] waiting for: [node_a9wa120203:create_node] 2020-11-23 21:28:59 | [Mutex] received everything. 2020-11-23 21:28:59 | [Mutex] isItemNotified: node_a9wa120203:create_node:success :: true 2020-11-23 21:28:59 | [Mutex] waiting for: [node_a9wa120203:subscribe_node] 2020-11-23 21:28:59 | [Mutex] waiting for: [node_a9wa120203:subscribe_node] 2020-11-23 21:28:59 | [Mutex] received everything. 2020-11-23 21:28:59 | [Mutex] isItemNotified: node_a9wa120203:subscribe_node:success :: true 2020-11-23 21:28:59 | ===== publishing normal message (to online) 2020-11-23 21:28:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-23 21:28:59 | command: <data><node>node_a9wa120203</node><entry><content>content_bh8yjk0204</content></entry></data> 2020-11-23 21:28:59 | target: http://localhost:8088 2020-11-23 21:28:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-23 21:28:59 | entity: <data><node>node_a9wa120203</node><entry><content>content_bh8yjk0204</content></entry></data> 2020-11-23 21:28:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 05:28:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-23 21:28:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ab8706e2-acc4-4ceb-9026-455644631f69</value></item-id></result> 2020-11-23 21:28:59 | contains: true 2020-11-23 21:28:59 | [Mutex] received everything. 2020-11-23 21:28:59 | [Mutex] isItemNotified: user_regularsuop400202@test-domain.com:message:received:content_bh8yjk0204 :: true 2020-11-23 21:28:59 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-23 21:28:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-23 21:28:59 | command: <data><node>node_a9wa120203</node><expire-at>2020-11-24T05:28:54Z</expire-at><entry><content>content_81d1eb0205</content></entry></data> 2020-11-23 21:28:59 | target: http://localhost:8088 2020-11-23 21:28:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-23 21:28:59 | entity: <data><node>node_a9wa120203</node><expire-at>2020-11-24T05:28:54Z</expire-at><entry><content>content_81d1eb0205</content></entry></data> 2020-11-23 21:28:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 05:28:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-23 21:28:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2b830633-f6da-46d0-9f98-be603d6a46fa</value></item-id></result> 2020-11-23 21:28:59 | contains: true 2020-11-23 21:28:59 | [Mutex] waiting for: [user_regularsuop400202@test-domain.com:message:received:content_81d1eb0205] 2020-11-23 21:29:14 | [Mutex] timeout. Not received [user_regularsuop400202@test-domain.com:message:received:content_81d1eb0205] 2020-11-23 21:29:14 | [Mutex] isItemNotified: user_regularsuop400202@test-domain.com:message:received:content_81d1eb0205 :: false 2020-11-23 21:29:14 | ===== publishing normal message (to offline) 2020-11-23 21:29:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-23 21:29:14 | command: <data><node>node_a9wa120203</node><entry><content>content_g6jh5k0206</content></entry></data> 2020-11-23 21:29:14 | target: http://localhost:8088 2020-11-23 21:29:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-23 21:29:14 | entity: <data><node>node_a9wa120203</node><entry><content>content_g6jh5k0206</content></entry></data> 2020-11-23 21:29:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 05:29:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-23 21:29:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e674dcd6-516e-4ff2-a3db-58d115d9dbe7</value></item-id></result> 2020-11-23 21:29:14 | contains: true 2020-11-23 21:29:19 | [Mutex] waiting for: [user_regularsuop400202@test-domain.com:message:received:content_g6jh5k0206] 2020-11-23 21:29:19 | [Mutex] waiting for: [user_regularsuop400202@test-domain.com:message:received:content_g6jh5k0206] 2020-11-23 21:29:19 | [Mutex] received everything. 2020-11-23 21:29:19 | [Mutex] isItemNotified: user_regularsuop400202@test-domain.com:message:received:content_g6jh5k0206 :: true 2020-11-23 21:29:19 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-23 21:29:19 | [Mutex] received everything. 2020-11-23 21:29:19 | [Mutex] isItemNotified: node_a9wa120203:subscribe_node:success :: true 2020-11-23 21:29:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-23 21:29:19 | command: <data><node>node_a9wa120203</node><expire-at>2020-11-24T05:29:24Z</expire-at><entry><content>content_1hyots0207</content></entry></data> 2020-11-23 21:29:19 | target: http://localhost:8088 2020-11-23 21:29:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-23 21:29:19 | entity: <data><node>node_a9wa120203</node><expire-at>2020-11-24T05:29:24Z</expire-at><entry><content>content_1hyots0207</content></entry></data> 2020-11-23 21:29:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 05:29:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-23 21:29:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c50a90b-1258-4994-8c1d-8056444e8413</value></item-id></result> 2020-11-23 21:29:19 | contains: true 2020-11-23 21:29:27 | [Mutex] waiting for: [user_regularsuop400202@test-domain.com:message:received:content_1hyots0207] 2020-11-23 21:29:27 | [Mutex] waiting for: [user_regularsuop400202@test-domain.com:message:received:content_1hyots0207] 2020-11-23 21:29:42 | [Mutex] timeout. Not received [user_regularsuop400202@test-domain.com:message:received:content_1hyots0207] 2020-11-23 21:29:42 | [Mutex] received everything. 2020-11-23 21:29:42 | [Mutex] isItemNotified: user_regularsuop400202@test-domain.com:message:received:content_1hyots0207 :: false 2020-11-23 21:29:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1hyots0207 :: true |