Test duration: 45.204s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.733s |
2020-05-26 00:13:11 |
2020-05-26 00:13:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-05-26 00:13:11 | ------------------------------------ 2020-05-26 00:13:11 | [Mutex] isItemNotified: node_sqdy940206:exists :: false 2020-05-26 00:13:11 | [Mutex] waiting for: [node_sqdy940206:create_node] 2020-05-26 00:13:11 | [Mutex] received everything. 2020-05-26 00:13:11 | [Mutex] isItemNotified: node_sqdy940206:create_node:success :: true 2020-05-26 00:13:11 | [Mutex] waiting for: [node_sqdy940206:subscribe_node] 2020-05-26 00:13:11 | [Mutex] waiting for: [node_sqdy940206:subscribe_node] 2020-05-26 00:13:11 | [Mutex] received everything. 2020-05-26 00:13:11 | [Mutex] isItemNotified: node_sqdy940206:subscribe_node:success :: true 2020-05-26 00:13:11 | ===== publishing normal message (to online) 2020-05-26 00:13:11 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-26 00:13:11 | command: <data><node>node_sqdy940206</node><entry><content>content_xgag0w0207</content></entry></data> 2020-05-26 00:13:11 | target: http://localhost:8088 2020-05-26 00:13:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-05-26 00:13:11 | entity: <data><node>node_sqdy940206</node><entry><content>content_xgag0w0207</content></entry></data> 2020-05-26 00:13:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 May 2020 07:13:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-26 00:13:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c7f0aa7f-3df4-46b1-b689-839b21b89cd0</value></item-id></result> 2020-05-26 00:13:11 | contains: true 2020-05-26 00:13:11 | [Mutex] received everything. 2020-05-26 00:13:11 | [Mutex] isItemNotified: user_regular5et2dl0205@localhost:message:received:content_xgag0w0207 :: true 2020-05-26 00:13:11 | ===== publishing already old message - expecting message being filtered out (to online) 2020-05-26 00:13:11 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-26 00:13:11 | command: <data><node>node_sqdy940206</node><expire-at>2020-05-26T07:13:06Z</expire-at><entry><content>content_8il88c0208</content></entry></data> 2020-05-26 00:13:11 | target: http://localhost:8088 2020-05-26 00:13:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-05-26 00:13:11 | entity: <data><node>node_sqdy940206</node><expire-at>2020-05-26T07:13:06Z</expire-at><entry><content>content_8il88c0208</content></entry></data> 2020-05-26 00:13:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 May 2020 07:13:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-26 00:13:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>52cc1e57-027f-419f-b863-d390ea5ea93b</value></item-id></result> 2020-05-26 00:13:11 | contains: true 2020-05-26 00:13:11 | [Mutex] waiting for: [user_regular5et2dl0205@localhost:message:received:content_8il88c0208] 2020-05-26 00:13:26 | [Mutex] timeout. Not received [user_regular5et2dl0205@localhost:message:received:content_8il88c0208] 2020-05-26 00:13:26 | [Mutex] isItemNotified: user_regular5et2dl0205@localhost:message:received:content_8il88c0208 :: false 2020-05-26 00:13:26 | ===== publishing normal message (to offline) 2020-05-26 00:13:26 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-26 00:13:26 | command: <data><node>node_sqdy940206</node><entry><content>content_i29r2i0209</content></entry></data> 2020-05-26 00:13:26 | target: http://localhost:8088 2020-05-26 00:13:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-05-26 00:13:26 | entity: <data><node>node_sqdy940206</node><entry><content>content_i29r2i0209</content></entry></data> 2020-05-26 00:13:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 May 2020 07:13:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-26 00:13:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cddfeb16-64a8-4b4e-8edc-751aec273dbf</value></item-id></result> 2020-05-26 00:13:26 | contains: true 2020-05-26 00:13:31 | [Mutex] waiting for: [user_regular5et2dl0205@localhost:message:received:content_i29r2i0209] 2020-05-26 00:13:31 | [Mutex] waiting for: [user_regular5et2dl0205@localhost:message:received:content_i29r2i0209] 2020-05-26 00:13:31 | [Mutex] received everything. 2020-05-26 00:13:31 | [Mutex] isItemNotified: user_regular5et2dl0205@localhost:message:received:content_i29r2i0209 :: true 2020-05-26 00:13:31 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-05-26 00:13:31 | [Mutex] received everything. 2020-05-26 00:13:31 | [Mutex] isItemNotified: node_sqdy940206:subscribe_node:success :: true 2020-05-26 00:13:31 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-26 00:13:31 | command: <data><node>node_sqdy940206</node><expire-at>2020-05-26T07:13:36Z</expire-at><entry><content>content_3m13130210</content></entry></data> 2020-05-26 00:13:31 | target: http://localhost:8088 2020-05-26 00:13:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-05-26 00:13:31 | entity: <data><node>node_sqdy940206</node><expire-at>2020-05-26T07:13:36Z</expire-at><entry><content>content_3m13130210</content></entry></data> 2020-05-26 00:13:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 May 2020 07:13:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-26 00:13:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6dffb752-6b05-4a28-833d-5a469f0c5d9b</value></item-id></result> 2020-05-26 00:13:31 | contains: true 2020-05-26 00:13:40 | [Mutex] waiting for: [user_regular5et2dl0205@localhost:message:received:content_3m13130210] 2020-05-26 00:13:40 | [Mutex] waiting for: [user_regular5et2dl0205@localhost:message:received:content_3m13130210] 2020-05-26 00:13:55 | [Mutex] timeout. Not received [user_regular5et2dl0205@localhost:message:received:content_3m13130210] 2020-05-26 00:13:55 | [Mutex] received everything. 2020-05-26 00:13:55 | [Mutex] isItemNotified: user_regular5et2dl0205@localhost:message:received:content_3m13130210 :: false 2020-05-26 00:13:55 | [Mutex] isItemNotified: admin@localhost:message:received:content_3m13130210 :: true |