Test duration : 45.450s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.617s |
2021-04-23 10:01:24 |
2021-04-23 10:01:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-23 10:01:24 | ------------------------------------ 2021-04-23 10:01:24 | [Mutex] isItemNotified: node_3wn7d00203:exists :: false 2021-04-23 10:01:24 | [Mutex] waiting for: [node_3wn7d00203:create_node] 2021-04-23 10:01:24 | [Mutex] received everything. 2021-04-23 10:01:24 | [Mutex] isItemNotified: node_3wn7d00203:create_node:success :: true 2021-04-23 10:01:24 | [Mutex] waiting for: [node_3wn7d00203:subscribe_node] 2021-04-23 10:01:24 | [Mutex] waiting for: [node_3wn7d00203:subscribe_node] 2021-04-23 10:01:24 | [Mutex] received everything. 2021-04-23 10:01:24 | [Mutex] isItemNotified: node_3wn7d00203:subscribe_node:success :: true 2021-04-23 10:01:24 | ===== publishing normal message (to online) 2021-04-23 10:01:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-23 10:01:24 | command: <data><node>node_3wn7d00203</node><entry><content>content_ytsjl70204</content></entry></data> 2021-04-23 10:01:24 | target: http://localhost:8088 2021-04-23 10:01:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-23 10:01:24 | entity: <data><node>node_3wn7d00203</node><entry><content>content_ytsjl70204</content></entry></data> 2021-04-23 10:01:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:01:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-23 10:01:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>04a79e24-2989-40c9-857d-f1e880dcb4c3</value></item-id></result> 2021-04-23 10:01:24 | contains: true 2021-04-23 10:01:24 | [Mutex] received everything. 2021-04-23 10:01:24 | [Mutex] isItemNotified: user_regularouhbs60202@test-domain.com:message:received:content_ytsjl70204 :: true 2021-04-23 10:01:24 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-23 10:01:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-23 10:01:24 | command: <data><node>node_3wn7d00203</node><expire-at>2021-04-23T17:01:19Z</expire-at><entry><content>content_m4ndph0205</content></entry></data> 2021-04-23 10:01:24 | target: http://localhost:8088 2021-04-23 10:01:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-23 10:01:24 | entity: <data><node>node_3wn7d00203</node><expire-at>2021-04-23T17:01:19Z</expire-at><entry><content>content_m4ndph0205</content></entry></data> 2021-04-23 10:01:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:01:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-23 10:01:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a3f90cee-45e0-43dd-b2f0-c51545e5e266</value></item-id></result> 2021-04-23 10:01:24 | contains: true 2021-04-23 10:01:24 | [Mutex] waiting for: [user_regularouhbs60202@test-domain.com:message:received:content_m4ndph0205] 2021-04-23 10:01:39 | [Mutex] timeout. Not received [user_regularouhbs60202@test-domain.com:message:received:content_m4ndph0205] 2021-04-23 10:01:39 | [Mutex] isItemNotified: user_regularouhbs60202@test-domain.com:message:received:content_m4ndph0205 :: false 2021-04-23 10:01:39 | ===== publishing normal message (to offline) 2021-04-23 10:01:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-23 10:01:39 | command: <data><node>node_3wn7d00203</node><entry><content>content_43pd2l0206</content></entry></data> 2021-04-23 10:01:39 | target: http://localhost:8088 2021-04-23 10:01:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-23 10:01:39 | entity: <data><node>node_3wn7d00203</node><entry><content>content_43pd2l0206</content></entry></data> 2021-04-23 10:01:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:01:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-23 10:01:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e26cd7fc-f1ef-4527-afdb-003ed6729218</value></item-id></result> 2021-04-23 10:01:39 | contains: true 2021-04-23 10:01:44 | [Mutex] waiting for: [user_regularouhbs60202@test-domain.com:message:received:content_43pd2l0206] 2021-04-23 10:01:44 | [Mutex] received everything. 2021-04-23 10:01:44 | [Mutex] isItemNotified: user_regularouhbs60202@test-domain.com:message:received:content_43pd2l0206 :: true 2021-04-23 10:01:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-23 10:01:44 | [Mutex] received everything. 2021-04-23 10:01:44 | [Mutex] isItemNotified: node_3wn7d00203:subscribe_node:success :: true 2021-04-23 10:01:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-23 10:01:44 | command: <data><node>node_3wn7d00203</node><expire-at>2021-04-23T17:01:49Z</expire-at><entry><content>content_xijxd20207</content></entry></data> 2021-04-23 10:01:44 | target: http://localhost:8088 2021-04-23 10:01:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-23 10:01:44 | entity: <data><node>node_3wn7d00203</node><expire-at>2021-04-23T17:01:49Z</expire-at><entry><content>content_xijxd20207</content></entry></data> 2021-04-23 10:01:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Apr 2021 17:01:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-23 10:01:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>90b6adfa-cb6d-445a-ae9e-4955a76651d1</value></item-id></result> 2021-04-23 10:01:44 | contains: true 2021-04-23 10:01:52 | [Mutex] waiting for: [user_regularouhbs60202@test-domain.com:message:received:content_xijxd20207] 2021-04-23 10:02:07 | [Mutex] timeout. Not received [user_regularouhbs60202@test-domain.com:message:received:content_xijxd20207] 2021-04-23 10:02:07 | [Mutex] received everything. 2021-04-23 10:02:07 | [Mutex] isItemNotified: user_regularouhbs60202@test-domain.com:message:received:content_xijxd20207 :: false 2021-04-23 10:02:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xijxd20207 :: true |