Test duration : 45.079s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.682s |
2021-05-27 10:02:19 |
2021-05-27 10:02:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-27 10:02:19 | ------------------------------------ 2021-05-27 10:02:19 | [Mutex] isItemNotified: node_5xtfq00203:exists :: false 2021-05-27 10:02:19 | [Mutex] waiting for: [node_5xtfq00203:create_node] 2021-05-27 10:02:19 | [Mutex] received everything. 2021-05-27 10:02:19 | [Mutex] isItemNotified: node_5xtfq00203:create_node:success :: true 2021-05-27 10:02:19 | [Mutex] waiting for: [node_5xtfq00203:subscribe_node] 2021-05-27 10:02:19 | [Mutex] received everything. 2021-05-27 10:02:19 | [Mutex] isItemNotified: node_5xtfq00203:subscribe_node:success :: true 2021-05-27 10:02:19 | ===== publishing normal message (to online) 2021-05-27 10:02:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:02:19 | command: <data><node>node_5xtfq00203</node><entry><content>content_ykpl160204</content></entry></data> 2021-05-27 10:02:19 | target: http://localhost:8088 2021-05-27 10:02:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-27 10:02:19 | entity: <data><node>node_5xtfq00203</node><entry><content>content_ykpl160204</content></entry></data> 2021-05-27 10:02:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:02:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:02:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9857afce-c6c5-48dc-991e-bbc6580e2fa6</value></item-id></result> 2021-05-27 10:02:19 | contains: true 2021-05-27 10:02:19 | [Mutex] waiting for: [user_regularvwy9xx0202@test-domain.com:message:received:content_ykpl160204] 2021-05-27 10:02:19 | [Mutex] received everything. 2021-05-27 10:02:19 | [Mutex] isItemNotified: user_regularvwy9xx0202@test-domain.com:message:received:content_ykpl160204 :: true 2021-05-27 10:02:19 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-27 10:02:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:02:19 | command: <data><node>node_5xtfq00203</node><expire-at>2021-05-27T17:02:14Z</expire-at><entry><content>content_y5dmme0205</content></entry></data> 2021-05-27 10:02:19 | target: http://localhost:8088 2021-05-27 10:02:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-27 10:02:19 | entity: <data><node>node_5xtfq00203</node><expire-at>2021-05-27T17:02:14Z</expire-at><entry><content>content_y5dmme0205</content></entry></data> 2021-05-27 10:02:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:02:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:02:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5ab31d47-ce71-463b-86ba-df8d6ff851bb</value></item-id></result> 2021-05-27 10:02:19 | contains: true 2021-05-27 10:02:19 | [Mutex] waiting for: [user_regularvwy9xx0202@test-domain.com:message:received:content_y5dmme0205] 2021-05-27 10:02:34 | [Mutex] timeout. Not received [user_regularvwy9xx0202@test-domain.com:message:received:content_y5dmme0205] 2021-05-27 10:02:34 | [Mutex] isItemNotified: user_regularvwy9xx0202@test-domain.com:message:received:content_y5dmme0205 :: false 2021-05-27 10:02:34 | ===== publishing normal message (to offline) 2021-05-27 10:02:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:02:34 | command: <data><node>node_5xtfq00203</node><entry><content>content_kvy2jn0206</content></entry></data> 2021-05-27 10:02:34 | target: http://localhost:8088 2021-05-27 10:02:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-27 10:02:34 | entity: <data><node>node_5xtfq00203</node><entry><content>content_kvy2jn0206</content></entry></data> 2021-05-27 10:02:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:02:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:02:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>20eecf17-064d-4528-a658-3529a4c7317c</value></item-id></result> 2021-05-27 10:02:34 | contains: true 2021-05-27 10:02:40 | [Mutex] waiting for: [user_regularvwy9xx0202@test-domain.com:message:received:content_kvy2jn0206] 2021-05-27 10:02:40 | [Mutex] waiting for: [user_regularvwy9xx0202@test-domain.com:message:received:content_kvy2jn0206] 2021-05-27 10:02:40 | [Mutex] received everything. 2021-05-27 10:02:40 | [Mutex] isItemNotified: user_regularvwy9xx0202@test-domain.com:message:received:content_kvy2jn0206 :: true 2021-05-27 10:02:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-27 10:02:40 | [Mutex] received everything. 2021-05-27 10:02:40 | [Mutex] isItemNotified: node_5xtfq00203:subscribe_node:success :: true 2021-05-27 10:02:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:02:40 | command: <data><node>node_5xtfq00203</node><expire-at>2021-05-27T17:02:45Z</expire-at><entry><content>content_xg1tch0207</content></entry></data> 2021-05-27 10:02:40 | target: http://localhost:8088 2021-05-27 10:02:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-27 10:02:40 | entity: <data><node>node_5xtfq00203</node><expire-at>2021-05-27T17:02:45Z</expire-at><entry><content>content_xg1tch0207</content></entry></data> 2021-05-27 10:02:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:02:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:02:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f7edf66c-8467-4201-90dd-a423f71c249f</value></item-id></result> 2021-05-27 10:02:40 | contains: true 2021-05-27 10:02:48 | [Mutex] waiting for: [user_regularvwy9xx0202@test-domain.com:message:received:content_xg1tch0207] 2021-05-27 10:02:48 | [Mutex] waiting for: [user_regularvwy9xx0202@test-domain.com:message:received:content_xg1tch0207] 2021-05-27 10:03:03 | [Mutex] timeout. Not received [user_regularvwy9xx0202@test-domain.com:message:received:content_xg1tch0207] 2021-05-27 10:03:03 | [Mutex] received everything. 2021-05-27 10:03:03 | [Mutex] isItemNotified: user_regularvwy9xx0202@test-domain.com:message:received:content_xg1tch0207 :: false 2021-05-27 10:03:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xg1tch0207 :: true |