Test duration : 45.417s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.694s |
2020-09-09 06:37:26 |
2020-09-09 06:37:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-09 06:37:26 | ------------------------------------ 2020-09-09 06:37:26 | [Mutex] isItemNotified: node_8w3m0p0203:exists :: false 2020-09-09 06:37:26 | [Mutex] waiting for: [node_8w3m0p0203:create_node] 2020-09-09 06:37:26 | [Mutex] received everything. 2020-09-09 06:37:26 | [Mutex] isItemNotified: node_8w3m0p0203:create_node:success :: true 2020-09-09 06:37:26 | [Mutex] waiting for: [node_8w3m0p0203:subscribe_node] 2020-09-09 06:37:26 | [Mutex] received everything. 2020-09-09 06:37:26 | [Mutex] isItemNotified: node_8w3m0p0203:subscribe_node:success :: true 2020-09-09 06:37:26 | ===== publishing normal message (to online) 2020-09-09 06:37:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 06:37:26 | command: <data><node>node_8w3m0p0203</node><entry><content>content_wxj2o60204</content></entry></data> 2020-09-09 06:37:26 | target: http://localhost:8088 2020-09-09 06:37:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 06:37:26 | entity: <data><node>node_8w3m0p0203</node><entry><content>content_wxj2o60204</content></entry></data> 2020-09-09 06:37:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 13:37:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 06:37:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>47b7861e-e599-4d39-a6cb-62ec329d8073</value></item-id></result> 2020-09-09 06:37:26 | contains: true 2020-09-09 06:37:26 | [Mutex] received everything. 2020-09-09 06:37:26 | [Mutex] isItemNotified: user_regularfpig9w0202@test-domain.com:message:received:content_wxj2o60204 :: true 2020-09-09 06:37:26 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-09 06:37:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 06:37:26 | command: <data><node>node_8w3m0p0203</node><expire-at>2020-09-09T13:37:21Z</expire-at><entry><content>content_jna5ir0205</content></entry></data> 2020-09-09 06:37:26 | target: http://localhost:8088 2020-09-09 06:37:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 06:37:26 | entity: <data><node>node_8w3m0p0203</node><expire-at>2020-09-09T13:37:21Z</expire-at><entry><content>content_jna5ir0205</content></entry></data> 2020-09-09 06:37:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 13:37:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 06:37:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ddfcdda3-6c2e-441b-9c1e-f70b0f7b7307</value></item-id></result> 2020-09-09 06:37:26 | contains: true 2020-09-09 06:37:26 | [Mutex] waiting for: [user_regularfpig9w0202@test-domain.com:message:received:content_jna5ir0205] 2020-09-09 06:37:41 | [Mutex] timeout. Not received [user_regularfpig9w0202@test-domain.com:message:received:content_jna5ir0205] 2020-09-09 06:37:41 | [Mutex] isItemNotified: user_regularfpig9w0202@test-domain.com:message:received:content_jna5ir0205 :: false 2020-09-09 06:37:41 | ===== publishing normal message (to offline) 2020-09-09 06:37:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 06:37:41 | command: <data><node>node_8w3m0p0203</node><entry><content>content_n7wqub0206</content></entry></data> 2020-09-09 06:37:41 | target: http://localhost:8088 2020-09-09 06:37:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 06:37:41 | entity: <data><node>node_8w3m0p0203</node><entry><content>content_n7wqub0206</content></entry></data> 2020-09-09 06:37:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 13:37:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 06:37:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>091c07be-f8ad-481a-9952-85468b0e4100</value></item-id></result> 2020-09-09 06:37:41 | contains: true 2020-09-09 06:37:46 | [Mutex] waiting for: [user_regularfpig9w0202@test-domain.com:message:received:content_n7wqub0206] 2020-09-09 06:37:46 | [Mutex] waiting for: [user_regularfpig9w0202@test-domain.com:message:received:content_n7wqub0206] 2020-09-09 06:37:46 | [Mutex] received everything. 2020-09-09 06:37:46 | [Mutex] isItemNotified: user_regularfpig9w0202@test-domain.com:message:received:content_n7wqub0206 :: true 2020-09-09 06:37:46 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-09 06:37:46 | [Mutex] received everything. 2020-09-09 06:37:46 | [Mutex] isItemNotified: node_8w3m0p0203:subscribe_node:success :: true 2020-09-09 06:37:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 06:37:46 | command: <data><node>node_8w3m0p0203</node><expire-at>2020-09-09T13:37:51Z</expire-at><entry><content>content_tuk3550207</content></entry></data> 2020-09-09 06:37:46 | target: http://localhost:8088 2020-09-09 06:37:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 06:37:46 | entity: <data><node>node_8w3m0p0203</node><expire-at>2020-09-09T13:37:51Z</expire-at><entry><content>content_tuk3550207</content></entry></data> 2020-09-09 06:37:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 13:37:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 06:37:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9265466a-77b2-4974-944a-ced41e4a8b8c</value></item-id></result> 2020-09-09 06:37:46 | contains: true 2020-09-09 06:37:55 | [Mutex] waiting for: [user_regularfpig9w0202@test-domain.com:message:received:content_tuk3550207] 2020-09-09 06:37:55 | [Mutex] waiting for: [user_regularfpig9w0202@test-domain.com:message:received:content_tuk3550207] 2020-09-09 06:38:10 | [Mutex] timeout. Not received [user_regularfpig9w0202@test-domain.com:message:received:content_tuk3550207] 2020-09-09 06:38:10 | [Mutex] received everything. 2020-09-09 06:38:10 | [Mutex] isItemNotified: user_regularfpig9w0202@test-domain.com:message:received:content_tuk3550207 :: false 2020-09-09 06:38:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tuk3550207 :: true |