Test duration : 45.112s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.739s |
2021-06-24 22:41:52 |
2021-06-24 22:41:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-24 22:41:52 | ------------------------------------ 2021-06-24 22:41:52 | [Mutex] isItemNotified: node_4hu39h0203:exists :: false 2021-06-24 22:41:52 | [Mutex] waiting for: [node_4hu39h0203:create_node] 2021-06-24 22:41:52 | [Mutex] received everything. 2021-06-24 22:41:52 | [Mutex] isItemNotified: node_4hu39h0203:create_node:success :: true 2021-06-24 22:41:52 | [Mutex] waiting for: [node_4hu39h0203:subscribe_node] 2021-06-24 22:41:52 | [Mutex] waiting for: [node_4hu39h0203:subscribe_node] 2021-06-24 22:41:52 | [Mutex] received everything. 2021-06-24 22:41:52 | [Mutex] isItemNotified: node_4hu39h0203:subscribe_node:success :: true 2021-06-24 22:41:52 | ===== publishing normal message (to online) 2021-06-24 22:41:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-24 22:41:52 | command: <data><node>node_4hu39h0203</node><entry><content>content_o25uog0204</content></entry></data> 2021-06-24 22:41:52 | target: http://localhost:8088 2021-06-24 22:41:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-24 22:41:52 | entity: <data><node>node_4hu39h0203</node><entry><content>content_o25uog0204</content></entry></data> 2021-06-24 22:41:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:41:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-24 22:41:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>19370b2f-3f8d-4337-8122-d1fb2d67a688</value></item-id></result> 2021-06-24 22:41:52 | contains: true 2021-06-24 22:41:52 | [Mutex] received everything. 2021-06-24 22:41:52 | [Mutex] isItemNotified: user_regularx45c720202@test-domain.com:message:received:content_o25uog0204 :: true 2021-06-24 22:41:52 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-24 22:41:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-24 22:41:52 | command: <data><node>node_4hu39h0203</node><expire-at>2021-06-25T05:41:47Z</expire-at><entry><content>content_tmjq050205</content></entry></data> 2021-06-24 22:41:52 | target: http://localhost:8088 2021-06-24 22:41:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-24 22:41:52 | entity: <data><node>node_4hu39h0203</node><expire-at>2021-06-25T05:41:47Z</expire-at><entry><content>content_tmjq050205</content></entry></data> 2021-06-24 22:41:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:41:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-24 22:41:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7ab0da8e-35ff-4a7b-82fc-ce8bd9d35a2f</value></item-id></result> 2021-06-24 22:41:52 | contains: true 2021-06-24 22:41:52 | [Mutex] waiting for: [user_regularx45c720202@test-domain.com:message:received:content_tmjq050205] 2021-06-24 22:42:07 | [Mutex] timeout. Not received [user_regularx45c720202@test-domain.com:message:received:content_tmjq050205] 2021-06-24 22:42:07 | [Mutex] isItemNotified: user_regularx45c720202@test-domain.com:message:received:content_tmjq050205 :: false 2021-06-24 22:42:07 | ===== publishing normal message (to offline) 2021-06-24 22:42:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-24 22:42:07 | command: <data><node>node_4hu39h0203</node><entry><content>content_x1givp0206</content></entry></data> 2021-06-24 22:42:07 | target: http://localhost:8088 2021-06-24 22:42:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-24 22:42:07 | entity: <data><node>node_4hu39h0203</node><entry><content>content_x1givp0206</content></entry></data> 2021-06-24 22:42:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:42:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-24 22:42:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7cf285e8-01b4-46b3-afe3-63e94ba157cc</value></item-id></result> 2021-06-24 22:42:07 | contains: true 2021-06-24 22:42:13 | [Mutex] waiting for: [user_regularx45c720202@test-domain.com:message:received:content_x1givp0206] 2021-06-24 22:42:13 | [Mutex] waiting for: [user_regularx45c720202@test-domain.com:message:received:content_x1givp0206] 2021-06-24 22:42:13 | [Mutex] received everything. 2021-06-24 22:42:13 | [Mutex] isItemNotified: user_regularx45c720202@test-domain.com:message:received:content_x1givp0206 :: true 2021-06-24 22:42:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-24 22:42:13 | [Mutex] received everything. 2021-06-24 22:42:13 | [Mutex] isItemNotified: node_4hu39h0203:subscribe_node:success :: true 2021-06-24 22:42:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-24 22:42:13 | command: <data><node>node_4hu39h0203</node><expire-at>2021-06-25T05:42:18Z</expire-at><entry><content>content_an8bmd0207</content></entry></data> 2021-06-24 22:42:13 | target: http://localhost:8088 2021-06-24 22:42:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-24 22:42:13 | entity: <data><node>node_4hu39h0203</node><expire-at>2021-06-25T05:42:18Z</expire-at><entry><content>content_an8bmd0207</content></entry></data> 2021-06-24 22:42:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:42:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-24 22:42:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aaf544c6-d333-479c-8ed7-c1d81e63570e</value></item-id></result> 2021-06-24 22:42:13 | contains: true 2021-06-24 22:42:21 | [Mutex] waiting for: [user_regularx45c720202@test-domain.com:message:received:content_an8bmd0207] 2021-06-24 22:42:21 | [Mutex] waiting for: [user_regularx45c720202@test-domain.com:message:received:content_an8bmd0207] 2021-06-24 22:42:36 | [Mutex] timeout. Not received [user_regularx45c720202@test-domain.com:message:received:content_an8bmd0207] 2021-06-24 22:42:36 | [Mutex] received everything. 2021-06-24 22:42:36 | [Mutex] isItemNotified: user_regularx45c720202@test-domain.com:message:received:content_an8bmd0207 :: false 2021-06-24 22:42:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_an8bmd0207 :: true |