Test duration : 45.171s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.669s |
2021-03-05 04:31:47 |
2021-03-05 04:31:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-05 04:31:47 | ------------------------------------ 2021-03-05 04:31:47 | [Mutex] isItemNotified: node_x4xxcq0203:exists :: false 2021-03-05 04:31:47 | [Mutex] waiting for: [node_x4xxcq0203:create_node] 2021-03-05 04:31:47 | [Mutex] received everything. 2021-03-05 04:31:47 | [Mutex] isItemNotified: node_x4xxcq0203:create_node:success :: true 2021-03-05 04:31:47 | [Mutex] waiting for: [node_x4xxcq0203:subscribe_node] 2021-03-05 04:31:47 | [Mutex] received everything. 2021-03-05 04:31:47 | [Mutex] isItemNotified: node_x4xxcq0203:subscribe_node:success :: true 2021-03-05 04:31:47 | ===== publishing normal message (to online) 2021-03-05 04:31:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:31:47 | command: <data><node>node_x4xxcq0203</node><entry><content>content_rlk1xm0204</content></entry></data> 2021-03-05 04:31:47 | target: http://localhost:8088 2021-03-05 04:31:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-05 04:31:47 | entity: <data><node>node_x4xxcq0203</node><entry><content>content_rlk1xm0204</content></entry></data> 2021-03-05 04:31:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:31:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:31:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b8a0f5b0-35d9-4656-a873-2737ebde6bc4</value></item-id></result> 2021-03-05 04:31:47 | contains: true 2021-03-05 04:31:47 | [Mutex] waiting for: [user_regular5uwmwa0202@test-domain.com:message:received:content_rlk1xm0204] 2021-03-05 04:31:47 | [Mutex] received everything. 2021-03-05 04:31:47 | [Mutex] isItemNotified: user_regular5uwmwa0202@test-domain.com:message:received:content_rlk1xm0204 :: true 2021-03-05 04:31:47 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-05 04:31:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:31:47 | command: <data><node>node_x4xxcq0203</node><expire-at>2021-03-05T12:31:42Z</expire-at><entry><content>content_fd5d5p0205</content></entry></data> 2021-03-05 04:31:47 | target: http://localhost:8088 2021-03-05 04:31:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-05 04:31:47 | entity: <data><node>node_x4xxcq0203</node><expire-at>2021-03-05T12:31:42Z</expire-at><entry><content>content_fd5d5p0205</content></entry></data> 2021-03-05 04:31:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:31:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:31:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>aa4d6339-2a3a-4e1e-8bbe-2fb1a72e59bd</value></item-id></result> 2021-03-05 04:31:47 | contains: true 2021-03-05 04:31:47 | [Mutex] waiting for: [user_regular5uwmwa0202@test-domain.com:message:received:content_fd5d5p0205] 2021-03-05 04:32:02 | [Mutex] timeout. Not received [user_regular5uwmwa0202@test-domain.com:message:received:content_fd5d5p0205] 2021-03-05 04:32:02 | [Mutex] isItemNotified: user_regular5uwmwa0202@test-domain.com:message:received:content_fd5d5p0205 :: false 2021-03-05 04:32:02 | ===== publishing normal message (to offline) 2021-03-05 04:32:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:32:02 | command: <data><node>node_x4xxcq0203</node><entry><content>content_rx8ibb0206</content></entry></data> 2021-03-05 04:32:02 | target: http://localhost:8088 2021-03-05 04:32:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-05 04:32:02 | entity: <data><node>node_x4xxcq0203</node><entry><content>content_rx8ibb0206</content></entry></data> 2021-03-05 04:32:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:32:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:32:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>574e45b9-8b9f-4876-b808-14a87a9db68f</value></item-id></result> 2021-03-05 04:32:02 | contains: true 2021-03-05 04:32:07 | [Mutex] waiting for: [user_regular5uwmwa0202@test-domain.com:message:received:content_rx8ibb0206] 2021-03-05 04:32:07 | [Mutex] waiting for: [user_regular5uwmwa0202@test-domain.com:message:received:content_rx8ibb0206] 2021-03-05 04:32:07 | [Mutex] received everything. 2021-03-05 04:32:07 | [Mutex] isItemNotified: user_regular5uwmwa0202@test-domain.com:message:received:content_rx8ibb0206 :: true 2021-03-05 04:32:07 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-05 04:32:07 | [Mutex] received everything. 2021-03-05 04:32:07 | [Mutex] isItemNotified: node_x4xxcq0203:subscribe_node:success :: true 2021-03-05 04:32:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:32:07 | command: <data><node>node_x4xxcq0203</node><expire-at>2021-03-05T12:32:12Z</expire-at><entry><content>content_gh835u0207</content></entry></data> 2021-03-05 04:32:07 | target: http://localhost:8088 2021-03-05 04:32:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-05 04:32:07 | entity: <data><node>node_x4xxcq0203</node><expire-at>2021-03-05T12:32:12Z</expire-at><entry><content>content_gh835u0207</content></entry></data> 2021-03-05 04:32:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:32:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:32:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c8df320c-8cea-4b79-a1a0-eed68aedff52</value></item-id></result> 2021-03-05 04:32:07 | contains: true 2021-03-05 04:32:16 | [Mutex] waiting for: [user_regular5uwmwa0202@test-domain.com:message:received:content_gh835u0207] 2021-03-05 04:32:16 | [Mutex] waiting for: [user_regular5uwmwa0202@test-domain.com:message:received:content_gh835u0207] 2021-03-05 04:32:31 | [Mutex] timeout. Not received [user_regular5uwmwa0202@test-domain.com:message:received:content_gh835u0207] 2021-03-05 04:32:31 | [Mutex] received everything. 2021-03-05 04:32:31 | [Mutex] isItemNotified: user_regular5uwmwa0202@test-domain.com:message:received:content_gh835u0207 :: false 2021-03-05 04:32:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gh835u0207 :: true |