Test duration : 45.399s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.667s |
2021-05-14 06:40:36 |
2021-05-14 06:40:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-14 06:40:36 | ------------------------------------ 2021-05-14 06:40:36 | [Mutex] isItemNotified: node_3lp070203:exists :: false 2021-05-14 06:40:36 | [Mutex] waiting for: [node_3lp070203:create_node] 2021-05-14 06:40:36 | [Mutex] received everything. 2021-05-14 06:40:36 | [Mutex] isItemNotified: node_3lp070203:create_node:success :: true 2021-05-14 06:40:36 | [Mutex] waiting for: [node_3lp070203:subscribe_node] 2021-05-14 06:40:36 | [Mutex] waiting for: [node_3lp070203:subscribe_node] 2021-05-14 06:40:36 | [Mutex] received everything. 2021-05-14 06:40:36 | [Mutex] isItemNotified: node_3lp070203:subscribe_node:success :: true 2021-05-14 06:40:36 | ===== publishing normal message (to online) 2021-05-14 06:40:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 06:40:36 | command: <data><node>node_3lp070203</node><entry><content>content_4xktnq0204</content></entry></data> 2021-05-14 06:40:36 | target: http://localhost:8088 2021-05-14 06:40:36 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-05-14 06:40:36 | entity: <data><node>node_3lp070203</node><entry><content>content_4xktnq0204</content></entry></data> 2021-05-14 06:40:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 13:40:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 06:40:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>32b8318c-501c-4bd6-a736-4f48bfbf55b7</value></item-id></result> 2021-05-14 06:40:37 | contains: true 2021-05-14 06:40:37 | [Mutex] received everything. 2021-05-14 06:40:37 | [Mutex] isItemNotified: user_regularsmr8o70202@test-domain.com:message:received:content_4xktnq0204 :: true 2021-05-14 06:40:37 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-14 06:40:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 06:40:37 | command: <data><node>node_3lp070203</node><expire-at>2021-05-14T13:40:32Z</expire-at><entry><content>content_bhdl1j0205</content></entry></data> 2021-05-14 06:40:37 | target: http://localhost:8088 2021-05-14 06:40:37 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-05-14 06:40:37 | entity: <data><node>node_3lp070203</node><expire-at>2021-05-14T13:40:32Z</expire-at><entry><content>content_bhdl1j0205</content></entry></data> 2021-05-14 06:40:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 13:40:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 06:40:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>718e55b3-0b21-438a-bd04-7eb846fa3aca</value></item-id></result> 2021-05-14 06:40:37 | contains: true 2021-05-14 06:40:37 | [Mutex] waiting for: [user_regularsmr8o70202@test-domain.com:message:received:content_bhdl1j0205] 2021-05-14 06:40:52 | [Mutex] timeout. Not received [user_regularsmr8o70202@test-domain.com:message:received:content_bhdl1j0205] 2021-05-14 06:40:52 | [Mutex] isItemNotified: user_regularsmr8o70202@test-domain.com:message:received:content_bhdl1j0205 :: false 2021-05-14 06:40:52 | ===== publishing normal message (to offline) 2021-05-14 06:40:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 06:40:52 | command: <data><node>node_3lp070203</node><entry><content>content_rppk670206</content></entry></data> 2021-05-14 06:40:52 | target: http://localhost:8088 2021-05-14 06:40:52 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-05-14 06:40:52 | entity: <data><node>node_3lp070203</node><entry><content>content_rppk670206</content></entry></data> 2021-05-14 06:40:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 13:40:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 06:40:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a5fe00cf-bb06-4ba3-a3d3-82f3b27a6417</value></item-id></result> 2021-05-14 06:40:52 | contains: true 2021-05-14 06:40:57 | [Mutex] waiting for: [user_regularsmr8o70202@test-domain.com:message:received:content_rppk670206] 2021-05-14 06:40:57 | [Mutex] received everything. 2021-05-14 06:40:57 | [Mutex] isItemNotified: user_regularsmr8o70202@test-domain.com:message:received:content_rppk670206 :: true 2021-05-14 06:40:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-14 06:40:57 | [Mutex] received everything. 2021-05-14 06:40:57 | [Mutex] isItemNotified: node_3lp070203:subscribe_node:success :: true 2021-05-14 06:40:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 06:40:57 | command: <data><node>node_3lp070203</node><expire-at>2021-05-14T13:41:02Z</expire-at><entry><content>content_8na9c30207</content></entry></data> 2021-05-14 06:40:57 | target: http://localhost:8088 2021-05-14 06:40:57 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-05-14 06:40:57 | entity: <data><node>node_3lp070203</node><expire-at>2021-05-14T13:41:02Z</expire-at><entry><content>content_8na9c30207</content></entry></data> 2021-05-14 06:40:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 13:40:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 06:40:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9a8f756e-a8ca-4e10-8a5d-d7e09e6dce76</value></item-id></result> 2021-05-14 06:40:57 | contains: true 2021-05-14 06:41:05 | [Mutex] waiting for: [user_regularsmr8o70202@test-domain.com:message:received:content_8na9c30207] 2021-05-14 06:41:20 | [Mutex] timeout. Not received [user_regularsmr8o70202@test-domain.com:message:received:content_8na9c30207] 2021-05-14 06:41:20 | [Mutex] received everything. 2021-05-14 06:41:20 | [Mutex] isItemNotified: user_regularsmr8o70202@test-domain.com:message:received:content_8na9c30207 :: false 2021-05-14 06:41:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8na9c30207 :: true |