Test duration : 45.437s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.735s |
2021-03-25 23:04:51 |
2021-03-25 23:04:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-25 23:04:51 | ------------------------------------ 2021-03-25 23:04:51 | [Mutex] isItemNotified: node_6kc1050203:exists :: false 2021-03-25 23:04:51 | [Mutex] waiting for: [node_6kc1050203:create_node] 2021-03-25 23:04:51 | [Mutex] received everything. 2021-03-25 23:04:51 | [Mutex] isItemNotified: node_6kc1050203:create_node:success :: true 2021-03-25 23:04:51 | [Mutex] waiting for: [node_6kc1050203:subscribe_node] 2021-03-25 23:04:51 | [Mutex] received everything. 2021-03-25 23:04:51 | [Mutex] isItemNotified: node_6kc1050203:subscribe_node:success :: true 2021-03-25 23:04:51 | ===== publishing normal message (to online) 2021-03-25 23:04:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-25 23:04:51 | command: <data><node>node_6kc1050203</node><entry><content>content_hlszwq0204</content></entry></data> 2021-03-25 23:04:51 | target: http://localhost:8088 2021-03-25 23:04:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-25 23:04:51 | entity: <data><node>node_6kc1050203</node><entry><content>content_hlszwq0204</content></entry></data> 2021-03-25 23:04:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 06:04:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-25 23:04:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eff599f2-50f9-4651-abd2-22cf066b7fbc</value></item-id></result> 2021-03-25 23:04:51 | contains: true 2021-03-25 23:04:51 | [Mutex] waiting for: [user_regularr6rldf0202@test-domain.com:message:received:content_hlszwq0204] 2021-03-25 23:04:51 | [Mutex] received everything. 2021-03-25 23:04:51 | [Mutex] isItemNotified: user_regularr6rldf0202@test-domain.com:message:received:content_hlszwq0204 :: true 2021-03-25 23:04:51 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-25 23:04:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-25 23:04:51 | command: <data><node>node_6kc1050203</node><expire-at>2021-03-26T06:04:46Z</expire-at><entry><content>content_2exn5g0205</content></entry></data> 2021-03-25 23:04:51 | target: http://localhost:8088 2021-03-25 23:04:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-25 23:04:51 | entity: <data><node>node_6kc1050203</node><expire-at>2021-03-26T06:04:46Z</expire-at><entry><content>content_2exn5g0205</content></entry></data> 2021-03-25 23:04:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 06:04:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-25 23:04:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b45fbf7d-320b-452d-adce-42c4dc3d2d52</value></item-id></result> 2021-03-25 23:04:51 | contains: true 2021-03-25 23:04:51 | [Mutex] waiting for: [user_regularr6rldf0202@test-domain.com:message:received:content_2exn5g0205] 2021-03-25 23:05:06 | [Mutex] timeout. Not received [user_regularr6rldf0202@test-domain.com:message:received:content_2exn5g0205] 2021-03-25 23:05:06 | [Mutex] isItemNotified: user_regularr6rldf0202@test-domain.com:message:received:content_2exn5g0205 :: false 2021-03-25 23:05:06 | ===== publishing normal message (to offline) 2021-03-25 23:05:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-25 23:05:07 | command: <data><node>node_6kc1050203</node><entry><content>content_ngyeu10206</content></entry></data> 2021-03-25 23:05:07 | target: http://localhost:8088 2021-03-25 23:05:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-25 23:05:07 | entity: <data><node>node_6kc1050203</node><entry><content>content_ngyeu10206</content></entry></data> 2021-03-25 23:05:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 06:05:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-25 23:05:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4641e49c-3899-4734-8d85-764bad695e8d</value></item-id></result> 2021-03-25 23:05:07 | contains: true 2021-03-25 23:05:12 | [Mutex] waiting for: [user_regularr6rldf0202@test-domain.com:message:received:content_ngyeu10206] 2021-03-25 23:05:12 | [Mutex] received everything. 2021-03-25 23:05:12 | [Mutex] isItemNotified: user_regularr6rldf0202@test-domain.com:message:received:content_ngyeu10206 :: true 2021-03-25 23:05:12 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-25 23:05:12 | [Mutex] received everything. 2021-03-25 23:05:12 | [Mutex] isItemNotified: node_6kc1050203:subscribe_node:success :: true 2021-03-25 23:05:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-25 23:05:12 | command: <data><node>node_6kc1050203</node><expire-at>2021-03-26T06:05:17Z</expire-at><entry><content>content_rbsfh40207</content></entry></data> 2021-03-25 23:05:12 | target: http://localhost:8088 2021-03-25 23:05:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-25 23:05:12 | entity: <data><node>node_6kc1050203</node><expire-at>2021-03-26T06:05:17Z</expire-at><entry><content>content_rbsfh40207</content></entry></data> 2021-03-25 23:05:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Mar 2021 06:05:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-25 23:05:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8290b935-cbe1-4fd6-a924-fc6c3323f8a0</value></item-id></result> 2021-03-25 23:05:12 | contains: true 2021-03-25 23:05:20 | [Mutex] waiting for: [user_regularr6rldf0202@test-domain.com:message:received:content_rbsfh40207] 2021-03-25 23:05:20 | [Mutex] waiting for: [user_regularr6rldf0202@test-domain.com:message:received:content_rbsfh40207] 2021-03-25 23:05:35 | [Mutex] timeout. Not received [user_regularr6rldf0202@test-domain.com:message:received:content_rbsfh40207] 2021-03-25 23:05:35 | [Mutex] received everything. 2021-03-25 23:05:35 | [Mutex] isItemNotified: user_regularr6rldf0202@test-domain.com:message:received:content_rbsfh40207 :: false 2021-03-25 23:05:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rbsfh40207 :: true |