Test duration : 45.395s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.645s |
2022-02-20 22:02:16 |
2022-02-20 22:02:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-20 22:02:16 | ------------------------------------ 2022-02-20 22:02:16 | [Mutex] isItemNotified: node_63ggw80203:exists :: false 2022-02-20 22:02:16 | [Mutex] waiting for: [node_63ggw80203:create_node] 2022-02-20 22:02:16 | [Mutex] received everything. 2022-02-20 22:02:16 | [Mutex] isItemNotified: node_63ggw80203:create_node:success :: true 2022-02-20 22:02:16 | [Mutex] waiting for: [node_63ggw80203:subscribe_node] 2022-02-20 22:02:16 | [Mutex] waiting for: [node_63ggw80203:subscribe_node] 2022-02-20 22:02:16 | [Mutex] received everything. 2022-02-20 22:02:16 | [Mutex] isItemNotified: node_63ggw80203:subscribe_node:success :: true 2022-02-20 22:02:16 | ===== publishing normal message (to online) 2022-02-20 22:02:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 22:02:16 | command: <data><node>node_63ggw80203</node><entry><content>content_d3mta40204</content></entry></data> 2022-02-20 22:02:16 | target: http://localhost:8088 2022-02-20 22:02:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-20 22:02:16 | entity: <data><node>node_63ggw80203</node><entry><content>content_d3mta40204</content></entry></data> 2022-02-20 22:02:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 06:02:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 22:02:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4892e48e-479f-4634-b445-a66aa2412455</value></item-id></result> 2022-02-20 22:02:16 | contains: true 2022-02-20 22:02:16 | [Mutex] waiting for: [user_regularsam69y0202@test-domain.com:message:received:content_d3mta40204] 2022-02-20 22:02:16 | [Mutex] received everything. 2022-02-20 22:02:16 | [Mutex] isItemNotified: user_regularsam69y0202@test-domain.com:message:received:content_d3mta40204 :: true 2022-02-20 22:02:16 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-20 22:02:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 22:02:16 | command: <data><node>node_63ggw80203</node><expire-at>2022-02-21T06:02:11Z</expire-at><entry><content>content_rlqoji0205</content></entry></data> 2022-02-20 22:02:16 | target: http://localhost:8088 2022-02-20 22:02:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-20 22:02:16 | entity: <data><node>node_63ggw80203</node><expire-at>2022-02-21T06:02:11Z</expire-at><entry><content>content_rlqoji0205</content></entry></data> 2022-02-20 22:02:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 06:02:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 22:02:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>120f8ec6-4d6e-4812-a820-96017643d1b3</value></item-id></result> 2022-02-20 22:02:16 | contains: true 2022-02-20 22:02:16 | [Mutex] waiting for: [user_regularsam69y0202@test-domain.com:message:received:content_rlqoji0205] 2022-02-20 22:02:31 | [Mutex] timeout. Not received [user_regularsam69y0202@test-domain.com:message:received:content_rlqoji0205] 2022-02-20 22:02:31 | [Mutex] isItemNotified: user_regularsam69y0202@test-domain.com:message:received:content_rlqoji0205 :: false 2022-02-20 22:02:31 | ===== publishing normal message (to offline) 2022-02-20 22:02:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 22:02:31 | command: <data><node>node_63ggw80203</node><entry><content>content_xpwge20206</content></entry></data> 2022-02-20 22:02:31 | target: http://localhost:8088 2022-02-20 22:02:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-20 22:02:31 | entity: <data><node>node_63ggw80203</node><entry><content>content_xpwge20206</content></entry></data> 2022-02-20 22:02:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 06:02:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 22:02:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2c7eaec9-a7ce-4371-a5dc-9a722c2b73a5</value></item-id></result> 2022-02-20 22:02:31 | contains: true 2022-02-20 22:02:36 | [Mutex] waiting for: [user_regularsam69y0202@test-domain.com:message:received:content_xpwge20206] 2022-02-20 22:02:36 | [Mutex] received everything. 2022-02-20 22:02:36 | [Mutex] isItemNotified: user_regularsam69y0202@test-domain.com:message:received:content_xpwge20206 :: true 2022-02-20 22:02:36 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-20 22:02:36 | [Mutex] received everything. 2022-02-20 22:02:36 | [Mutex] isItemNotified: node_63ggw80203:subscribe_node:success :: true 2022-02-20 22:02:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-20 22:02:36 | command: <data><node>node_63ggw80203</node><expire-at>2022-02-21T06:02:41Z</expire-at><entry><content>content_r84s140207</content></entry></data> 2022-02-20 22:02:36 | target: http://localhost:8088 2022-02-20 22:02:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-20 22:02:36 | entity: <data><node>node_63ggw80203</node><expire-at>2022-02-21T06:02:41Z</expire-at><entry><content>content_r84s140207</content></entry></data> 2022-02-20 22:02:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 21 Feb 2022 06:02:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-20 22:02:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>54ea132b-128c-4702-b665-717080fa483e</value></item-id></result> 2022-02-20 22:02:36 | contains: true 2022-02-20 22:02:44 | [Mutex] waiting for: [user_regularsam69y0202@test-domain.com:message:received:content_r84s140207] 2022-02-20 22:02:44 | [Mutex] waiting for: [user_regularsam69y0202@test-domain.com:message:received:content_r84s140207] 2022-02-20 22:02:59 | [Mutex] timeout. Not received [user_regularsam69y0202@test-domain.com:message:received:content_r84s140207] 2022-02-20 22:02:59 | [Mutex] received everything. 2022-02-20 22:02:59 | [Mutex] isItemNotified: user_regularsam69y0202@test-domain.com:message:received:content_r84s140207 :: false 2022-02-20 22:02:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r84s140207 :: true |