Test duration : 45.213s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.769s |
2020-09-09 23:59:09 |
2020-09-09 23:59:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-09 23:59:09 | ------------------------------------ 2020-09-09 23:59:09 | [Mutex] isItemNotified: node_8ezgff0203:exists :: false 2020-09-09 23:59:09 | [Mutex] waiting for: [node_8ezgff0203:create_node] 2020-09-09 23:59:09 | [Mutex] received everything. 2020-09-09 23:59:09 | [Mutex] isItemNotified: node_8ezgff0203:create_node:success :: true 2020-09-09 23:59:09 | [Mutex] waiting for: [node_8ezgff0203:subscribe_node] 2020-09-09 23:59:09 | [Mutex] waiting for: [node_8ezgff0203:subscribe_node] 2020-09-09 23:59:09 | [Mutex] received everything. 2020-09-09 23:59:09 | [Mutex] isItemNotified: node_8ezgff0203:subscribe_node:success :: true 2020-09-09 23:59:09 | ===== publishing normal message (to online) 2020-09-09 23:59:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 23:59:09 | command: <data><node>node_8ezgff0203</node><entry><content>content_7n088k0204</content></entry></data> 2020-09-09 23:59:09 | target: http://localhost:8088 2020-09-09 23:59:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 23:59:09 | entity: <data><node>node_8ezgff0203</node><entry><content>content_7n088k0204</content></entry></data> 2020-09-09 23:59:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 06:59:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 23:59:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5b62f069-8c0c-495d-82c9-479f97162988</value></item-id></result> 2020-09-09 23:59:09 | contains: true 2020-09-09 23:59:09 | [Mutex] waiting for: [user_regular9rjhqu0202@test-domain.com:message:received:content_7n088k0204] 2020-09-09 23:59:09 | [Mutex] received everything. 2020-09-09 23:59:09 | [Mutex] isItemNotified: user_regular9rjhqu0202@test-domain.com:message:received:content_7n088k0204 :: true 2020-09-09 23:59:09 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-09 23:59:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 23:59:09 | command: <data><node>node_8ezgff0203</node><expire-at>2020-09-10T06:59:04Z</expire-at><entry><content>content_211cla0205</content></entry></data> 2020-09-09 23:59:09 | target: http://localhost:8088 2020-09-09 23:59:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 23:59:09 | entity: <data><node>node_8ezgff0203</node><expire-at>2020-09-10T06:59:04Z</expire-at><entry><content>content_211cla0205</content></entry></data> 2020-09-09 23:59:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 06:59:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 23:59:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5b56106b-69aa-4df4-99ef-606acfc48d91</value></item-id></result> 2020-09-09 23:59:09 | contains: true 2020-09-09 23:59:09 | [Mutex] waiting for: [user_regular9rjhqu0202@test-domain.com:message:received:content_211cla0205] 2020-09-09 23:59:24 | [Mutex] timeout. Not received [user_regular9rjhqu0202@test-domain.com:message:received:content_211cla0205] 2020-09-09 23:59:24 | [Mutex] isItemNotified: user_regular9rjhqu0202@test-domain.com:message:received:content_211cla0205 :: false 2020-09-09 23:59:24 | ===== publishing normal message (to offline) 2020-09-09 23:59:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 23:59:24 | command: <data><node>node_8ezgff0203</node><entry><content>content_e3xot80206</content></entry></data> 2020-09-09 23:59:24 | target: http://localhost:8088 2020-09-09 23:59:24 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 23:59:24 | entity: <data><node>node_8ezgff0203</node><entry><content>content_e3xot80206</content></entry></data> 2020-09-09 23:59:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 06:59:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 23:59:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6cb68964-164f-48df-a9b9-68375163fb6a</value></item-id></result> 2020-09-09 23:59:25 | contains: true 2020-09-09 23:59:30 | [Mutex] waiting for: [user_regular9rjhqu0202@test-domain.com:message:received:content_e3xot80206] 2020-09-09 23:59:30 | [Mutex] received everything. 2020-09-09 23:59:30 | [Mutex] isItemNotified: user_regular9rjhqu0202@test-domain.com:message:received:content_e3xot80206 :: true 2020-09-09 23:59:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-09 23:59:30 | [Mutex] received everything. 2020-09-09 23:59:30 | [Mutex] isItemNotified: node_8ezgff0203:subscribe_node:success :: true 2020-09-09 23:59:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 23:59:30 | command: <data><node>node_8ezgff0203</node><expire-at>2020-09-10T06:59:35Z</expire-at><entry><content>content_kz994n0207</content></entry></data> 2020-09-09 23:59:30 | target: http://localhost:8088 2020-09-09 23:59:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 23:59:30 | entity: <data><node>node_8ezgff0203</node><expire-at>2020-09-10T06:59:35Z</expire-at><entry><content>content_kz994n0207</content></entry></data> 2020-09-09 23:59:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 06:59:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 23:59:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1fc312d8-23b2-4566-ad3f-72c10afcd5d1</value></item-id></result> 2020-09-09 23:59:30 | contains: true 2020-09-09 23:59:38 | [Mutex] waiting for: [user_regular9rjhqu0202@test-domain.com:message:received:content_kz994n0207] 2020-09-09 23:59:38 | [Mutex] waiting for: [user_regular9rjhqu0202@test-domain.com:message:received:content_kz994n0207] 2020-09-09 23:59:53 | [Mutex] timeout. Not received [user_regular9rjhqu0202@test-domain.com:message:received:content_kz994n0207] 2020-09-09 23:59:53 | [Mutex] received everything. 2020-09-09 23:59:53 | [Mutex] isItemNotified: user_regular9rjhqu0202@test-domain.com:message:received:content_kz994n0207 :: false 2020-09-09 23:59:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kz994n0207 :: true |