Test duration : 45.729s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.707s |
2022-02-10 21:33:37 |
2022-02-10 21:33:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-10 21:33:37 | ------------------------------------ 2022-02-10 21:33:37 | [Mutex] isItemNotified: node_rggp0d0203:exists :: false 2022-02-10 21:33:37 | [Mutex] waiting for: [node_rggp0d0203:create_node] 2022-02-10 21:33:37 | [Mutex] received everything. 2022-02-10 21:33:37 | [Mutex] isItemNotified: node_rggp0d0203:create_node:success :: true 2022-02-10 21:33:37 | [Mutex] waiting for: [node_rggp0d0203:subscribe_node] 2022-02-10 21:33:37 | [Mutex] received everything. 2022-02-10 21:33:37 | [Mutex] isItemNotified: node_rggp0d0203:subscribe_node:success :: true 2022-02-10 21:33:37 | ===== publishing normal message (to online) 2022-02-10 21:33:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 21:33:37 | command: <data><node>node_rggp0d0203</node><entry><content>content_95jg070204</content></entry></data> 2022-02-10 21:33:37 | target: http://localhost:8088 2022-02-10 21:33:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-10 21:33:37 | entity: <data><node>node_rggp0d0203</node><entry><content>content_95jg070204</content></entry></data> 2022-02-10 21:33:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 05:33:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 21:33:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d21fad12-7d68-4a61-accd-f0c92eeb39c5</value></item-id></result> 2022-02-10 21:33:37 | contains: true 2022-02-10 21:33:37 | [Mutex] waiting for: [user_regulare70s1g0202@test-domain.com:message:received:content_95jg070204] 2022-02-10 21:33:37 | [Mutex] received everything. 2022-02-10 21:33:37 | [Mutex] isItemNotified: user_regulare70s1g0202@test-domain.com:message:received:content_95jg070204 :: true 2022-02-10 21:33:37 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-10 21:33:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 21:33:37 | command: <data><node>node_rggp0d0203</node><expire-at>2022-02-11T05:33:32Z</expire-at><entry><content>content_irqet20205</content></entry></data> 2022-02-10 21:33:37 | target: http://localhost:8088 2022-02-10 21:33:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-10 21:33:37 | entity: <data><node>node_rggp0d0203</node><expire-at>2022-02-11T05:33:32Z</expire-at><entry><content>content_irqet20205</content></entry></data> 2022-02-10 21:33:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 05:33:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 21:33:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>62697f8d-00b5-4eb7-8933-4d439aa23739</value></item-id></result> 2022-02-10 21:33:37 | contains: true 2022-02-10 21:33:37 | [Mutex] waiting for: [user_regulare70s1g0202@test-domain.com:message:received:content_irqet20205] 2022-02-10 21:33:52 | [Mutex] timeout. Not received [user_regulare70s1g0202@test-domain.com:message:received:content_irqet20205] 2022-02-10 21:33:52 | [Mutex] isItemNotified: user_regulare70s1g0202@test-domain.com:message:received:content_irqet20205 :: false 2022-02-10 21:33:52 | ===== publishing normal message (to offline) 2022-02-10 21:33:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 21:33:52 | command: <data><node>node_rggp0d0203</node><entry><content>content_ces2cs0206</content></entry></data> 2022-02-10 21:33:52 | target: http://localhost:8088 2022-02-10 21:33:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-10 21:33:52 | entity: <data><node>node_rggp0d0203</node><entry><content>content_ces2cs0206</content></entry></data> 2022-02-10 21:33:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 05:33:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 21:33:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ae18a1ee-e0a4-4445-b16e-9f15b124b3be</value></item-id></result> 2022-02-10 21:33:52 | contains: true 2022-02-10 21:33:57 | [Mutex] waiting for: [user_regulare70s1g0202@test-domain.com:message:received:content_ces2cs0206] 2022-02-10 21:33:57 | [Mutex] waiting for: [user_regulare70s1g0202@test-domain.com:message:received:content_ces2cs0206] 2022-02-10 21:33:57 | [Mutex] received everything. 2022-02-10 21:33:57 | [Mutex] isItemNotified: user_regulare70s1g0202@test-domain.com:message:received:content_ces2cs0206 :: true 2022-02-10 21:33:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-10 21:33:57 | [Mutex] received everything. 2022-02-10 21:33:57 | [Mutex] isItemNotified: node_rggp0d0203:subscribe_node:success :: true 2022-02-10 21:33:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 21:33:57 | command: <data><node>node_rggp0d0203</node><expire-at>2022-02-11T05:34:02Z</expire-at><entry><content>content_so4d060207</content></entry></data> 2022-02-10 21:33:57 | target: http://localhost:8088 2022-02-10 21:33:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-10 21:33:57 | entity: <data><node>node_rggp0d0203</node><expire-at>2022-02-11T05:34:02Z</expire-at><entry><content>content_so4d060207</content></entry></data> 2022-02-10 21:33:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 05:33:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 21:33:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4b5d47a7-1b03-46fd-81d0-29491cf8b610</value></item-id></result> 2022-02-10 21:33:57 | contains: true 2022-02-10 21:34:06 | [Mutex] waiting for: [user_regulare70s1g0202@test-domain.com:message:received:content_so4d060207] 2022-02-10 21:34:06 | [Mutex] waiting for: [user_regulare70s1g0202@test-domain.com:message:received:content_so4d060207] 2022-02-10 21:34:21 | [Mutex] timeout. Not received [user_regulare70s1g0202@test-domain.com:message:received:content_so4d060207] 2022-02-10 21:34:21 | [Mutex] received everything. 2022-02-10 21:34:21 | [Mutex] isItemNotified: user_regulare70s1g0202@test-domain.com:message:received:content_so4d060207 :: false 2022-02-10 21:34:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_so4d060207 :: true |