Test duration : 45.034s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.710s |
2021-03-17 22:42:35 |
2021-03-17 22:42:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-17 22:42:35 | ------------------------------------ 2021-03-17 22:42:35 | [Mutex] isItemNotified: node_5rzl5f0203:exists :: false 2021-03-17 22:42:35 | [Mutex] waiting for: [node_5rzl5f0203:create_node] 2021-03-17 22:42:35 | [Mutex] received everything. 2021-03-17 22:42:35 | [Mutex] isItemNotified: node_5rzl5f0203:create_node:success :: true 2021-03-17 22:42:35 | [Mutex] waiting for: [node_5rzl5f0203:subscribe_node] 2021-03-17 22:42:35 | [Mutex] waiting for: [node_5rzl5f0203:subscribe_node] 2021-03-17 22:42:35 | [Mutex] received everything. 2021-03-17 22:42:35 | [Mutex] isItemNotified: node_5rzl5f0203:subscribe_node:success :: true 2021-03-17 22:42:35 | ===== publishing normal message (to online) 2021-03-17 22:42:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:42:35 | command: <data><node>node_5rzl5f0203</node><entry><content>content_inx4vg0204</content></entry></data> 2021-03-17 22:42:35 | target: http://localhost:8088 2021-03-17 22:42:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-17 22:42:35 | entity: <data><node>node_5rzl5f0203</node><entry><content>content_inx4vg0204</content></entry></data> 2021-03-17 22:42:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:42:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:42:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3ba2a9ae-4633-49f1-aa92-667bfeb28a2b</value></item-id></result> 2021-03-17 22:42:35 | contains: true 2021-03-17 22:42:35 | [Mutex] received everything. 2021-03-17 22:42:35 | [Mutex] isItemNotified: user_regularq959k0202@test-domain.com:message:received:content_inx4vg0204 :: true 2021-03-17 22:42:35 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-17 22:42:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:42:35 | command: <data><node>node_5rzl5f0203</node><expire-at>2021-03-18T05:42:30Z</expire-at><entry><content>content_z8197s0205</content></entry></data> 2021-03-17 22:42:35 | target: http://localhost:8088 2021-03-17 22:42:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-17 22:42:35 | entity: <data><node>node_5rzl5f0203</node><expire-at>2021-03-18T05:42:30Z</expire-at><entry><content>content_z8197s0205</content></entry></data> 2021-03-17 22:42:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:42:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:42:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ea0b8baa-4ab7-4e95-b67e-be5546da7350</value></item-id></result> 2021-03-17 22:42:35 | contains: true 2021-03-17 22:42:35 | [Mutex] waiting for: [user_regularq959k0202@test-domain.com:message:received:content_z8197s0205] 2021-03-17 22:42:50 | [Mutex] timeout. Not received [user_regularq959k0202@test-domain.com:message:received:content_z8197s0205] 2021-03-17 22:42:50 | [Mutex] isItemNotified: user_regularq959k0202@test-domain.com:message:received:content_z8197s0205 :: false 2021-03-17 22:42:50 | ===== publishing normal message (to offline) 2021-03-17 22:42:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:42:50 | command: <data><node>node_5rzl5f0203</node><entry><content>content_pqbru70206</content></entry></data> 2021-03-17 22:42:50 | target: http://localhost:8088 2021-03-17 22:42:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-17 22:42:50 | entity: <data><node>node_5rzl5f0203</node><entry><content>content_pqbru70206</content></entry></data> 2021-03-17 22:42:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:42:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:42:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4437f690-4d64-479d-960e-d54984c20f8d</value></item-id></result> 2021-03-17 22:42:50 | contains: true 2021-03-17 22:42:56 | [Mutex] waiting for: [user_regularq959k0202@test-domain.com:message:received:content_pqbru70206] 2021-03-17 22:42:56 | [Mutex] received everything. 2021-03-17 22:42:56 | [Mutex] isItemNotified: user_regularq959k0202@test-domain.com:message:received:content_pqbru70206 :: true 2021-03-17 22:42:56 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-17 22:42:56 | [Mutex] received everything. 2021-03-17 22:42:56 | [Mutex] isItemNotified: node_5rzl5f0203:subscribe_node:success :: true 2021-03-17 22:42:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:42:56 | command: <data><node>node_5rzl5f0203</node><expire-at>2021-03-18T05:43:01Z</expire-at><entry><content>content_67ov6z0207</content></entry></data> 2021-03-17 22:42:56 | target: http://localhost:8088 2021-03-17 22:42:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-17 22:42:56 | entity: <data><node>node_5rzl5f0203</node><expire-at>2021-03-18T05:43:01Z</expire-at><entry><content>content_67ov6z0207</content></entry></data> 2021-03-17 22:42:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:42:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:42:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>85684db4-29a6-4642-8302-55f725c38821</value></item-id></result> 2021-03-17 22:42:56 | contains: true 2021-03-17 22:43:04 | [Mutex] waiting for: [user_regularq959k0202@test-domain.com:message:received:content_67ov6z0207] 2021-03-17 22:43:04 | [Mutex] waiting for: [user_regularq959k0202@test-domain.com:message:received:content_67ov6z0207] 2021-03-17 22:43:04 | [Mutex] waiting for: [user_regularq959k0202@test-domain.com:message:received:content_67ov6z0207] 2021-03-17 22:43:19 | [Mutex] timeout. Not received [user_regularq959k0202@test-domain.com:message:received:content_67ov6z0207] 2021-03-17 22:43:19 | [Mutex] received everything. 2021-03-17 22:43:19 | [Mutex] isItemNotified: user_regularq959k0202@test-domain.com:message:received:content_67ov6z0207 :: false 2021-03-17 22:43:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_67ov6z0207 :: true |