Test duration : 45.624s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.712s |
2020-10-01 22:58:19 |
2020-10-01 22:58:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-01 22:58:19 | ------------------------------------ 2020-10-01 22:58:19 | [Mutex] isItemNotified: node_vhn55l0203:exists :: false 2020-10-01 22:58:19 | [Mutex] waiting for: [node_vhn55l0203:create_node] 2020-10-01 22:58:19 | [Mutex] received everything. 2020-10-01 22:58:19 | [Mutex] isItemNotified: node_vhn55l0203:create_node:success :: true 2020-10-01 22:58:19 | [Mutex] waiting for: [node_vhn55l0203:subscribe_node] 2020-10-01 22:58:19 | [Mutex] waiting for: [node_vhn55l0203:subscribe_node] 2020-10-01 22:58:19 | [Mutex] received everything. 2020-10-01 22:58:19 | [Mutex] isItemNotified: node_vhn55l0203:subscribe_node:success :: true 2020-10-01 22:58:19 | ===== publishing normal message (to online) 2020-10-01 22:58:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 22:58:19 | command: <data><node>node_vhn55l0203</node><entry><content>content_vs34kh0204</content></entry></data> 2020-10-01 22:58:19 | target: http://localhost:8088 2020-10-01 22:58:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-01 22:58:19 | entity: <data><node>node_vhn55l0203</node><entry><content>content_vs34kh0204</content></entry></data> 2020-10-01 22:58:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:58:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 22:58:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d3218f37-80fe-404f-b17a-2cab3085eb90</value></item-id></result> 2020-10-01 22:58:19 | contains: true 2020-10-01 22:58:19 | [Mutex] received everything. 2020-10-01 22:58:19 | [Mutex] isItemNotified: user_regularopvebp0202@test-domain.com:message:received:content_vs34kh0204 :: true 2020-10-01 22:58:19 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-01 22:58:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 22:58:19 | command: <data><node>node_vhn55l0203</node><expire-at>2020-10-02T05:58:14Z</expire-at><entry><content>content_nsoiq20205</content></entry></data> 2020-10-01 22:58:19 | target: http://localhost:8088 2020-10-01 22:58:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-01 22:58:19 | entity: <data><node>node_vhn55l0203</node><expire-at>2020-10-02T05:58:14Z</expire-at><entry><content>content_nsoiq20205</content></entry></data> 2020-10-01 22:58:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:58:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 22:58:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d0d4cb11-ea48-44a3-91c5-0d8f7add04a0</value></item-id></result> 2020-10-01 22:58:19 | contains: true 2020-10-01 22:58:19 | [Mutex] waiting for: [user_regularopvebp0202@test-domain.com:message:received:content_nsoiq20205] 2020-10-01 22:58:34 | [Mutex] timeout. Not received [user_regularopvebp0202@test-domain.com:message:received:content_nsoiq20205] 2020-10-01 22:58:34 | [Mutex] isItemNotified: user_regularopvebp0202@test-domain.com:message:received:content_nsoiq20205 :: false 2020-10-01 22:58:34 | ===== publishing normal message (to offline) 2020-10-01 22:58:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 22:58:34 | command: <data><node>node_vhn55l0203</node><entry><content>content_5op03q0206</content></entry></data> 2020-10-01 22:58:34 | target: http://localhost:8088 2020-10-01 22:58:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-01 22:58:34 | entity: <data><node>node_vhn55l0203</node><entry><content>content_5op03q0206</content></entry></data> 2020-10-01 22:58:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:58:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 22:58:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>434506cc-88bd-4346-862e-f0de47a49242</value></item-id></result> 2020-10-01 22:58:34 | contains: true 2020-10-01 22:58:39 | [Mutex] waiting for: [user_regularopvebp0202@test-domain.com:message:received:content_5op03q0206] 2020-10-01 22:58:39 | [Mutex] received everything. 2020-10-01 22:58:39 | [Mutex] isItemNotified: user_regularopvebp0202@test-domain.com:message:received:content_5op03q0206 :: true 2020-10-01 22:58:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-01 22:58:39 | [Mutex] received everything. 2020-10-01 22:58:39 | [Mutex] isItemNotified: node_vhn55l0203:subscribe_node:success :: true 2020-10-01 22:58:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 22:58:39 | command: <data><node>node_vhn55l0203</node><expire-at>2020-10-02T05:58:44Z</expire-at><entry><content>content_i5jk200207</content></entry></data> 2020-10-01 22:58:39 | target: http://localhost:8088 2020-10-01 22:58:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-01 22:58:39 | entity: <data><node>node_vhn55l0203</node><expire-at>2020-10-02T05:58:44Z</expire-at><entry><content>content_i5jk200207</content></entry></data> 2020-10-01 22:58:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:58:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 22:58:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1664b5ce-c2d6-4f41-b11b-ca25ab0d7eb0</value></item-id></result> 2020-10-01 22:58:39 | contains: true 2020-10-01 22:58:48 | [Mutex] waiting for: [user_regularopvebp0202@test-domain.com:message:received:content_i5jk200207] 2020-10-01 22:58:48 | [Mutex] waiting for: [user_regularopvebp0202@test-domain.com:message:received:content_i5jk200207] 2020-10-01 22:59:03 | [Mutex] timeout. Not received [user_regularopvebp0202@test-domain.com:message:received:content_i5jk200207] 2020-10-01 22:59:03 | [Mutex] received everything. 2020-10-01 22:59:03 | [Mutex] isItemNotified: user_regularopvebp0202@test-domain.com:message:received:content_i5jk200207 :: false 2020-10-01 22:59:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_i5jk200207 :: true |