Test duration : 45.262s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.669s |
2021-04-21 22:16:09 |
2021-04-21 22:16:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-21 22:16:09 | ------------------------------------ 2021-04-21 22:16:09 | [Mutex] isItemNotified: node_cfsi730203:exists :: false 2021-04-21 22:16:09 | [Mutex] waiting for: [node_cfsi730203:create_node] 2021-04-21 22:16:09 | [Mutex] received everything. 2021-04-21 22:16:09 | [Mutex] isItemNotified: node_cfsi730203:create_node:success :: true 2021-04-21 22:16:09 | [Mutex] waiting for: [node_cfsi730203:subscribe_node] 2021-04-21 22:16:09 | [Mutex] waiting for: [node_cfsi730203:subscribe_node] 2021-04-21 22:16:09 | [Mutex] received everything. 2021-04-21 22:16:09 | [Mutex] isItemNotified: node_cfsi730203:subscribe_node:success :: true 2021-04-21 22:16:09 | ===== publishing normal message (to online) 2021-04-21 22:16:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:16:09 | command: <data><node>node_cfsi730203</node><entry><content>content_hvzwc40204</content></entry></data> 2021-04-21 22:16:09 | target: http://localhost:8088 2021-04-21 22:16:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-21 22:16:09 | entity: <data><node>node_cfsi730203</node><entry><content>content_hvzwc40204</content></entry></data> 2021-04-21 22:16:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:16:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:16:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dda85d97-eb3d-4b02-82c3-83cb33679c3c</value></item-id></result> 2021-04-21 22:16:09 | contains: true 2021-04-21 22:16:09 | [Mutex] received everything. 2021-04-21 22:16:09 | [Mutex] isItemNotified: user_regular86dwo10202@test-domain.com:message:received:content_hvzwc40204 :: true 2021-04-21 22:16:09 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-21 22:16:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:16:09 | command: <data><node>node_cfsi730203</node><expire-at>2021-04-22T05:16:04Z</expire-at><entry><content>content_hi2ok10205</content></entry></data> 2021-04-21 22:16:09 | target: http://localhost:8088 2021-04-21 22:16:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-21 22:16:09 | entity: <data><node>node_cfsi730203</node><expire-at>2021-04-22T05:16:04Z</expire-at><entry><content>content_hi2ok10205</content></entry></data> 2021-04-21 22:16:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:16:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:16:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9236f422-4965-44c8-a512-b0356cfcfff7</value></item-id></result> 2021-04-21 22:16:09 | contains: true 2021-04-21 22:16:09 | [Mutex] waiting for: [user_regular86dwo10202@test-domain.com:message:received:content_hi2ok10205] 2021-04-21 22:16:24 | [Mutex] timeout. Not received [user_regular86dwo10202@test-domain.com:message:received:content_hi2ok10205] 2021-04-21 22:16:24 | [Mutex] isItemNotified: user_regular86dwo10202@test-domain.com:message:received:content_hi2ok10205 :: false 2021-04-21 22:16:24 | ===== publishing normal message (to offline) 2021-04-21 22:16:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:16:24 | command: <data><node>node_cfsi730203</node><entry><content>content_dvcwww0206</content></entry></data> 2021-04-21 22:16:24 | target: http://localhost:8088 2021-04-21 22:16:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-21 22:16:24 | entity: <data><node>node_cfsi730203</node><entry><content>content_dvcwww0206</content></entry></data> 2021-04-21 22:16:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:16:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:16:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c0d5fa14-a12b-457c-a7de-e4262d2b511d</value></item-id></result> 2021-04-21 22:16:24 | contains: true 2021-04-21 22:16:29 | [Mutex] waiting for: [user_regular86dwo10202@test-domain.com:message:received:content_dvcwww0206] 2021-04-21 22:16:29 | [Mutex] waiting for: [user_regular86dwo10202@test-domain.com:message:received:content_dvcwww0206] 2021-04-21 22:16:29 | [Mutex] received everything. 2021-04-21 22:16:29 | [Mutex] isItemNotified: user_regular86dwo10202@test-domain.com:message:received:content_dvcwww0206 :: true 2021-04-21 22:16:29 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-21 22:16:29 | [Mutex] received everything. 2021-04-21 22:16:29 | [Mutex] isItemNotified: node_cfsi730203:subscribe_node:success :: true 2021-04-21 22:16:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-21 22:16:29 | command: <data><node>node_cfsi730203</node><expire-at>2021-04-22T05:16:34Z</expire-at><entry><content>content_wu56n10207</content></entry></data> 2021-04-21 22:16:29 | target: http://localhost:8088 2021-04-21 22:16:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-21 22:16:29 | entity: <data><node>node_cfsi730203</node><expire-at>2021-04-22T05:16:34Z</expire-at><entry><content>content_wu56n10207</content></entry></data> 2021-04-21 22:16:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:16:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-21 22:16:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>96137a70-ecf0-4212-a96c-d8842ce7f50b</value></item-id></result> 2021-04-21 22:16:29 | contains: true 2021-04-21 22:16:37 | [Mutex] waiting for: [user_regular86dwo10202@test-domain.com:message:received:content_wu56n10207] 2021-04-21 22:16:52 | [Mutex] timeout. Not received [user_regular86dwo10202@test-domain.com:message:received:content_wu56n10207] 2021-04-21 22:16:52 | [Mutex] received everything. 2021-04-21 22:16:52 | [Mutex] isItemNotified: user_regular86dwo10202@test-domain.com:message:received:content_wu56n10207 :: false 2021-04-21 22:16:52 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wu56n10207 :: true |