Test duration : 45.435s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.736s |
2021-03-18 23:09:20 |
2021-03-18 23:09:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-18 23:09:20 | ------------------------------------ 2021-03-18 23:09:20 | [Mutex] isItemNotified: node_kztcz00203:exists :: false 2021-03-18 23:09:20 | [Mutex] waiting for: [node_kztcz00203:create_node] 2021-03-18 23:09:20 | [Mutex] received everything. 2021-03-18 23:09:20 | [Mutex] isItemNotified: node_kztcz00203:create_node:success :: true 2021-03-18 23:09:20 | [Mutex] waiting for: [node_kztcz00203:subscribe_node] 2021-03-18 23:09:20 | [Mutex] waiting for: [node_kztcz00203:subscribe_node] 2021-03-18 23:09:20 | [Mutex] received everything. 2021-03-18 23:09:20 | [Mutex] isItemNotified: node_kztcz00203:subscribe_node:success :: true 2021-03-18 23:09:20 | ===== publishing normal message (to online) 2021-03-18 23:09:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-18 23:09:20 | command: <data><node>node_kztcz00203</node><entry><content>content_q5r4ou0204</content></entry></data> 2021-03-18 23:09:20 | target: http://localhost:8088 2021-03-18 23:09:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-18 23:09:20 | entity: <data><node>node_kztcz00203</node><entry><content>content_q5r4ou0204</content></entry></data> 2021-03-18 23:09:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 06:09:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-18 23:09:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6db563b0-f299-4262-918b-3929a0a67d09</value></item-id></result> 2021-03-18 23:09:20 | contains: true 2021-03-18 23:09:20 | [Mutex] waiting for: [user_regularuyn0tc0202@test-domain.com:message:received:content_q5r4ou0204] 2021-03-18 23:09:20 | [Mutex] received everything. 2021-03-18 23:09:20 | [Mutex] isItemNotified: user_regularuyn0tc0202@test-domain.com:message:received:content_q5r4ou0204 :: true 2021-03-18 23:09:20 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-18 23:09:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-18 23:09:20 | command: <data><node>node_kztcz00203</node><expire-at>2021-03-19T06:09:15Z</expire-at><entry><content>content_nnh03t0205</content></entry></data> 2021-03-18 23:09:20 | target: http://localhost:8088 2021-03-18 23:09:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-18 23:09:20 | entity: <data><node>node_kztcz00203</node><expire-at>2021-03-19T06:09:15Z</expire-at><entry><content>content_nnh03t0205</content></entry></data> 2021-03-18 23:09:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 06:09:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-18 23:09:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6352336c-8355-4f1e-9adf-9d5db4c0fbc2</value></item-id></result> 2021-03-18 23:09:20 | contains: true 2021-03-18 23:09:20 | [Mutex] waiting for: [user_regularuyn0tc0202@test-domain.com:message:received:content_nnh03t0205] 2021-03-18 23:09:35 | [Mutex] timeout. Not received [user_regularuyn0tc0202@test-domain.com:message:received:content_nnh03t0205] 2021-03-18 23:09:35 | [Mutex] isItemNotified: user_regularuyn0tc0202@test-domain.com:message:received:content_nnh03t0205 :: false 2021-03-18 23:09:35 | ===== publishing normal message (to offline) 2021-03-18 23:09:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-18 23:09:36 | command: <data><node>node_kztcz00203</node><entry><content>content_k2wrfo0206</content></entry></data> 2021-03-18 23:09:36 | target: http://localhost:8088 2021-03-18 23:09:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-18 23:09:36 | entity: <data><node>node_kztcz00203</node><entry><content>content_k2wrfo0206</content></entry></data> 2021-03-18 23:09:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 06:09:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-18 23:09:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d297b597-1985-40bd-b01b-8df664629025</value></item-id></result> 2021-03-18 23:09:36 | contains: true 2021-03-18 23:09:41 | [Mutex] waiting for: [user_regularuyn0tc0202@test-domain.com:message:received:content_k2wrfo0206] 2021-03-18 23:09:41 | [Mutex] waiting for: [user_regularuyn0tc0202@test-domain.com:message:received:content_k2wrfo0206] 2021-03-18 23:09:41 | [Mutex] received everything. 2021-03-18 23:09:41 | [Mutex] isItemNotified: user_regularuyn0tc0202@test-domain.com:message:received:content_k2wrfo0206 :: true 2021-03-18 23:09:41 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-18 23:09:41 | [Mutex] received everything. 2021-03-18 23:09:41 | [Mutex] isItemNotified: node_kztcz00203:subscribe_node:success :: true 2021-03-18 23:09:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-18 23:09:41 | command: <data><node>node_kztcz00203</node><expire-at>2021-03-19T06:09:46Z</expire-at><entry><content>content_yeych30207</content></entry></data> 2021-03-18 23:09:41 | target: http://localhost:8088 2021-03-18 23:09:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-18 23:09:41 | entity: <data><node>node_kztcz00203</node><expire-at>2021-03-19T06:09:46Z</expire-at><entry><content>content_yeych30207</content></entry></data> 2021-03-18 23:09:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Mar 2021 06:09:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-18 23:09:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2ef31a87-7552-4372-8c8b-67d4f8f9c8f4</value></item-id></result> 2021-03-18 23:09:41 | contains: true 2021-03-18 23:09:49 | [Mutex] waiting for: [user_regularuyn0tc0202@test-domain.com:message:received:content_yeych30207] 2021-03-18 23:10:04 | [Mutex] timeout. Not received [user_regularuyn0tc0202@test-domain.com:message:received:content_yeych30207] 2021-03-18 23:10:04 | [Mutex] received everything. 2021-03-18 23:10:04 | [Mutex] isItemNotified: user_regularuyn0tc0202@test-domain.com:message:received:content_yeych30207 :: false 2021-03-18 23:10:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yeych30207 :: true |