Test duration : 45.358s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.774s |
2020-09-19 00:07:43 |
2020-09-19 00:07:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-19 00:07:43 | ------------------------------------ 2020-09-19 00:07:43 | [Mutex] isItemNotified: node_wfgx630203:exists :: false 2020-09-19 00:07:43 | [Mutex] waiting for: [node_wfgx630203:create_node] 2020-09-19 00:07:43 | [Mutex] received everything. 2020-09-19 00:07:43 | [Mutex] isItemNotified: node_wfgx630203:create_node:success :: true 2020-09-19 00:07:43 | [Mutex] waiting for: [node_wfgx630203:subscribe_node] 2020-09-19 00:07:43 | [Mutex] received everything. 2020-09-19 00:07:43 | [Mutex] isItemNotified: node_wfgx630203:subscribe_node:success :: true 2020-09-19 00:07:43 | ===== publishing normal message (to online) 2020-09-19 00:07:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-19 00:07:43 | command: <data><node>node_wfgx630203</node><entry><content>content_k3kwtq0204</content></entry></data> 2020-09-19 00:07:43 | target: http://localhost:8088 2020-09-19 00:07:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-19 00:07:43 | entity: <data><node>node_wfgx630203</node><entry><content>content_k3kwtq0204</content></entry></data> 2020-09-19 00:07:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:07:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-19 00:07:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ff740676-28ca-429a-9a30-45b153cc7132</value></item-id></result> 2020-09-19 00:07:43 | contains: true 2020-09-19 00:07:43 | [Mutex] received everything. 2020-09-19 00:07:43 | [Mutex] isItemNotified: user_regular7lmudw0202@test-domain.com:message:received:content_k3kwtq0204 :: true 2020-09-19 00:07:43 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-19 00:07:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-19 00:07:43 | command: <data><node>node_wfgx630203</node><expire-at>2020-09-19T07:07:38Z</expire-at><entry><content>content_u9jyxr0205</content></entry></data> 2020-09-19 00:07:43 | target: http://localhost:8088 2020-09-19 00:07:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-19 00:07:43 | entity: <data><node>node_wfgx630203</node><expire-at>2020-09-19T07:07:38Z</expire-at><entry><content>content_u9jyxr0205</content></entry></data> 2020-09-19 00:07:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:07:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-19 00:07:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0480647c-e352-4e30-94ac-1c0d1967d832</value></item-id></result> 2020-09-19 00:07:43 | contains: true 2020-09-19 00:07:43 | [Mutex] waiting for: [user_regular7lmudw0202@test-domain.com:message:received:content_u9jyxr0205] 2020-09-19 00:07:58 | [Mutex] timeout. Not received [user_regular7lmudw0202@test-domain.com:message:received:content_u9jyxr0205] 2020-09-19 00:07:58 | [Mutex] isItemNotified: user_regular7lmudw0202@test-domain.com:message:received:content_u9jyxr0205 :: false 2020-09-19 00:07:58 | ===== publishing normal message (to offline) 2020-09-19 00:07:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-19 00:07:58 | command: <data><node>node_wfgx630203</node><entry><content>content_ez2pr90206</content></entry></data> 2020-09-19 00:07:58 | target: http://localhost:8088 2020-09-19 00:07:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-19 00:07:58 | entity: <data><node>node_wfgx630203</node><entry><content>content_ez2pr90206</content></entry></data> 2020-09-19 00:07:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:07:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-19 00:07:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>303a365a-a713-4e11-bba5-5119866d4f08</value></item-id></result> 2020-09-19 00:07:58 | contains: true 2020-09-19 00:08:03 | [Mutex] waiting for: [user_regular7lmudw0202@test-domain.com:message:received:content_ez2pr90206] 2020-09-19 00:08:03 | [Mutex] received everything. 2020-09-19 00:08:03 | [Mutex] isItemNotified: user_regular7lmudw0202@test-domain.com:message:received:content_ez2pr90206 :: true 2020-09-19 00:08:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-19 00:08:03 | [Mutex] received everything. 2020-09-19 00:08:03 | [Mutex] isItemNotified: node_wfgx630203:subscribe_node:success :: true 2020-09-19 00:08:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-19 00:08:03 | command: <data><node>node_wfgx630203</node><expire-at>2020-09-19T07:08:08Z</expire-at><entry><content>content_qkvtxy0207</content></entry></data> 2020-09-19 00:08:03 | target: http://localhost:8088 2020-09-19 00:08:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-19 00:08:03 | entity: <data><node>node_wfgx630203</node><expire-at>2020-09-19T07:08:08Z</expire-at><entry><content>content_qkvtxy0207</content></entry></data> 2020-09-19 00:08:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 07:08:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-19 00:08:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8df107e2-8727-4213-9d54-dbbb0f7c8c95</value></item-id></result> 2020-09-19 00:08:03 | contains: true 2020-09-19 00:08:12 | [Mutex] waiting for: [user_regular7lmudw0202@test-domain.com:message:received:content_qkvtxy0207] 2020-09-19 00:08:12 | [Mutex] waiting for: [user_regular7lmudw0202@test-domain.com:message:received:content_qkvtxy0207] 2020-09-19 00:08:27 | [Mutex] timeout. Not received [user_regular7lmudw0202@test-domain.com:message:received:content_qkvtxy0207] 2020-09-19 00:08:27 | [Mutex] received everything. 2020-09-19 00:08:27 | [Mutex] isItemNotified: user_regular7lmudw0202@test-domain.com:message:received:content_qkvtxy0207 :: false 2020-09-19 00:08:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qkvtxy0207 :: true |