Test duration : 44.976s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.688s |
2021-01-04 21:59:34 |
2021-01-04 21:59:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-04 21:59:34 | ------------------------------------ 2021-01-04 21:59:34 | [Mutex] isItemNotified: node_1pszcx0203:exists :: false 2021-01-04 21:59:34 | [Mutex] waiting for: [node_1pszcx0203:create_node] 2021-01-04 21:59:34 | [Mutex] received everything. 2021-01-04 21:59:34 | [Mutex] isItemNotified: node_1pszcx0203:create_node:success :: true 2021-01-04 21:59:34 | [Mutex] waiting for: [node_1pszcx0203:subscribe_node] 2021-01-04 21:59:34 | [Mutex] received everything. 2021-01-04 21:59:34 | [Mutex] isItemNotified: node_1pszcx0203:subscribe_node:success :: true 2021-01-04 21:59:34 | ===== publishing normal message (to online) 2021-01-04 21:59:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-04 21:59:34 | command: <data><node>node_1pszcx0203</node><entry><content>content_pp8ku60204</content></entry></data> 2021-01-04 21:59:34 | target: http://localhost:8088 2021-01-04 21:59:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-04 21:59:34 | entity: <data><node>node_1pszcx0203</node><entry><content>content_pp8ku60204</content></entry></data> 2021-01-04 21:59:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 05:59:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-04 21:59:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e2c8a4dd-1279-4455-9349-332227191b65</value></item-id></result> 2021-01-04 21:59:34 | contains: true 2021-01-04 21:59:34 | [Mutex] received everything. 2021-01-04 21:59:34 | [Mutex] isItemNotified: user_regularlo2q3l0202@test-domain.com:message:received:content_pp8ku60204 :: true 2021-01-04 21:59:34 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-04 21:59:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-04 21:59:34 | command: <data><node>node_1pszcx0203</node><expire-at>2021-01-05T05:59:29Z</expire-at><entry><content>content_czgdy60205</content></entry></data> 2021-01-04 21:59:34 | target: http://localhost:8088 2021-01-04 21:59:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-04 21:59:34 | entity: <data><node>node_1pszcx0203</node><expire-at>2021-01-05T05:59:29Z</expire-at><entry><content>content_czgdy60205</content></entry></data> 2021-01-04 21:59:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 05:59:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-04 21:59:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0bde1ffe-ddd0-4aa0-be85-19a62e0e3380</value></item-id></result> 2021-01-04 21:59:34 | contains: true 2021-01-04 21:59:34 | [Mutex] waiting for: [user_regularlo2q3l0202@test-domain.com:message:received:content_czgdy60205] 2021-01-04 21:59:49 | [Mutex] timeout. Not received [user_regularlo2q3l0202@test-domain.com:message:received:content_czgdy60205] 2021-01-04 21:59:49 | [Mutex] isItemNotified: user_regularlo2q3l0202@test-domain.com:message:received:content_czgdy60205 :: false 2021-01-04 21:59:49 | ===== publishing normal message (to offline) 2021-01-04 21:59:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-04 21:59:49 | command: <data><node>node_1pszcx0203</node><entry><content>content_1pkcvh0206</content></entry></data> 2021-01-04 21:59:49 | target: http://localhost:8088 2021-01-04 21:59:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-04 21:59:49 | entity: <data><node>node_1pszcx0203</node><entry><content>content_1pkcvh0206</content></entry></data> 2021-01-04 21:59:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 05:59:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-04 21:59:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>559067b4-467d-460f-9810-6da87ef07110</value></item-id></result> 2021-01-04 21:59:49 | contains: true 2021-01-04 21:59:54 | [Mutex] waiting for: [user_regularlo2q3l0202@test-domain.com:message:received:content_1pkcvh0206] 2021-01-04 21:59:54 | [Mutex] received everything. 2021-01-04 21:59:54 | [Mutex] isItemNotified: user_regularlo2q3l0202@test-domain.com:message:received:content_1pkcvh0206 :: true 2021-01-04 21:59:54 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-04 21:59:54 | [Mutex] received everything. 2021-01-04 21:59:54 | [Mutex] isItemNotified: node_1pszcx0203:subscribe_node:success :: true 2021-01-04 21:59:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-04 21:59:54 | command: <data><node>node_1pszcx0203</node><expire-at>2021-01-05T05:59:59Z</expire-at><entry><content>content_vksvs40207</content></entry></data> 2021-01-04 21:59:54 | target: http://localhost:8088 2021-01-04 21:59:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-04 21:59:54 | entity: <data><node>node_1pszcx0203</node><expire-at>2021-01-05T05:59:59Z</expire-at><entry><content>content_vksvs40207</content></entry></data> 2021-01-04 21:59:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 05:59:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-04 21:59:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>57e28637-552c-47d8-802b-329959cccfb6</value></item-id></result> 2021-01-04 21:59:55 | contains: true 2021-01-04 22:00:03 | [Mutex] waiting for: [user_regularlo2q3l0202@test-domain.com:message:received:content_vksvs40207] 2021-01-04 22:00:18 | [Mutex] timeout. Not received [user_regularlo2q3l0202@test-domain.com:message:received:content_vksvs40207] 2021-01-04 22:00:18 | [Mutex] received everything. 2021-01-04 22:00:18 | [Mutex] isItemNotified: user_regularlo2q3l0202@test-domain.com:message:received:content_vksvs40207 :: false 2021-01-04 22:00:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vksvs40207 :: true |