Test duration : 45.619s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.749s |
2021-02-06 21:33:30 |
2021-02-06 21:33:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-06 21:33:30 | ------------------------------------ 2021-02-06 21:33:30 | [Mutex] isItemNotified: node_6bdv7j0203:exists :: false 2021-02-06 21:33:30 | [Mutex] waiting for: [node_6bdv7j0203:create_node] 2021-02-06 21:33:30 | [Mutex] received everything. 2021-02-06 21:33:30 | [Mutex] isItemNotified: node_6bdv7j0203:create_node:success :: true 2021-02-06 21:33:30 | [Mutex] waiting for: [node_6bdv7j0203:subscribe_node] 2021-02-06 21:33:30 | [Mutex] waiting for: [node_6bdv7j0203:subscribe_node] 2021-02-06 21:33:30 | [Mutex] received everything. 2021-02-06 21:33:30 | [Mutex] isItemNotified: node_6bdv7j0203:subscribe_node:success :: true 2021-02-06 21:33:30 | ===== publishing normal message (to online) 2021-02-06 21:33:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:33:30 | command: <data><node>node_6bdv7j0203</node><entry><content>content_poijyg0204</content></entry></data> 2021-02-06 21:33:30 | target: http://localhost:8088 2021-02-06 21:33:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-06 21:33:30 | entity: <data><node>node_6bdv7j0203</node><entry><content>content_poijyg0204</content></entry></data> 2021-02-06 21:33:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:33:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:33:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>76d3cdef-57fd-481a-8f26-0715a0d9fa93</value></item-id></result> 2021-02-06 21:33:30 | contains: true 2021-02-06 21:33:30 | [Mutex] received everything. 2021-02-06 21:33:30 | [Mutex] isItemNotified: user_regularrojk6n0202@test-domain.com:message:received:content_poijyg0204 :: true 2021-02-06 21:33:30 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-06 21:33:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:33:30 | command: <data><node>node_6bdv7j0203</node><expire-at>2021-02-07T05:33:25Z</expire-at><entry><content>content_tv0uwn0205</content></entry></data> 2021-02-06 21:33:30 | target: http://localhost:8088 2021-02-06 21:33:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-06 21:33:30 | entity: <data><node>node_6bdv7j0203</node><expire-at>2021-02-07T05:33:25Z</expire-at><entry><content>content_tv0uwn0205</content></entry></data> 2021-02-06 21:33:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:33:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:33:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5007c6a6-e4ff-4ec7-9676-3b519b6d648f</value></item-id></result> 2021-02-06 21:33:30 | contains: true 2021-02-06 21:33:30 | [Mutex] waiting for: [user_regularrojk6n0202@test-domain.com:message:received:content_tv0uwn0205] 2021-02-06 21:33:45 | [Mutex] timeout. Not received [user_regularrojk6n0202@test-domain.com:message:received:content_tv0uwn0205] 2021-02-06 21:33:45 | [Mutex] isItemNotified: user_regularrojk6n0202@test-domain.com:message:received:content_tv0uwn0205 :: false 2021-02-06 21:33:45 | ===== publishing normal message (to offline) 2021-02-06 21:33:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:33:45 | command: <data><node>node_6bdv7j0203</node><entry><content>content_tnd8jj0206</content></entry></data> 2021-02-06 21:33:45 | target: http://localhost:8088 2021-02-06 21:33:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-06 21:33:45 | entity: <data><node>node_6bdv7j0203</node><entry><content>content_tnd8jj0206</content></entry></data> 2021-02-06 21:33:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:33:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:33:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>06cbfd4d-f3d3-4cdc-97a3-6159478d19bc</value></item-id></result> 2021-02-06 21:33:45 | contains: true 2021-02-06 21:33:50 | [Mutex] waiting for: [user_regularrojk6n0202@test-domain.com:message:received:content_tnd8jj0206] 2021-02-06 21:33:50 | [Mutex] waiting for: [user_regularrojk6n0202@test-domain.com:message:received:content_tnd8jj0206] 2021-02-06 21:33:50 | [Mutex] received everything. 2021-02-06 21:33:50 | [Mutex] isItemNotified: user_regularrojk6n0202@test-domain.com:message:received:content_tnd8jj0206 :: true 2021-02-06 21:33:50 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-06 21:33:50 | [Mutex] received everything. 2021-02-06 21:33:50 | [Mutex] isItemNotified: node_6bdv7j0203:subscribe_node:success :: true 2021-02-06 21:33:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:33:50 | command: <data><node>node_6bdv7j0203</node><expire-at>2021-02-07T05:33:55Z</expire-at><entry><content>content_k1138g0207</content></entry></data> 2021-02-06 21:33:50 | target: http://localhost:8088 2021-02-06 21:33:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-06 21:33:50 | entity: <data><node>node_6bdv7j0203</node><expire-at>2021-02-07T05:33:55Z</expire-at><entry><content>content_k1138g0207</content></entry></data> 2021-02-06 21:33:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:33:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:33:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a95bf430-22e7-478c-9ef9-b7523d6954e0</value></item-id></result> 2021-02-06 21:33:50 | contains: true 2021-02-06 21:33:59 | [Mutex] waiting for: [user_regularrojk6n0202@test-domain.com:message:received:content_k1138g0207] 2021-02-06 21:33:59 | [Mutex] waiting for: [user_regularrojk6n0202@test-domain.com:message:received:content_k1138g0207] 2021-02-06 21:33:59 | [Mutex] waiting for: [user_regularrojk6n0202@test-domain.com:message:received:content_k1138g0207] 2021-02-06 21:34:14 | [Mutex] timeout. Not received [user_regularrojk6n0202@test-domain.com:message:received:content_k1138g0207] 2021-02-06 21:34:14 | [Mutex] received everything. 2021-02-06 21:34:14 | [Mutex] isItemNotified: user_regularrojk6n0202@test-domain.com:message:received:content_k1138g0207 :: false 2021-02-06 21:34:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k1138g0207 :: true |