Test duration : 45.165s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.657s |
2021-04-29 22:38:18 |
2021-04-29 22:38:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-29 22:38:18 | ------------------------------------ 2021-04-29 22:38:18 | [Mutex] isItemNotified: node_8rvszg0203:exists :: false 2021-04-29 22:38:18 | [Mutex] waiting for: [node_8rvszg0203:create_node] 2021-04-29 22:38:18 | [Mutex] received everything. 2021-04-29 22:38:18 | [Mutex] isItemNotified: node_8rvszg0203:create_node:success :: true 2021-04-29 22:38:18 | [Mutex] waiting for: [node_8rvszg0203:subscribe_node] 2021-04-29 22:38:18 | [Mutex] waiting for: [node_8rvszg0203:subscribe_node] 2021-04-29 22:38:18 | [Mutex] received everything. 2021-04-29 22:38:18 | [Mutex] isItemNotified: node_8rvszg0203:subscribe_node:success :: true 2021-04-29 22:38:18 | ===== publishing normal message (to online) 2021-04-29 22:38:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:38:18 | command: <data><node>node_8rvszg0203</node><entry><content>content_ftsgeq0204</content></entry></data> 2021-04-29 22:38:18 | target: http://localhost:8088 2021-04-29 22:38:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-29 22:38:18 | entity: <data><node>node_8rvszg0203</node><entry><content>content_ftsgeq0204</content></entry></data> 2021-04-29 22:38:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:38:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:38:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>68b02340-64ad-4d7c-8531-0166c375a41a</value></item-id></result> 2021-04-29 22:38:18 | contains: true 2021-04-29 22:38:18 | [Mutex] received everything. 2021-04-29 22:38:18 | [Mutex] isItemNotified: user_regulardpk6wi0202@test-domain.com:message:received:content_ftsgeq0204 :: true 2021-04-29 22:38:18 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-29 22:38:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:38:18 | command: <data><node>node_8rvszg0203</node><expire-at>2021-04-30T05:38:13Z</expire-at><entry><content>content_rf8a990205</content></entry></data> 2021-04-29 22:38:18 | target: http://localhost:8088 2021-04-29 22:38:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-29 22:38:18 | entity: <data><node>node_8rvszg0203</node><expire-at>2021-04-30T05:38:13Z</expire-at><entry><content>content_rf8a990205</content></entry></data> 2021-04-29 22:38:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:38:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:38:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bee1de0d-f73c-4207-939f-809cddd35bec</value></item-id></result> 2021-04-29 22:38:18 | contains: true 2021-04-29 22:38:18 | [Mutex] waiting for: [user_regulardpk6wi0202@test-domain.com:message:received:content_rf8a990205] 2021-04-29 22:38:33 | [Mutex] timeout. Not received [user_regulardpk6wi0202@test-domain.com:message:received:content_rf8a990205] 2021-04-29 22:38:33 | [Mutex] isItemNotified: user_regulardpk6wi0202@test-domain.com:message:received:content_rf8a990205 :: false 2021-04-29 22:38:33 | ===== publishing normal message (to offline) 2021-04-29 22:38:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:38:33 | command: <data><node>node_8rvszg0203</node><entry><content>content_bjyays0206</content></entry></data> 2021-04-29 22:38:33 | target: http://localhost:8088 2021-04-29 22:38:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-29 22:38:33 | entity: <data><node>node_8rvszg0203</node><entry><content>content_bjyays0206</content></entry></data> 2021-04-29 22:38:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:38:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:38:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27db3fe4-51b0-4938-8c5b-cd950ab2ce3a</value></item-id></result> 2021-04-29 22:38:33 | contains: true 2021-04-29 22:38:38 | [Mutex] waiting for: [user_regulardpk6wi0202@test-domain.com:message:received:content_bjyays0206] 2021-04-29 22:38:38 | [Mutex] received everything. 2021-04-29 22:38:38 | [Mutex] isItemNotified: user_regulardpk6wi0202@test-domain.com:message:received:content_bjyays0206 :: true 2021-04-29 22:38:38 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-29 22:38:38 | [Mutex] received everything. 2021-04-29 22:38:38 | [Mutex] isItemNotified: node_8rvszg0203:subscribe_node:success :: true 2021-04-29 22:38:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:38:38 | command: <data><node>node_8rvszg0203</node><expire-at>2021-04-30T05:38:43Z</expire-at><entry><content>content_jsswd0207</content></entry></data> 2021-04-29 22:38:38 | target: http://localhost:8088 2021-04-29 22:38:38 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-04-29 22:38:38 | entity: <data><node>node_8rvszg0203</node><expire-at>2021-04-30T05:38:43Z</expire-at><entry><content>content_jsswd0207</content></entry></data> 2021-04-29 22:38:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:38:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:38:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f424aabc-33bc-41f4-82a2-26f610bc7383</value></item-id></result> 2021-04-29 22:38:38 | contains: true 2021-04-29 22:38:46 | [Mutex] waiting for: [user_regulardpk6wi0202@test-domain.com:message:received:content_jsswd0207] 2021-04-29 22:39:01 | [Mutex] timeout. Not received [user_regulardpk6wi0202@test-domain.com:message:received:content_jsswd0207] 2021-04-29 22:39:01 | [Mutex] received everything. 2021-04-29 22:39:01 | [Mutex] isItemNotified: user_regulardpk6wi0202@test-domain.com:message:received:content_jsswd0207 :: false 2021-04-29 22:39:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jsswd0207 :: true |