Test duration : 45.085s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.761s |
2020-08-26 17:14:52 |
2020-08-26 17:14:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-26 17:14:52 | ------------------------------------ 2020-08-26 17:14:52 | [Mutex] isItemNotified: node_9ela5x0203:exists :: false 2020-08-26 17:14:52 | [Mutex] waiting for: [node_9ela5x0203:create_node] 2020-08-26 17:14:52 | [Mutex] received everything. 2020-08-26 17:14:52 | [Mutex] isItemNotified: node_9ela5x0203:create_node:success :: true 2020-08-26 17:14:52 | [Mutex] waiting for: [node_9ela5x0203:subscribe_node] 2020-08-26 17:14:52 | [Mutex] waiting for: [node_9ela5x0203:subscribe_node] 2020-08-26 17:14:52 | [Mutex] received everything. 2020-08-26 17:14:52 | [Mutex] isItemNotified: node_9ela5x0203:subscribe_node:success :: true 2020-08-26 17:14:52 | ===== publishing normal message (to online) 2020-08-26 17:14:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 17:14:52 | command: <data><node>node_9ela5x0203</node><entry><content>content_1md3400204</content></entry></data> 2020-08-26 17:14:52 | target: http://localhost:8088 2020-08-26 17:14:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-26 17:14:52 | entity: <data><node>node_9ela5x0203</node><entry><content>content_1md3400204</content></entry></data> 2020-08-26 17:14:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 00:14:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 17:14:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5c998402-b52f-4549-9fd4-9dfbe084a884</value></item-id></result> 2020-08-26 17:14:52 | contains: true 2020-08-26 17:14:52 | [Mutex] received everything. 2020-08-26 17:14:52 | [Mutex] isItemNotified: user_regular379ybk0202@test-domain.com:message:received:content_1md3400204 :: true 2020-08-26 17:14:52 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-26 17:14:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 17:14:52 | command: <data><node>node_9ela5x0203</node><expire-at>2020-08-27T00:14:47Z</expire-at><entry><content>content_91yjxv0205</content></entry></data> 2020-08-26 17:14:52 | target: http://localhost:8088 2020-08-26 17:14:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-26 17:14:52 | entity: <data><node>node_9ela5x0203</node><expire-at>2020-08-27T00:14:47Z</expire-at><entry><content>content_91yjxv0205</content></entry></data> 2020-08-26 17:14:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 00:14:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 17:14:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>604b79e3-f9ac-47c3-a9e9-d5de05d77036</value></item-id></result> 2020-08-26 17:14:52 | contains: true 2020-08-26 17:14:52 | [Mutex] waiting for: [user_regular379ybk0202@test-domain.com:message:received:content_91yjxv0205] 2020-08-26 17:15:07 | [Mutex] timeout. Not received [user_regular379ybk0202@test-domain.com:message:received:content_91yjxv0205] 2020-08-26 17:15:07 | [Mutex] isItemNotified: user_regular379ybk0202@test-domain.com:message:received:content_91yjxv0205 :: false 2020-08-26 17:15:07 | ===== publishing normal message (to offline) 2020-08-26 17:15:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 17:15:08 | command: <data><node>node_9ela5x0203</node><entry><content>content_nluzd80206</content></entry></data> 2020-08-26 17:15:08 | target: http://localhost:8088 2020-08-26 17:15:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-26 17:15:08 | entity: <data><node>node_9ela5x0203</node><entry><content>content_nluzd80206</content></entry></data> 2020-08-26 17:15:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 00:15:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 17:15:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dd9c028a-5048-4f6c-94fb-ac03dda9c5da</value></item-id></result> 2020-08-26 17:15:08 | contains: true 2020-08-26 17:15:13 | [Mutex] waiting for: [user_regular379ybk0202@test-domain.com:message:received:content_nluzd80206] 2020-08-26 17:15:13 | [Mutex] received everything. 2020-08-26 17:15:13 | [Mutex] isItemNotified: user_regular379ybk0202@test-domain.com:message:received:content_nluzd80206 :: true 2020-08-26 17:15:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-26 17:15:13 | [Mutex] received everything. 2020-08-26 17:15:13 | [Mutex] isItemNotified: node_9ela5x0203:subscribe_node:success :: true 2020-08-26 17:15:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 17:15:13 | command: <data><node>node_9ela5x0203</node><expire-at>2020-08-27T00:15:18Z</expire-at><entry><content>content_ybvuqj0207</content></entry></data> 2020-08-26 17:15:13 | target: http://localhost:8088 2020-08-26 17:15:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-26 17:15:13 | entity: <data><node>node_9ela5x0203</node><expire-at>2020-08-27T00:15:18Z</expire-at><entry><content>content_ybvuqj0207</content></entry></data> 2020-08-26 17:15:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 00:15:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 17:15:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fb520bb3-747a-4ab4-b589-e1c76ee71d0d</value></item-id></result> 2020-08-26 17:15:13 | contains: true 2020-08-26 17:15:21 | [Mutex] waiting for: [user_regular379ybk0202@test-domain.com:message:received:content_ybvuqj0207] 2020-08-26 17:15:36 | [Mutex] timeout. Not received [user_regular379ybk0202@test-domain.com:message:received:content_ybvuqj0207] 2020-08-26 17:15:36 | [Mutex] received everything. 2020-08-26 17:15:36 | [Mutex] isItemNotified: user_regular379ybk0202@test-domain.com:message:received:content_ybvuqj0207 :: false 2020-08-26 17:15:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ybvuqj0207 :: true |