Test duration : 45.857s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.816s |
2021-02-06 22:03:58 |
2021-02-06 22:03:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-06 22:03:58 | ------------------------------------ 2021-02-06 22:03:58 | [Mutex] isItemNotified: node_ol59180203:exists :: false 2021-02-06 22:03:58 | [Mutex] waiting for: [node_ol59180203:create_node] 2021-02-06 22:03:58 | [Mutex] received everything. 2021-02-06 22:03:58 | [Mutex] isItemNotified: node_ol59180203:create_node:success :: true 2021-02-06 22:03:58 | [Mutex] waiting for: [node_ol59180203:subscribe_node] 2021-02-06 22:03:58 | [Mutex] received everything. 2021-02-06 22:03:58 | [Mutex] isItemNotified: node_ol59180203:subscribe_node:success :: true 2021-02-06 22:03:58 | ===== publishing normal message (to online) 2021-02-06 22:03:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 22:03:58 | command: <data><node>node_ol59180203</node><entry><content>content_yvmtxk0204</content></entry></data> 2021-02-06 22:03:58 | target: http://localhost:8088 2021-02-06 22:03:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-06 22:03:58 | entity: <data><node>node_ol59180203</node><entry><content>content_yvmtxk0204</content></entry></data> 2021-02-06 22:03:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:03:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 22:03:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>af769dbd-93b5-429c-9d11-11c09023dfa3</value></item-id></result> 2021-02-06 22:03:58 | contains: true 2021-02-06 22:03:58 | [Mutex] received everything. 2021-02-06 22:03:58 | [Mutex] isItemNotified: user_regularymn7uo0202@test-domain.com:message:received:content_yvmtxk0204 :: true 2021-02-06 22:03:58 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-06 22:03:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 22:03:58 | command: <data><node>node_ol59180203</node><expire-at>2021-02-07T06:03:53Z</expire-at><entry><content>content_fo0lmx0205</content></entry></data> 2021-02-06 22:03:58 | target: http://localhost:8088 2021-02-06 22:03:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-06 22:03:58 | entity: <data><node>node_ol59180203</node><expire-at>2021-02-07T06:03:53Z</expire-at><entry><content>content_fo0lmx0205</content></entry></data> 2021-02-06 22:03:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:03:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 22:03:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7db8a37b-4d67-4fdd-8579-c81a09ca0e85</value></item-id></result> 2021-02-06 22:03:58 | contains: true 2021-02-06 22:03:58 | [Mutex] waiting for: [user_regularymn7uo0202@test-domain.com:message:received:content_fo0lmx0205] 2021-02-06 22:04:13 | [Mutex] timeout. Not received [user_regularymn7uo0202@test-domain.com:message:received:content_fo0lmx0205] 2021-02-06 22:04:13 | [Mutex] isItemNotified: user_regularymn7uo0202@test-domain.com:message:received:content_fo0lmx0205 :: false 2021-02-06 22:04:13 | ===== publishing normal message (to offline) 2021-02-06 22:04:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 22:04:13 | command: <data><node>node_ol59180203</node><entry><content>content_l2df050206</content></entry></data> 2021-02-06 22:04:13 | target: http://localhost:8088 2021-02-06 22:04:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-06 22:04:13 | entity: <data><node>node_ol59180203</node><entry><content>content_l2df050206</content></entry></data> 2021-02-06 22:04:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:04:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 22:04:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>26e33084-2bec-49eb-a5bc-399d645cfb39</value></item-id></result> 2021-02-06 22:04:13 | contains: true 2021-02-06 22:04:18 | [Mutex] waiting for: [user_regularymn7uo0202@test-domain.com:message:received:content_l2df050206] 2021-02-06 22:04:18 | [Mutex] received everything. 2021-02-06 22:04:18 | [Mutex] isItemNotified: user_regularymn7uo0202@test-domain.com:message:received:content_l2df050206 :: true 2021-02-06 22:04:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-06 22:04:18 | [Mutex] received everything. 2021-02-06 22:04:18 | [Mutex] isItemNotified: node_ol59180203:subscribe_node:success :: true 2021-02-06 22:04:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 22:04:18 | command: <data><node>node_ol59180203</node><expire-at>2021-02-07T06:04:23Z</expire-at><entry><content>content_9vs2y20207</content></entry></data> 2021-02-06 22:04:18 | target: http://localhost:8088 2021-02-06 22:04:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-06 22:04:18 | entity: <data><node>node_ol59180203</node><expire-at>2021-02-07T06:04:23Z</expire-at><entry><content>content_9vs2y20207</content></entry></data> 2021-02-06 22:04:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:04:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 22:04:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aa32fb66-b5f5-451e-b3ea-15c564f57ae3</value></item-id></result> 2021-02-06 22:04:18 | contains: true 2021-02-06 22:04:27 | [Mutex] waiting for: [user_regularymn7uo0202@test-domain.com:message:received:content_9vs2y20207] 2021-02-06 22:04:42 | [Mutex] timeout. Not received [user_regularymn7uo0202@test-domain.com:message:received:content_9vs2y20207] 2021-02-06 22:04:42 | [Mutex] received everything. 2021-02-06 22:04:42 | [Mutex] isItemNotified: user_regularymn7uo0202@test-domain.com:message:received:content_9vs2y20207 :: false 2021-02-06 22:04:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9vs2y20207 :: true |