Test duration : 44.705s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.697s |
2022-05-19 22:41:12 |
2022-05-19 22:41:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-19 22:41:12 | ------------------------------------ 2022-05-19 22:41:12 | [Mutex] isItemNotified: node_f81cw30204:exists :: false 2022-05-19 22:41:12 | [Mutex] waiting for: [node_f81cw30204:create_node] 2022-05-19 22:41:12 | [Mutex] received everything. 2022-05-19 22:41:12 | [Mutex] isItemNotified: node_f81cw30204:create_node:success :: true 2022-05-19 22:41:12 | [Mutex] waiting for: [node_f81cw30204:subscribe_node] 2022-05-19 22:41:12 | [Mutex] received everything. 2022-05-19 22:41:12 | [Mutex] isItemNotified: node_f81cw30204:subscribe_node:success :: true 2022-05-19 22:41:12 | ===== publishing normal message (to online) 2022-05-19 22:41:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-19 22:41:12 | command: <data><node>node_f81cw30204</node><entry><content>content_z5dn6s0205</content></entry></data> 2022-05-19 22:41:12 | target: http://localhost:8088 2022-05-19 22:41:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-19 22:41:12 | entity: <data><node>node_f81cw30204</node><entry><content>content_z5dn6s0205</content></entry></data> 2022-05-19 22:41:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:41:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-19 22:41:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cfb8cbba-db49-443c-aaae-df2e4b835e13</value></item-id></result> 2022-05-19 22:41:12 | contains: true 2022-05-19 22:41:12 | [Mutex] waiting for: [user_regularon90ph0203@test-domain.com:message:received:content_z5dn6s0205] 2022-05-19 22:41:12 | [Mutex] received everything. 2022-05-19 22:41:12 | [Mutex] isItemNotified: user_regularon90ph0203@test-domain.com:message:received:content_z5dn6s0205 :: true 2022-05-19 22:41:12 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-19 22:41:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-19 22:41:12 | command: <data><node>node_f81cw30204</node><expire-at>2022-05-20T05:41:07Z</expire-at><entry><content>content_c5suco0206</content></entry></data> 2022-05-19 22:41:12 | target: http://localhost:8088 2022-05-19 22:41:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-19 22:41:12 | entity: <data><node>node_f81cw30204</node><expire-at>2022-05-20T05:41:07Z</expire-at><entry><content>content_c5suco0206</content></entry></data> 2022-05-19 22:41:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:41:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-19 22:41:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a1397e97-93a6-4758-b9de-4ef658b88ea7</value></item-id></result> 2022-05-19 22:41:12 | contains: true 2022-05-19 22:41:12 | [Mutex] waiting for: [user_regularon90ph0203@test-domain.com:message:received:content_c5suco0206] 2022-05-19 22:41:27 | [Mutex] timeout. Not received [user_regularon90ph0203@test-domain.com:message:received:content_c5suco0206] 2022-05-19 22:41:27 | [Mutex] isItemNotified: user_regularon90ph0203@test-domain.com:message:received:content_c5suco0206 :: false 2022-05-19 22:41:27 | ===== publishing normal message (to offline) 2022-05-19 22:41:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-19 22:41:27 | command: <data><node>node_f81cw30204</node><entry><content>content_ayl4sq0207</content></entry></data> 2022-05-19 22:41:27 | target: http://localhost:8088 2022-05-19 22:41:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-19 22:41:27 | entity: <data><node>node_f81cw30204</node><entry><content>content_ayl4sq0207</content></entry></data> 2022-05-19 22:41:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:41:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-19 22:41:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7c277380-a44c-456a-81d6-0ce5a45228ec</value></item-id></result> 2022-05-19 22:41:27 | contains: true 2022-05-19 22:41:32 | [Mutex] waiting for: [user_regularon90ph0203@test-domain.com:message:received:content_ayl4sq0207] 2022-05-19 22:41:32 | [Mutex] received everything. 2022-05-19 22:41:32 | [Mutex] isItemNotified: user_regularon90ph0203@test-domain.com:message:received:content_ayl4sq0207 :: true 2022-05-19 22:41:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-19 22:41:32 | [Mutex] received everything. 2022-05-19 22:41:32 | [Mutex] isItemNotified: node_f81cw30204:subscribe_node:success :: true 2022-05-19 22:41:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-19 22:41:33 | command: <data><node>node_f81cw30204</node><expire-at>2022-05-20T05:41:38Z</expire-at><entry><content>content_afobrh0208</content></entry></data> 2022-05-19 22:41:33 | target: http://localhost:8088 2022-05-19 22:41:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-19 22:41:33 | entity: <data><node>node_f81cw30204</node><expire-at>2022-05-20T05:41:38Z</expire-at><entry><content>content_afobrh0208</content></entry></data> 2022-05-19 22:41:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 May 2022 05:41:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-19 22:41:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9c066e92-ba8a-4f13-8285-5bbde55b9752</value></item-id></result> 2022-05-19 22:41:33 | contains: true 2022-05-19 22:41:41 | [Mutex] waiting for: [user_regularon90ph0203@test-domain.com:message:received:content_afobrh0208] 2022-05-19 22:41:56 | [Mutex] timeout. Not received [user_regularon90ph0203@test-domain.com:message:received:content_afobrh0208] 2022-05-19 22:41:56 | [Mutex] received everything. 2022-05-19 22:41:56 | [Mutex] isItemNotified: user_regularon90ph0203@test-domain.com:message:received:content_afobrh0208 :: false 2022-05-19 22:41:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_afobrh0208 :: true |