Test duration : 45.610s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.680s |
2022-02-16 21:33:51 |
2022-02-16 21:33:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-16 21:33:51 | ------------------------------------ 2022-02-16 21:33:51 | [Mutex] isItemNotified: node_3bk74y0203:exists :: false 2022-02-16 21:33:51 | [Mutex] waiting for: [node_3bk74y0203:create_node] 2022-02-16 21:33:51 | [Mutex] received everything. 2022-02-16 21:33:51 | [Mutex] isItemNotified: node_3bk74y0203:create_node:success :: true 2022-02-16 21:33:51 | [Mutex] waiting for: [node_3bk74y0203:subscribe_node] 2022-02-16 21:33:51 | [Mutex] waiting for: [node_3bk74y0203:subscribe_node] 2022-02-16 21:33:51 | [Mutex] received everything. 2022-02-16 21:33:51 | [Mutex] isItemNotified: node_3bk74y0203:subscribe_node:success :: true 2022-02-16 21:33:51 | ===== publishing normal message (to online) 2022-02-16 21:33:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 21:33:51 | command: <data><node>node_3bk74y0203</node><entry><content>content_frz90x0204</content></entry></data> 2022-02-16 21:33:51 | target: http://localhost:8088 2022-02-16 21:33:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-16 21:33:51 | entity: <data><node>node_3bk74y0203</node><entry><content>content_frz90x0204</content></entry></data> 2022-02-16 21:33:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:33:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 21:33:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>79c71785-af2c-4cf3-a816-aaed7623570a</value></item-id></result> 2022-02-16 21:33:51 | contains: true 2022-02-16 21:33:51 | [Mutex] received everything. 2022-02-16 21:33:51 | [Mutex] isItemNotified: user_regularb8agno0202@test-domain.com:message:received:content_frz90x0204 :: true 2022-02-16 21:33:51 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-16 21:33:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 21:33:51 | command: <data><node>node_3bk74y0203</node><expire-at>2022-02-17T05:33:46Z</expire-at><entry><content>content_yf6gx00205</content></entry></data> 2022-02-16 21:33:51 | target: http://localhost:8088 2022-02-16 21:33:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-16 21:33:51 | entity: <data><node>node_3bk74y0203</node><expire-at>2022-02-17T05:33:46Z</expire-at><entry><content>content_yf6gx00205</content></entry></data> 2022-02-16 21:33:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:33:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 21:33:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a42195c8-609a-4c94-8afb-9d812948a4e5</value></item-id></result> 2022-02-16 21:33:51 | contains: true 2022-02-16 21:33:51 | [Mutex] waiting for: [user_regularb8agno0202@test-domain.com:message:received:content_yf6gx00205] 2022-02-16 21:34:06 | [Mutex] timeout. Not received [user_regularb8agno0202@test-domain.com:message:received:content_yf6gx00205] 2022-02-16 21:34:06 | [Mutex] isItemNotified: user_regularb8agno0202@test-domain.com:message:received:content_yf6gx00205 :: false 2022-02-16 21:34:06 | ===== publishing normal message (to offline) 2022-02-16 21:34:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 21:34:06 | command: <data><node>node_3bk74y0203</node><entry><content>content_g3zc5q0206</content></entry></data> 2022-02-16 21:34:06 | target: http://localhost:8088 2022-02-16 21:34:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-16 21:34:06 | entity: <data><node>node_3bk74y0203</node><entry><content>content_g3zc5q0206</content></entry></data> 2022-02-16 21:34:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:34:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 21:34:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>01f6d31a-77d6-4ba6-a0af-0f625a18233d</value></item-id></result> 2022-02-16 21:34:06 | contains: true 2022-02-16 21:34:11 | [Mutex] waiting for: [user_regularb8agno0202@test-domain.com:message:received:content_g3zc5q0206] 2022-02-16 21:34:11 | [Mutex] waiting for: [user_regularb8agno0202@test-domain.com:message:received:content_g3zc5q0206] 2022-02-16 21:34:11 | [Mutex] received everything. 2022-02-16 21:34:11 | [Mutex] isItemNotified: user_regularb8agno0202@test-domain.com:message:received:content_g3zc5q0206 :: true 2022-02-16 21:34:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-16 21:34:11 | [Mutex] received everything. 2022-02-16 21:34:11 | [Mutex] isItemNotified: node_3bk74y0203:subscribe_node:success :: true 2022-02-16 21:34:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-16 21:34:11 | command: <data><node>node_3bk74y0203</node><expire-at>2022-02-17T05:34:16Z</expire-at><entry><content>content_64rn6s0207</content></entry></data> 2022-02-16 21:34:11 | target: http://localhost:8088 2022-02-16 21:34:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-16 21:34:11 | entity: <data><node>node_3bk74y0203</node><expire-at>2022-02-17T05:34:16Z</expire-at><entry><content>content_64rn6s0207</content></entry></data> 2022-02-16 21:34:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 05:34:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-16 21:34:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>37cd1cae-2330-4313-b3f9-570239d79f46</value></item-id></result> 2022-02-16 21:34:11 | contains: true 2022-02-16 21:34:19 | [Mutex] waiting for: [user_regularb8agno0202@test-domain.com:message:received:content_64rn6s0207] 2022-02-16 21:34:34 | [Mutex] timeout. Not received [user_regularb8agno0202@test-domain.com:message:received:content_64rn6s0207] 2022-02-16 21:34:34 | [Mutex] received everything. 2022-02-16 21:34:34 | [Mutex] isItemNotified: user_regularb8agno0202@test-domain.com:message:received:content_64rn6s0207 :: false 2022-02-16 21:34:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_64rn6s0207 :: true |