Test duration : 45.395s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.670s |
2021-11-15 21:44:28 |
2021-11-15 21:44:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-11-15 21:44:28 | ------------------------------------ 2021-11-15 21:44:28 | [Mutex] isItemNotified: node_l27j9y0203:exists :: false 2021-11-15 21:44:28 | [Mutex] waiting for: [node_l27j9y0203:create_node] 2021-11-15 21:44:28 | [Mutex] received everything. 2021-11-15 21:44:28 | [Mutex] isItemNotified: node_l27j9y0203:create_node:success :: true 2021-11-15 21:44:28 | [Mutex] waiting for: [node_l27j9y0203:subscribe_node] 2021-11-15 21:44:28 | [Mutex] waiting for: [node_l27j9y0203:subscribe_node] 2021-11-15 21:44:28 | [Mutex] received everything. 2021-11-15 21:44:28 | [Mutex] isItemNotified: node_l27j9y0203:subscribe_node:success :: true 2021-11-15 21:44:28 | ===== publishing normal message (to online) 2021-11-15 21:44:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 21:44:28 | command: <data><node>node_l27j9y0203</node><entry><content>content_jjqice0204</content></entry></data> 2021-11-15 21:44:28 | target: http://localhost:8088 2021-11-15 21:44:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-15 21:44:28 | entity: <data><node>node_l27j9y0203</node><entry><content>content_jjqice0204</content></entry></data> 2021-11-15 21:44:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 05:44:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 21:44:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b1f665ad-3471-4dde-9f36-e583cadb93be</value></item-id></result> 2021-11-15 21:44:28 | contains: true 2021-11-15 21:44:28 | [Mutex] received everything. 2021-11-15 21:44:28 | [Mutex] isItemNotified: user_regularhfzwlu0202@test-domain.com:message:received:content_jjqice0204 :: true 2021-11-15 21:44:28 | ===== publishing already old message - expecting message being filtered out (to online) 2021-11-15 21:44:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 21:44:28 | command: <data><node>node_l27j9y0203</node><expire-at>2021-11-16T05:44:23Z</expire-at><entry><content>content_34h7nl0205</content></entry></data> 2021-11-15 21:44:28 | target: http://localhost:8088 2021-11-15 21:44:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-15 21:44:28 | entity: <data><node>node_l27j9y0203</node><expire-at>2021-11-16T05:44:23Z</expire-at><entry><content>content_34h7nl0205</content></entry></data> 2021-11-15 21:44:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 05:44:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 21:44:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3a89a3f2-273f-4cd1-8431-05bd455759ec</value></item-id></result> 2021-11-15 21:44:28 | contains: true 2021-11-15 21:44:28 | [Mutex] waiting for: [user_regularhfzwlu0202@test-domain.com:message:received:content_34h7nl0205] 2021-11-15 21:44:43 | [Mutex] timeout. Not received [user_regularhfzwlu0202@test-domain.com:message:received:content_34h7nl0205] 2021-11-15 21:44:43 | [Mutex] isItemNotified: user_regularhfzwlu0202@test-domain.com:message:received:content_34h7nl0205 :: false 2021-11-15 21:44:43 | ===== publishing normal message (to offline) 2021-11-15 21:44:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 21:44:43 | command: <data><node>node_l27j9y0203</node><entry><content>content_l0vg2e0206</content></entry></data> 2021-11-15 21:44:43 | target: http://localhost:8088 2021-11-15 21:44:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-15 21:44:43 | entity: <data><node>node_l27j9y0203</node><entry><content>content_l0vg2e0206</content></entry></data> 2021-11-15 21:44:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 05:44:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 21:44:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bfe50c97-50c2-4389-bfbc-52406ed13100</value></item-id></result> 2021-11-15 21:44:43 | contains: true 2021-11-15 21:44:48 | [Mutex] waiting for: [user_regularhfzwlu0202@test-domain.com:message:received:content_l0vg2e0206] 2021-11-15 21:44:48 | [Mutex] waiting for: [user_regularhfzwlu0202@test-domain.com:message:received:content_l0vg2e0206] 2021-11-15 21:44:48 | [Mutex] received everything. 2021-11-15 21:44:48 | [Mutex] isItemNotified: user_regularhfzwlu0202@test-domain.com:message:received:content_l0vg2e0206 :: true 2021-11-15 21:44:48 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-11-15 21:44:48 | [Mutex] received everything. 2021-11-15 21:44:48 | [Mutex] isItemNotified: node_l27j9y0203:subscribe_node:success :: true 2021-11-15 21:44:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 21:44:48 | command: <data><node>node_l27j9y0203</node><expire-at>2021-11-16T05:44:53Z</expire-at><entry><content>content_9tsxoo0207</content></entry></data> 2021-11-15 21:44:48 | target: http://localhost:8088 2021-11-15 21:44:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-15 21:44:48 | entity: <data><node>node_l27j9y0203</node><expire-at>2021-11-16T05:44:53Z</expire-at><entry><content>content_9tsxoo0207</content></entry></data> 2021-11-15 21:44:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 05:44:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 21:44:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fa53ca59-1eb3-429b-a73c-37374e8d0b44</value></item-id></result> 2021-11-15 21:44:48 | contains: true 2021-11-15 21:44:57 | [Mutex] waiting for: [user_regularhfzwlu0202@test-domain.com:message:received:content_9tsxoo0207] 2021-11-15 21:44:57 | [Mutex] waiting for: [user_regularhfzwlu0202@test-domain.com:message:received:content_9tsxoo0207] 2021-11-15 21:45:12 | [Mutex] timeout. Not received [user_regularhfzwlu0202@test-domain.com:message:received:content_9tsxoo0207] 2021-11-15 21:45:12 | [Mutex] received everything. 2021-11-15 21:45:12 | [Mutex] isItemNotified: user_regularhfzwlu0202@test-domain.com:message:received:content_9tsxoo0207 :: false 2021-11-15 21:45:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9tsxoo0207 :: true |