Test duration : 45.212s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.610s |
2021-10-05 23:10:18 |
2021-10-05 23:10:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-05 23:10:18 | ------------------------------------ 2021-10-05 23:10:18 | [Mutex] isItemNotified: node_opq6lw0203:exists :: false 2021-10-05 23:10:18 | [Mutex] waiting for: [node_opq6lw0203:create_node] 2021-10-05 23:10:18 | [Mutex] received everything. 2021-10-05 23:10:18 | [Mutex] isItemNotified: node_opq6lw0203:create_node:success :: true 2021-10-05 23:10:18 | [Mutex] waiting for: [node_opq6lw0203:subscribe_node] 2021-10-05 23:10:18 | [Mutex] received everything. 2021-10-05 23:10:18 | [Mutex] isItemNotified: node_opq6lw0203:subscribe_node:success :: true 2021-10-05 23:10:18 | ===== publishing normal message (to online) 2021-10-05 23:10:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 23:10:18 | command: <data><node>node_opq6lw0203</node><entry><content>content_f6nzl70204</content></entry></data> 2021-10-05 23:10:18 | target: http://localhost:8088 2021-10-05 23:10:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-05 23:10:18 | entity: <data><node>node_opq6lw0203</node><entry><content>content_f6nzl70204</content></entry></data> 2021-10-05 23:10:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 06:10:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 23:10:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2188e0d3-4cd3-4c73-b3d4-d02c18df21c0</value></item-id></result> 2021-10-05 23:10:18 | contains: true 2021-10-05 23:10:18 | [Mutex] received everything. 2021-10-05 23:10:18 | [Mutex] isItemNotified: user_regularobsy330202@test-domain.com:message:received:content_f6nzl70204 :: true 2021-10-05 23:10:18 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-05 23:10:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 23:10:18 | command: <data><node>node_opq6lw0203</node><expire-at>2021-10-06T06:10:13Z</expire-at><entry><content>content_ntq9y80205</content></entry></data> 2021-10-05 23:10:18 | target: http://localhost:8088 2021-10-05 23:10:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-05 23:10:18 | entity: <data><node>node_opq6lw0203</node><expire-at>2021-10-06T06:10:13Z</expire-at><entry><content>content_ntq9y80205</content></entry></data> 2021-10-05 23:10:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 06:10:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 23:10:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>88d68b43-4866-4578-9293-19470980ba64</value></item-id></result> 2021-10-05 23:10:18 | contains: true 2021-10-05 23:10:18 | [Mutex] waiting for: [user_regularobsy330202@test-domain.com:message:received:content_ntq9y80205] 2021-10-05 23:10:33 | [Mutex] timeout. Not received [user_regularobsy330202@test-domain.com:message:received:content_ntq9y80205] 2021-10-05 23:10:33 | [Mutex] isItemNotified: user_regularobsy330202@test-domain.com:message:received:content_ntq9y80205 :: false 2021-10-05 23:10:33 | ===== publishing normal message (to offline) 2021-10-05 23:10:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 23:10:33 | command: <data><node>node_opq6lw0203</node><entry><content>content_z0li940206</content></entry></data> 2021-10-05 23:10:33 | target: http://localhost:8088 2021-10-05 23:10:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-05 23:10:33 | entity: <data><node>node_opq6lw0203</node><entry><content>content_z0li940206</content></entry></data> 2021-10-05 23:10:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 06:10:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 23:10:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>81f67bb1-3dc9-463e-872a-5ce17c9c94c7</value></item-id></result> 2021-10-05 23:10:33 | contains: true 2021-10-05 23:10:38 | [Mutex] waiting for: [user_regularobsy330202@test-domain.com:message:received:content_z0li940206] 2021-10-05 23:10:39 | [Mutex] received everything. 2021-10-05 23:10:39 | [Mutex] isItemNotified: user_regularobsy330202@test-domain.com:message:received:content_z0li940206 :: true 2021-10-05 23:10:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-05 23:10:39 | [Mutex] received everything. 2021-10-05 23:10:39 | [Mutex] isItemNotified: node_opq6lw0203:subscribe_node:success :: true 2021-10-05 23:10:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-05 23:10:39 | command: <data><node>node_opq6lw0203</node><expire-at>2021-10-06T06:10:44Z</expire-at><entry><content>content_s6cxy90207</content></entry></data> 2021-10-05 23:10:39 | target: http://localhost:8088 2021-10-05 23:10:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-05 23:10:39 | entity: <data><node>node_opq6lw0203</node><expire-at>2021-10-06T06:10:44Z</expire-at><entry><content>content_s6cxy90207</content></entry></data> 2021-10-05 23:10:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 06 Oct 2021 06:10:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-05 23:10:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7478a440-042a-426e-bbe5-fd8133f05c76</value></item-id></result> 2021-10-05 23:10:39 | contains: true 2021-10-05 23:10:47 | [Mutex] waiting for: [user_regularobsy330202@test-domain.com:message:received:content_s6cxy90207] 2021-10-05 23:10:47 | [Mutex] waiting for: [user_regularobsy330202@test-domain.com:message:received:content_s6cxy90207] 2021-10-05 23:11:02 | [Mutex] timeout. Not received [user_regularobsy330202@test-domain.com:message:received:content_s6cxy90207] 2021-10-05 23:11:02 | [Mutex] received everything. 2021-10-05 23:11:02 | [Mutex] isItemNotified: user_regularobsy330202@test-domain.com:message:received:content_s6cxy90207 :: false 2021-10-05 23:11:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_s6cxy90207 :: true |