Test duration : 45.523s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.709s |
2022-01-16 21:44:35 |
2022-01-16 21:44:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-01-16 21:44:35 | ------------------------------------ 2022-01-16 21:44:35 | [Mutex] isItemNotified: node_op97o00203:exists :: false 2022-01-16 21:44:35 | [Mutex] waiting for: [node_op97o00203:create_node] 2022-01-16 21:44:35 | [Mutex] received everything. 2022-01-16 21:44:35 | [Mutex] isItemNotified: node_op97o00203:create_node:success :: true 2022-01-16 21:44:35 | [Mutex] waiting for: [node_op97o00203:subscribe_node] 2022-01-16 21:44:35 | [Mutex] waiting for: [node_op97o00203:subscribe_node] 2022-01-16 21:44:35 | [Mutex] received everything. 2022-01-16 21:44:35 | [Mutex] isItemNotified: node_op97o00203:subscribe_node:success :: true 2022-01-16 21:44:35 | ===== publishing normal message (to online) 2022-01-16 21:44:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-16 21:44:35 | command: <data><node>node_op97o00203</node><entry><content>content_vhb8tg0204</content></entry></data> 2022-01-16 21:44:35 | target: http://localhost:8088 2022-01-16 21:44:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-01-16 21:44:35 | entity: <data><node>node_op97o00203</node><entry><content>content_vhb8tg0204</content></entry></data> 2022-01-16 21:44:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:44:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-16 21:44:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0dc7dde9-ddb2-4002-b5e3-840507d505bd</value></item-id></result> 2022-01-16 21:44:35 | contains: true 2022-01-16 21:44:35 | [Mutex] received everything. 2022-01-16 21:44:35 | [Mutex] isItemNotified: user_regular67dzj20202@test-domain.com:message:received:content_vhb8tg0204 :: true 2022-01-16 21:44:35 | ===== publishing already old message - expecting message being filtered out (to online) 2022-01-16 21:44:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-16 21:44:35 | command: <data><node>node_op97o00203</node><expire-at>2022-01-17T05:44:30Z</expire-at><entry><content>content_h4k7u80205</content></entry></data> 2022-01-16 21:44:35 | target: http://localhost:8088 2022-01-16 21:44:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-01-16 21:44:35 | entity: <data><node>node_op97o00203</node><expire-at>2022-01-17T05:44:30Z</expire-at><entry><content>content_h4k7u80205</content></entry></data> 2022-01-16 21:44:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:44:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-16 21:44:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d88d395-15b6-468e-a9f4-77612bd509e1</value></item-id></result> 2022-01-16 21:44:35 | contains: true 2022-01-16 21:44:35 | [Mutex] waiting for: [user_regular67dzj20202@test-domain.com:message:received:content_h4k7u80205] 2022-01-16 21:44:50 | [Mutex] timeout. Not received [user_regular67dzj20202@test-domain.com:message:received:content_h4k7u80205] 2022-01-16 21:44:50 | [Mutex] isItemNotified: user_regular67dzj20202@test-domain.com:message:received:content_h4k7u80205 :: false 2022-01-16 21:44:50 | ===== publishing normal message (to offline) 2022-01-16 21:44:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-16 21:44:50 | command: <data><node>node_op97o00203</node><entry><content>content_dgi80c0206</content></entry></data> 2022-01-16 21:44:50 | target: http://localhost:8088 2022-01-16 21:44:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-01-16 21:44:50 | entity: <data><node>node_op97o00203</node><entry><content>content_dgi80c0206</content></entry></data> 2022-01-16 21:44:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:44:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-16 21:44:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8f86af2c-8cb0-4f16-9a0d-27d118b75d55</value></item-id></result> 2022-01-16 21:44:50 | contains: true 2022-01-16 21:44:55 | [Mutex] waiting for: [user_regular67dzj20202@test-domain.com:message:received:content_dgi80c0206] 2022-01-16 21:44:55 | [Mutex] waiting for: [user_regular67dzj20202@test-domain.com:message:received:content_dgi80c0206] 2022-01-16 21:44:55 | [Mutex] received everything. 2022-01-16 21:44:55 | [Mutex] isItemNotified: user_regular67dzj20202@test-domain.com:message:received:content_dgi80c0206 :: true 2022-01-16 21:44:55 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-01-16 21:44:55 | [Mutex] received everything. 2022-01-16 21:44:55 | [Mutex] isItemNotified: node_op97o00203:subscribe_node:success :: true 2022-01-16 21:44:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-01-16 21:44:55 | command: <data><node>node_op97o00203</node><expire-at>2022-01-17T05:45:00Z</expire-at><entry><content>content_pi9ycl0207</content></entry></data> 2022-01-16 21:44:55 | target: http://localhost:8088 2022-01-16 21:44:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-01-16 21:44:55 | entity: <data><node>node_op97o00203</node><expire-at>2022-01-17T05:45:00Z</expire-at><entry><content>content_pi9ycl0207</content></entry></data> 2022-01-16 21:44:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 17 Jan 2022 05:44:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-01-16 21:44:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eca0b915-b1b2-4368-ac5d-945d51ab3c4e</value></item-id></result> 2022-01-16 21:44:55 | contains: true 2022-01-16 21:45:04 | [Mutex] waiting for: [user_regular67dzj20202@test-domain.com:message:received:content_pi9ycl0207] 2022-01-16 21:45:04 | [Mutex] waiting for: [user_regular67dzj20202@test-domain.com:message:received:content_pi9ycl0207] 2022-01-16 21:45:19 | [Mutex] timeout. Not received [user_regular67dzj20202@test-domain.com:message:received:content_pi9ycl0207] 2022-01-16 21:45:19 | [Mutex] received everything. 2022-01-16 21:45:19 | [Mutex] isItemNotified: user_regular67dzj20202@test-domain.com:message:received:content_pi9ycl0207 :: false 2022-01-16 21:45:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pi9ycl0207 :: true |