Test duration : 45.469s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.674s |
2022-02-01 22:16:50 |
2022-02-01 22:16:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-01 22:16:50 | ------------------------------------ 2022-02-01 22:16:50 | [Mutex] isItemNotified: node_lks7ip0203:exists :: false 2022-02-01 22:16:50 | [Mutex] waiting for: [node_lks7ip0203:create_node] 2022-02-01 22:16:50 | [Mutex] received everything. 2022-02-01 22:16:50 | [Mutex] isItemNotified: node_lks7ip0203:create_node:success :: true 2022-02-01 22:16:50 | [Mutex] waiting for: [node_lks7ip0203:subscribe_node] 2022-02-01 22:16:50 | [Mutex] waiting for: [node_lks7ip0203:subscribe_node] 2022-02-01 22:16:50 | [Mutex] received everything. 2022-02-01 22:16:50 | [Mutex] isItemNotified: node_lks7ip0203:subscribe_node:success :: true 2022-02-01 22:16:50 | ===== publishing normal message (to online) 2022-02-01 22:16:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-01 22:16:50 | command: <data><node>node_lks7ip0203</node><entry><content>content_y79n2t0204</content></entry></data> 2022-02-01 22:16:50 | target: http://localhost:8088 2022-02-01 22:16:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-01 22:16:50 | entity: <data><node>node_lks7ip0203</node><entry><content>content_y79n2t0204</content></entry></data> 2022-02-01 22:16:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 06:16:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-01 22:16:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7380a387-4a88-452e-a025-90c5d0d65970</value></item-id></result> 2022-02-01 22:16:50 | contains: true 2022-02-01 22:16:50 | [Mutex] waiting for: [user_regular5mdpc00202@test-domain.com:message:received:content_y79n2t0204] 2022-02-01 22:16:50 | [Mutex] received everything. 2022-02-01 22:16:50 | [Mutex] isItemNotified: user_regular5mdpc00202@test-domain.com:message:received:content_y79n2t0204 :: true 2022-02-01 22:16:50 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-01 22:16:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-01 22:16:50 | command: <data><node>node_lks7ip0203</node><expire-at>2022-02-02T06:16:45Z</expire-at><entry><content>content_742k7b0205</content></entry></data> 2022-02-01 22:16:50 | target: http://localhost:8088 2022-02-01 22:16:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-01 22:16:50 | entity: <data><node>node_lks7ip0203</node><expire-at>2022-02-02T06:16:45Z</expire-at><entry><content>content_742k7b0205</content></entry></data> 2022-02-01 22:16:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 06:16:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-01 22:16:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d7fb1020-5d0b-4f52-803b-106d0b99ce5f</value></item-id></result> 2022-02-01 22:16:50 | contains: true 2022-02-01 22:16:50 | [Mutex] waiting for: [user_regular5mdpc00202@test-domain.com:message:received:content_742k7b0205] 2022-02-01 22:17:05 | [Mutex] timeout. Not received [user_regular5mdpc00202@test-domain.com:message:received:content_742k7b0205] 2022-02-01 22:17:05 | [Mutex] isItemNotified: user_regular5mdpc00202@test-domain.com:message:received:content_742k7b0205 :: false 2022-02-01 22:17:05 | ===== publishing normal message (to offline) 2022-02-01 22:17:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-01 22:17:05 | command: <data><node>node_lks7ip0203</node><entry><content>content_shm1w70206</content></entry></data> 2022-02-01 22:17:05 | target: http://localhost:8088 2022-02-01 22:17:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-01 22:17:05 | entity: <data><node>node_lks7ip0203</node><entry><content>content_shm1w70206</content></entry></data> 2022-02-01 22:17:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 06:17:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-01 22:17:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6ed0c4fd-44a5-4ae7-a86a-78ba1a736106</value></item-id></result> 2022-02-01 22:17:05 | contains: true 2022-02-01 22:17:11 | [Mutex] waiting for: [user_regular5mdpc00202@test-domain.com:message:received:content_shm1w70206] 2022-02-01 22:17:11 | [Mutex] received everything. 2022-02-01 22:17:11 | [Mutex] isItemNotified: user_regular5mdpc00202@test-domain.com:message:received:content_shm1w70206 :: true 2022-02-01 22:17:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-01 22:17:11 | [Mutex] received everything. 2022-02-01 22:17:11 | [Mutex] isItemNotified: node_lks7ip0203:subscribe_node:success :: true 2022-02-01 22:17:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-01 22:17:11 | command: <data><node>node_lks7ip0203</node><expire-at>2022-02-02T06:17:16Z</expire-at><entry><content>content_ai7dbj0207</content></entry></data> 2022-02-01 22:17:11 | target: http://localhost:8088 2022-02-01 22:17:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-01 22:17:11 | entity: <data><node>node_lks7ip0203</node><expire-at>2022-02-02T06:17:16Z</expire-at><entry><content>content_ai7dbj0207</content></entry></data> 2022-02-01 22:17:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Feb 2022 06:17:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-01 22:17:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d713e1d3-f84d-4c16-a7a0-110ae41d2aa6</value></item-id></result> 2022-02-01 22:17:11 | contains: true 2022-02-01 22:17:19 | [Mutex] waiting for: [user_regular5mdpc00202@test-domain.com:message:received:content_ai7dbj0207] 2022-02-01 22:17:34 | [Mutex] timeout. Not received [user_regular5mdpc00202@test-domain.com:message:received:content_ai7dbj0207] 2022-02-01 22:17:34 | [Mutex] received everything. 2022-02-01 22:17:34 | [Mutex] isItemNotified: user_regular5mdpc00202@test-domain.com:message:received:content_ai7dbj0207 :: false 2022-02-01 22:17:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ai7dbj0207 :: true |