Test duration : 44,168s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43,492s |
2022-12-15 23:11:30 |
2022-12-15 23:11:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-15 23:11:30 | ------------------------------------ 2022-12-15 23:11:30 | [Mutex] isItemNotified: node_1m5s8e0204:exists :: false 2022-12-15 23:11:30 | [Mutex] waiting for: [node_1m5s8e0204:create_node] 2022-12-15 23:11:30 | [Mutex] received everything. 2022-12-15 23:11:30 | [Mutex] isItemNotified: node_1m5s8e0204:create_node:success :: true 2022-12-15 23:11:30 | [Mutex] waiting for: [node_1m5s8e0204:subscribe_node] 2022-12-15 23:11:30 | [Mutex] waiting for: [node_1m5s8e0204:subscribe_node] 2022-12-15 23:11:30 | [Mutex] received everything. 2022-12-15 23:11:30 | [Mutex] isItemNotified: node_1m5s8e0204:subscribe_node:success :: true 2022-12-15 23:11:30 | ===== publishing normal message (to online) 2022-12-15 23:11:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 23:11:30 | command: <data><node>node_1m5s8e0204</node><entry><content>content_gd0d4k0205</content></entry></data> 2022-12-15 23:11:30 | target: http://localhost:8088 2022-12-15 23:11:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-15 23:11:30 | entity: <data><node>node_1m5s8e0204</node><entry><content>content_gd0d4k0205</content></entry></data> 2022-12-15 23:11:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 02:11:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 23:11:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>680966b0-f200-4b89-a2ba-0e820c331ce6</value></item-id></result> 2022-12-15 23:11:30 | contains: true 2022-12-15 23:11:30 | [Mutex] waiting for: [user_regularmhg4mv0203@test-domain.com:message:received:content_gd0d4k0205] 2022-12-15 23:11:30 | [Mutex] received everything. 2022-12-15 23:11:30 | [Mutex] isItemNotified: user_regularmhg4mv0203@test-domain.com:message:received:content_gd0d4k0205 :: true 2022-12-15 23:11:30 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-15 23:11:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 23:11:30 | command: <data><node>node_1m5s8e0204</node><expire-at>2022-12-16T02:11:25Z</expire-at><entry><content>content_1o83r60206</content></entry></data> 2022-12-15 23:11:30 | target: http://localhost:8088 2022-12-15 23:11:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-15 23:11:30 | entity: <data><node>node_1m5s8e0204</node><expire-at>2022-12-16T02:11:25Z</expire-at><entry><content>content_1o83r60206</content></entry></data> 2022-12-15 23:11:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 02:11:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 23:11:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b7ffaaaf-4d36-41e7-bcf0-73a20392a45a</value></item-id></result> 2022-12-15 23:11:30 | contains: true 2022-12-15 23:11:30 | [Mutex] waiting for: [user_regularmhg4mv0203@test-domain.com:message:received:content_1o83r60206] 2022-12-15 23:11:46 | [Mutex] timeout. Not received [user_regularmhg4mv0203@test-domain.com:message:received:content_1o83r60206] 2022-12-15 23:11:46 | [Mutex] isItemNotified: user_regularmhg4mv0203@test-domain.com:message:received:content_1o83r60206 :: false 2022-12-15 23:11:46 | ===== publishing normal message (to offline) 2022-12-15 23:11:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 23:11:46 | command: <data><node>node_1m5s8e0204</node><entry><content>content_bv31tj0207</content></entry></data> 2022-12-15 23:11:46 | target: http://localhost:8088 2022-12-15 23:11:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-15 23:11:46 | entity: <data><node>node_1m5s8e0204</node><entry><content>content_bv31tj0207</content></entry></data> 2022-12-15 23:11:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 02:11:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 23:11:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eb1d7f00-4c1e-48fa-abdd-286efd4bee1a</value></item-id></result> 2022-12-15 23:11:46 | contains: true 2022-12-15 23:11:51 | [Mutex] received everything. 2022-12-15 23:11:51 | [Mutex] isItemNotified: user_regularmhg4mv0203@test-domain.com:message:received:content_bv31tj0207 :: true 2022-12-15 23:11:51 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-15 23:11:51 | [Mutex] received everything. 2022-12-15 23:11:51 | [Mutex] isItemNotified: node_1m5s8e0204:subscribe_node:success :: true 2022-12-15 23:11:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-15 23:11:51 | command: <data><node>node_1m5s8e0204</node><expire-at>2022-12-16T02:11:56Z</expire-at><entry><content>content_7q2hk80208</content></entry></data> 2022-12-15 23:11:51 | target: http://localhost:8088 2022-12-15 23:11:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-15 23:11:51 | entity: <data><node>node_1m5s8e0204</node><expire-at>2022-12-16T02:11:56Z</expire-at><entry><content>content_7q2hk80208</content></entry></data> 2022-12-15 23:11:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Dec 2022 02:11:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-15 23:11:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fdd66826-5161-46c3-9449-51e26dc7aca2</value></item-id></result> 2022-12-15 23:11:51 | contains: true 2022-12-15 23:11:59 | [Mutex] waiting for: [user_regularmhg4mv0203@test-domain.com:message:received:content_7q2hk80208] 2022-12-15 23:12:14 | [Mutex] timeout. Not received [user_regularmhg4mv0203@test-domain.com:message:received:content_7q2hk80208] 2022-12-15 23:12:14 | [Mutex] received everything. 2022-12-15 23:12:14 | [Mutex] isItemNotified: user_regularmhg4mv0203@test-domain.com:message:received:content_7q2hk80208 :: false 2022-12-15 23:12:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7q2hk80208 :: true |