Test duration : 45.622s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.759s |
2020-09-01 20:20:04 |
2020-09-01 20:20:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-01 20:20:04 | ------------------------------------ 2020-09-01 20:20:04 | [Mutex] isItemNotified: node_5jups20203:exists :: false 2020-09-01 20:20:04 | [Mutex] waiting for: [node_5jups20203:create_node] 2020-09-01 20:20:04 | [Mutex] received everything. 2020-09-01 20:20:04 | [Mutex] isItemNotified: node_5jups20203:create_node:success :: true 2020-09-01 20:20:04 | [Mutex] waiting for: [node_5jups20203:subscribe_node] 2020-09-01 20:20:04 | [Mutex] waiting for: [node_5jups20203:subscribe_node] 2020-09-01 20:20:04 | [Mutex] received everything. 2020-09-01 20:20:04 | [Mutex] isItemNotified: node_5jups20203:subscribe_node:success :: true 2020-09-01 20:20:04 | ===== publishing normal message (to online) 2020-09-01 20:20:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 20:20:04 | command: <data><node>node_5jups20203</node><entry><content>content_4omf40204</content></entry></data> 2020-09-01 20:20:04 | target: http://localhost:8088 2020-09-01 20:20:04 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2020-09-01 20:20:04 | entity: <data><node>node_5jups20203</node><entry><content>content_4omf40204</content></entry></data> 2020-09-01 20:20:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 03:20:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 20:20:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9176fd73-aa3a-4ea7-8196-dbf9598d7d06</value></item-id></result> 2020-09-01 20:20:04 | contains: true 2020-09-01 20:20:04 | [Mutex] waiting for: [user_regular7piqxa0202@test-domain.com:message:received:content_4omf40204] 2020-09-01 20:20:04 | [Mutex] received everything. 2020-09-01 20:20:04 | [Mutex] isItemNotified: user_regular7piqxa0202@test-domain.com:message:received:content_4omf40204 :: true 2020-09-01 20:20:04 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-01 20:20:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 20:20:04 | command: <data><node>node_5jups20203</node><expire-at>2020-09-02T03:19:59Z</expire-at><entry><content>content_gwhgt40205</content></entry></data> 2020-09-01 20:20:04 | target: http://localhost:8088 2020-09-01 20:20:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-01 20:20:04 | entity: <data><node>node_5jups20203</node><expire-at>2020-09-02T03:19:59Z</expire-at><entry><content>content_gwhgt40205</content></entry></data> 2020-09-01 20:20:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 03:20:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 20:20:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d1f3934a-49f8-4143-ada5-b4181b4c7740</value></item-id></result> 2020-09-01 20:20:04 | contains: true 2020-09-01 20:20:04 | [Mutex] waiting for: [user_regular7piqxa0202@test-domain.com:message:received:content_gwhgt40205] 2020-09-01 20:20:19 | [Mutex] timeout. Not received [user_regular7piqxa0202@test-domain.com:message:received:content_gwhgt40205] 2020-09-01 20:20:19 | [Mutex] isItemNotified: user_regular7piqxa0202@test-domain.com:message:received:content_gwhgt40205 :: false 2020-09-01 20:20:19 | ===== publishing normal message (to offline) 2020-09-01 20:20:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 20:20:19 | command: <data><node>node_5jups20203</node><entry><content>content_70cfl30206</content></entry></data> 2020-09-01 20:20:19 | target: http://localhost:8088 2020-09-01 20:20:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-01 20:20:19 | entity: <data><node>node_5jups20203</node><entry><content>content_70cfl30206</content></entry></data> 2020-09-01 20:20:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 03:20:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 20:20:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>441a40d2-e631-4657-926f-a56bd01dd58a</value></item-id></result> 2020-09-01 20:20:19 | contains: true 2020-09-01 20:20:25 | [Mutex] waiting for: [user_regular7piqxa0202@test-domain.com:message:received:content_70cfl30206] 2020-09-01 20:20:25 | [Mutex] waiting for: [user_regular7piqxa0202@test-domain.com:message:received:content_70cfl30206] 2020-09-01 20:20:25 | [Mutex] received everything. 2020-09-01 20:20:25 | [Mutex] isItemNotified: user_regular7piqxa0202@test-domain.com:message:received:content_70cfl30206 :: true 2020-09-01 20:20:25 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-01 20:20:25 | [Mutex] received everything. 2020-09-01 20:20:25 | [Mutex] isItemNotified: node_5jups20203:subscribe_node:success :: true 2020-09-01 20:20:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 20:20:25 | command: <data><node>node_5jups20203</node><expire-at>2020-09-02T03:20:30Z</expire-at><entry><content>content_pv55s70207</content></entry></data> 2020-09-01 20:20:25 | target: http://localhost:8088 2020-09-01 20:20:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-01 20:20:25 | entity: <data><node>node_5jups20203</node><expire-at>2020-09-02T03:20:30Z</expire-at><entry><content>content_pv55s70207</content></entry></data> 2020-09-01 20:20:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 03:20:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 20:20:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9b5e1b22-9de6-4543-af89-68bbf6d06df3</value></item-id></result> 2020-09-01 20:20:25 | contains: true 2020-09-01 20:20:33 | [Mutex] waiting for: [user_regular7piqxa0202@test-domain.com:message:received:content_pv55s70207] 2020-09-01 20:20:33 | [Mutex] waiting for: [user_regular7piqxa0202@test-domain.com:message:received:content_pv55s70207] 2020-09-01 20:20:48 | [Mutex] timeout. Not received [user_regular7piqxa0202@test-domain.com:message:received:content_pv55s70207] 2020-09-01 20:20:48 | [Mutex] received everything. 2020-09-01 20:20:48 | [Mutex] isItemNotified: user_regular7piqxa0202@test-domain.com:message:received:content_pv55s70207 :: false 2020-09-01 20:20:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pv55s70207 :: true |