Test duration : 45.146s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.700s |
2022-02-17 04:49:57 |
2022-02-17 04:49:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-17 04:49:57 | ------------------------------------ 2022-02-17 04:49:57 | [Mutex] isItemNotified: node_w9l2vq0203:exists :: false 2022-02-17 04:49:57 | [Mutex] waiting for: [node_w9l2vq0203:create_node] 2022-02-17 04:49:57 | [Mutex] received everything. 2022-02-17 04:49:57 | [Mutex] isItemNotified: node_w9l2vq0203:create_node:success :: true 2022-02-17 04:49:57 | [Mutex] waiting for: [node_w9l2vq0203:subscribe_node] 2022-02-17 04:49:57 | [Mutex] waiting for: [node_w9l2vq0203:subscribe_node] 2022-02-17 04:49:57 | [Mutex] received everything. 2022-02-17 04:49:57 | [Mutex] isItemNotified: node_w9l2vq0203:subscribe_node:success :: true 2022-02-17 04:49:57 | ===== publishing normal message (to online) 2022-02-17 04:49:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:49:57 | command: <data><node>node_w9l2vq0203</node><entry><content>content_i7t7ln0204</content></entry></data> 2022-02-17 04:49:57 | target: http://localhost:8088 2022-02-17 04:49:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-17 04:49:57 | entity: <data><node>node_w9l2vq0203</node><entry><content>content_i7t7ln0204</content></entry></data> 2022-02-17 04:49:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:49:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:49:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0fe525d5-f25b-4d09-9fb5-e6c005a1fb59</value></item-id></result> 2022-02-17 04:49:57 | contains: true 2022-02-17 04:49:57 | [Mutex] waiting for: [user_regularsdj4d00202@test-domain.com:message:received:content_i7t7ln0204] 2022-02-17 04:49:57 | [Mutex] received everything. 2022-02-17 04:49:57 | [Mutex] isItemNotified: user_regularsdj4d00202@test-domain.com:message:received:content_i7t7ln0204 :: true 2022-02-17 04:49:57 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-17 04:49:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:49:57 | command: <data><node>node_w9l2vq0203</node><expire-at>2022-02-17T12:49:52Z</expire-at><entry><content>content_fpg12f0205</content></entry></data> 2022-02-17 04:49:57 | target: http://localhost:8088 2022-02-17 04:49:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-17 04:49:57 | entity: <data><node>node_w9l2vq0203</node><expire-at>2022-02-17T12:49:52Z</expire-at><entry><content>content_fpg12f0205</content></entry></data> 2022-02-17 04:49:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:49:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:49:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a891e18b-5701-43e8-8530-bbccbf8fcb32</value></item-id></result> 2022-02-17 04:49:57 | contains: true 2022-02-17 04:49:57 | [Mutex] waiting for: [user_regularsdj4d00202@test-domain.com:message:received:content_fpg12f0205] 2022-02-17 04:50:12 | [Mutex] timeout. Not received [user_regularsdj4d00202@test-domain.com:message:received:content_fpg12f0205] 2022-02-17 04:50:12 | [Mutex] isItemNotified: user_regularsdj4d00202@test-domain.com:message:received:content_fpg12f0205 :: false 2022-02-17 04:50:12 | ===== publishing normal message (to offline) 2022-02-17 04:50:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:50:12 | command: <data><node>node_w9l2vq0203</node><entry><content>content_b84xm90206</content></entry></data> 2022-02-17 04:50:12 | target: http://localhost:8088 2022-02-17 04:50:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-17 04:50:12 | entity: <data><node>node_w9l2vq0203</node><entry><content>content_b84xm90206</content></entry></data> 2022-02-17 04:50:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:50:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:50:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5e213b62-c1d4-4303-8b36-3d5d4b5d710f</value></item-id></result> 2022-02-17 04:50:12 | contains: true 2022-02-17 04:50:17 | [Mutex] waiting for: [user_regularsdj4d00202@test-domain.com:message:received:content_b84xm90206] 2022-02-17 04:50:17 | [Mutex] received everything. 2022-02-17 04:50:17 | [Mutex] isItemNotified: user_regularsdj4d00202@test-domain.com:message:received:content_b84xm90206 :: true 2022-02-17 04:50:17 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-17 04:50:17 | [Mutex] received everything. 2022-02-17 04:50:17 | [Mutex] isItemNotified: node_w9l2vq0203:subscribe_node:success :: true 2022-02-17 04:50:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-17 04:50:17 | command: <data><node>node_w9l2vq0203</node><expire-at>2022-02-17T12:50:22Z</expire-at><entry><content>content_sag6380207</content></entry></data> 2022-02-17 04:50:17 | target: http://localhost:8088 2022-02-17 04:50:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-17 04:50:17 | entity: <data><node>node_w9l2vq0203</node><expire-at>2022-02-17T12:50:22Z</expire-at><entry><content>content_sag6380207</content></entry></data> 2022-02-17 04:50:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Feb 2022 12:50:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-17 04:50:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7e1d59f4-106d-4368-a6b9-0687cd887fa9</value></item-id></result> 2022-02-17 04:50:17 | contains: true 2022-02-17 04:50:25 | [Mutex] waiting for: [user_regularsdj4d00202@test-domain.com:message:received:content_sag6380207] 2022-02-17 04:50:40 | [Mutex] timeout. Not received [user_regularsdj4d00202@test-domain.com:message:received:content_sag6380207] 2022-02-17 04:50:40 | [Mutex] received everything. 2022-02-17 04:50:40 | [Mutex] isItemNotified: user_regularsdj4d00202@test-domain.com:message:received:content_sag6380207 :: false 2022-02-17 04:50:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sag6380207 :: true |