Test duration : 45.589s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.695s |
2021-11-15 22:12:27 |
2021-11-15 22:12:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-11-15 22:12:27 | ------------------------------------ 2021-11-15 22:12:27 | [Mutex] isItemNotified: node_ubtt3d0203:exists :: false 2021-11-15 22:12:27 | [Mutex] waiting for: [node_ubtt3d0203:create_node] 2021-11-15 22:12:27 | [Mutex] received everything. 2021-11-15 22:12:27 | [Mutex] isItemNotified: node_ubtt3d0203:create_node:success :: true 2021-11-15 22:12:27 | [Mutex] waiting for: [node_ubtt3d0203:subscribe_node] 2021-11-15 22:12:27 | [Mutex] received everything. 2021-11-15 22:12:27 | [Mutex] isItemNotified: node_ubtt3d0203:subscribe_node:success :: true 2021-11-15 22:12:27 | ===== publishing normal message (to online) 2021-11-15 22:12:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:12:27 | command: <data><node>node_ubtt3d0203</node><entry><content>content_snusun0204</content></entry></data> 2021-11-15 22:12:27 | target: http://localhost:8088 2021-11-15 22:12:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-15 22:12:27 | entity: <data><node>node_ubtt3d0203</node><entry><content>content_snusun0204</content></entry></data> 2021-11-15 22:12:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:12:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:12:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a742c59-e871-4435-9679-d40ccfd8975d</value></item-id></result> 2021-11-15 22:12:28 | contains: true 2021-11-15 22:12:28 | [Mutex] waiting for: [user_regulare3flp50202@test-domain.com:message:received:content_snusun0204] 2021-11-15 22:12:28 | [Mutex] received everything. 2021-11-15 22:12:28 | [Mutex] isItemNotified: user_regulare3flp50202@test-domain.com:message:received:content_snusun0204 :: true 2021-11-15 22:12:28 | ===== publishing already old message - expecting message being filtered out (to online) 2021-11-15 22:12:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:12:28 | command: <data><node>node_ubtt3d0203</node><expire-at>2021-11-16T06:12:23Z</expire-at><entry><content>content_nyhfv0205</content></entry></data> 2021-11-15 22:12:28 | target: http://localhost:8088 2021-11-15 22:12:28 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-11-15 22:12:28 | entity: <data><node>node_ubtt3d0203</node><expire-at>2021-11-16T06:12:23Z</expire-at><entry><content>content_nyhfv0205</content></entry></data> 2021-11-15 22:12:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:12:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:12:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c63f32a8-4792-46ca-8679-5477ddf01c48</value></item-id></result> 2021-11-15 22:12:28 | contains: true 2021-11-15 22:12:28 | [Mutex] waiting for: [user_regulare3flp50202@test-domain.com:message:received:content_nyhfv0205] 2021-11-15 22:12:43 | [Mutex] timeout. Not received [user_regulare3flp50202@test-domain.com:message:received:content_nyhfv0205] 2021-11-15 22:12:43 | [Mutex] isItemNotified: user_regulare3flp50202@test-domain.com:message:received:content_nyhfv0205 :: false 2021-11-15 22:12:43 | ===== publishing normal message (to offline) 2021-11-15 22:12:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:12:43 | command: <data><node>node_ubtt3d0203</node><entry><content>content_2aced0206</content></entry></data> 2021-11-15 22:12:43 | target: http://localhost:8088 2021-11-15 22:12:43 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-11-15 22:12:43 | entity: <data><node>node_ubtt3d0203</node><entry><content>content_2aced0206</content></entry></data> 2021-11-15 22:12:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:12:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:12:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>07504023-7ca1-479b-9aa4-07ecd6d182a2</value></item-id></result> 2021-11-15 22:12:43 | contains: true 2021-11-15 22:12:48 | [Mutex] waiting for: [user_regulare3flp50202@test-domain.com:message:received:content_2aced0206] 2021-11-15 22:12:48 | [Mutex] received everything. 2021-11-15 22:12:48 | [Mutex] isItemNotified: user_regulare3flp50202@test-domain.com:message:received:content_2aced0206 :: true 2021-11-15 22:12:48 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-11-15 22:12:48 | [Mutex] received everything. 2021-11-15 22:12:48 | [Mutex] isItemNotified: node_ubtt3d0203:subscribe_node:success :: true 2021-11-15 22:12:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:12:48 | command: <data><node>node_ubtt3d0203</node><expire-at>2021-11-16T06:12:53Z</expire-at><entry><content>content_5lui6b0207</content></entry></data> 2021-11-15 22:12:48 | target: http://localhost:8088 2021-11-15 22:12:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-15 22:12:48 | entity: <data><node>node_ubtt3d0203</node><expire-at>2021-11-16T06:12:53Z</expire-at><entry><content>content_5lui6b0207</content></entry></data> 2021-11-15 22:12:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:12:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:12:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f8d98e76-a895-454c-9e00-a94999e75382</value></item-id></result> 2021-11-15 22:12:48 | contains: true 2021-11-15 22:12:56 | [Mutex] waiting for: [user_regulare3flp50202@test-domain.com:message:received:content_5lui6b0207] 2021-11-15 22:13:11 | [Mutex] timeout. Not received [user_regulare3flp50202@test-domain.com:message:received:content_5lui6b0207] 2021-11-15 22:13:11 | [Mutex] received everything. 2021-11-15 22:13:11 | [Mutex] isItemNotified: user_regulare3flp50202@test-domain.com:message:received:content_5lui6b0207 :: false 2021-11-15 22:13:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5lui6b0207 :: true |