Test duration : 45.712s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.762s |
2020-09-29 23:08:04 |
2020-09-29 23:08:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-29 23:08:04 | ------------------------------------ 2020-09-29 23:08:04 | [Mutex] isItemNotified: node_7x70ye0203:exists :: false 2020-09-29 23:08:04 | [Mutex] waiting for: [node_7x70ye0203:create_node] 2020-09-29 23:08:04 | [Mutex] received everything. 2020-09-29 23:08:04 | [Mutex] isItemNotified: node_7x70ye0203:create_node:success :: true 2020-09-29 23:08:04 | [Mutex] waiting for: [node_7x70ye0203:subscribe_node] 2020-09-29 23:08:04 | [Mutex] received everything. 2020-09-29 23:08:04 | [Mutex] isItemNotified: node_7x70ye0203:subscribe_node:success :: true 2020-09-29 23:08:04 | ===== publishing normal message (to online) 2020-09-29 23:08:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-29 23:08:04 | command: <data><node>node_7x70ye0203</node><entry><content>content_7z0lpx0204</content></entry></data> 2020-09-29 23:08:04 | target: http://localhost:8088 2020-09-29 23:08:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-29 23:08:04 | entity: <data><node>node_7x70ye0203</node><entry><content>content_7z0lpx0204</content></entry></data> 2020-09-29 23:08:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 06:08:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-29 23:08:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>012e5ab4-f58a-49be-a804-304ecb75d1c5</value></item-id></result> 2020-09-29 23:08:04 | contains: true 2020-09-29 23:08:04 | [Mutex] received everything. 2020-09-29 23:08:04 | [Mutex] isItemNotified: user_regular50tqvs0202@test-domain.com:message:received:content_7z0lpx0204 :: true 2020-09-29 23:08:04 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-29 23:08:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-29 23:08:04 | command: <data><node>node_7x70ye0203</node><expire-at>2020-09-30T06:07:59Z</expire-at><entry><content>content_ovxdad0205</content></entry></data> 2020-09-29 23:08:04 | target: http://localhost:8088 2020-09-29 23:08:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-29 23:08:04 | entity: <data><node>node_7x70ye0203</node><expire-at>2020-09-30T06:07:59Z</expire-at><entry><content>content_ovxdad0205</content></entry></data> 2020-09-29 23:08:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 06:08:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-29 23:08:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>72812a1b-2ca7-40e3-a9b1-1ec834f89b12</value></item-id></result> 2020-09-29 23:08:04 | contains: true 2020-09-29 23:08:04 | [Mutex] waiting for: [user_regular50tqvs0202@test-domain.com:message:received:content_ovxdad0205] 2020-09-29 23:08:19 | [Mutex] timeout. Not received [user_regular50tqvs0202@test-domain.com:message:received:content_ovxdad0205] 2020-09-29 23:08:19 | [Mutex] isItemNotified: user_regular50tqvs0202@test-domain.com:message:received:content_ovxdad0205 :: false 2020-09-29 23:08:19 | ===== publishing normal message (to offline) 2020-09-29 23:08:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-29 23:08:19 | command: <data><node>node_7x70ye0203</node><entry><content>content_m3o2oz0206</content></entry></data> 2020-09-29 23:08:19 | target: http://localhost:8088 2020-09-29 23:08:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-29 23:08:19 | entity: <data><node>node_7x70ye0203</node><entry><content>content_m3o2oz0206</content></entry></data> 2020-09-29 23:08:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 06:08:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-29 23:08:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dca379c8-cafe-45d5-a74d-f7c865d9d920</value></item-id></result> 2020-09-29 23:08:20 | contains: true 2020-09-29 23:08:25 | [Mutex] waiting for: [user_regular50tqvs0202@test-domain.com:message:received:content_m3o2oz0206] 2020-09-29 23:08:25 | [Mutex] received everything. 2020-09-29 23:08:25 | [Mutex] isItemNotified: user_regular50tqvs0202@test-domain.com:message:received:content_m3o2oz0206 :: true 2020-09-29 23:08:25 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-29 23:08:25 | [Mutex] received everything. 2020-09-29 23:08:25 | [Mutex] isItemNotified: node_7x70ye0203:subscribe_node:success :: true 2020-09-29 23:08:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-29 23:08:25 | command: <data><node>node_7x70ye0203</node><expire-at>2020-09-30T06:08:30Z</expire-at><entry><content>content_5raaf50207</content></entry></data> 2020-09-29 23:08:25 | target: http://localhost:8088 2020-09-29 23:08:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-29 23:08:25 | entity: <data><node>node_7x70ye0203</node><expire-at>2020-09-30T06:08:30Z</expire-at><entry><content>content_5raaf50207</content></entry></data> 2020-09-29 23:08:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 06:08:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-29 23:08:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d1d15a1c-049f-4f97-ba8f-c1ce932d2ccd</value></item-id></result> 2020-09-29 23:08:25 | contains: true 2020-09-29 23:08:33 | [Mutex] waiting for: [user_regular50tqvs0202@test-domain.com:message:received:content_5raaf50207] 2020-09-29 23:08:33 | [Mutex] waiting for: [user_regular50tqvs0202@test-domain.com:message:received:content_5raaf50207] 2020-09-29 23:08:48 | [Mutex] timeout. Not received [user_regular50tqvs0202@test-domain.com:message:received:content_5raaf50207] 2020-09-29 23:08:48 | [Mutex] received everything. 2020-09-29 23:08:48 | [Mutex] isItemNotified: user_regular50tqvs0202@test-domain.com:message:received:content_5raaf50207 :: false 2020-09-29 23:08:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5raaf50207 :: true |