Test duration : 45.262s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.705s |
2021-03-24 22:30:03 |
2021-03-24 22:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-24 22:30:03 | ------------------------------------ 2021-03-24 22:30:03 | [Mutex] isItemNotified: node_kueasu0203:exists :: false 2021-03-24 22:30:03 | [Mutex] waiting for: [node_kueasu0203:create_node] 2021-03-24 22:30:03 | [Mutex] received everything. 2021-03-24 22:30:03 | [Mutex] isItemNotified: node_kueasu0203:create_node:success :: true 2021-03-24 22:30:03 | [Mutex] waiting for: [node_kueasu0203:subscribe_node] 2021-03-24 22:30:03 | [Mutex] waiting for: [node_kueasu0203:subscribe_node] 2021-03-24 22:30:03 | [Mutex] received everything. 2021-03-24 22:30:03 | [Mutex] isItemNotified: node_kueasu0203:subscribe_node:success :: true 2021-03-24 22:30:03 | ===== publishing normal message (to online) 2021-03-24 22:30:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:30:03 | command: <data><node>node_kueasu0203</node><entry><content>content_udwfvv0204</content></entry></data> 2021-03-24 22:30:03 | target: http://localhost:8088 2021-03-24 22:30:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-24 22:30:03 | entity: <data><node>node_kueasu0203</node><entry><content>content_udwfvv0204</content></entry></data> 2021-03-24 22:30:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:30:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:30:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b3f600f5-43d7-49eb-8b6c-6b04a556bacd</value></item-id></result> 2021-03-24 22:30:03 | contains: true 2021-03-24 22:30:03 | [Mutex] received everything. 2021-03-24 22:30:03 | [Mutex] isItemNotified: user_regulariog8pp0202@test-domain.com:message:received:content_udwfvv0204 :: true 2021-03-24 22:30:03 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-24 22:30:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:30:03 | command: <data><node>node_kueasu0203</node><expire-at>2021-03-25T05:29:58Z</expire-at><entry><content>content_nguli70205</content></entry></data> 2021-03-24 22:30:03 | target: http://localhost:8088 2021-03-24 22:30:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-24 22:30:03 | entity: <data><node>node_kueasu0203</node><expire-at>2021-03-25T05:29:58Z</expire-at><entry><content>content_nguli70205</content></entry></data> 2021-03-24 22:30:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:30:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:30:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>79084553-cbc7-478d-a9be-b7c523dd276e</value></item-id></result> 2021-03-24 22:30:03 | contains: true 2021-03-24 22:30:03 | [Mutex] waiting for: [user_regulariog8pp0202@test-domain.com:message:received:content_nguli70205] 2021-03-24 22:30:18 | [Mutex] timeout. Not received [user_regulariog8pp0202@test-domain.com:message:received:content_nguli70205] 2021-03-24 22:30:18 | [Mutex] isItemNotified: user_regulariog8pp0202@test-domain.com:message:received:content_nguli70205 :: false 2021-03-24 22:30:18 | ===== publishing normal message (to offline) 2021-03-24 22:30:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:30:18 | command: <data><node>node_kueasu0203</node><entry><content>content_lb5j260206</content></entry></data> 2021-03-24 22:30:18 | target: http://localhost:8088 2021-03-24 22:30:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-24 22:30:18 | entity: <data><node>node_kueasu0203</node><entry><content>content_lb5j260206</content></entry></data> 2021-03-24 22:30:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:30:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:30:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cab607d0-3405-41d7-ac62-ae0a168e5656</value></item-id></result> 2021-03-24 22:30:18 | contains: true 2021-03-24 22:30:23 | [Mutex] waiting for: [user_regulariog8pp0202@test-domain.com:message:received:content_lb5j260206] 2021-03-24 22:30:23 | [Mutex] waiting for: [user_regulariog8pp0202@test-domain.com:message:received:content_lb5j260206] 2021-03-24 22:30:23 | [Mutex] received everything. 2021-03-24 22:30:23 | [Mutex] isItemNotified: user_regulariog8pp0202@test-domain.com:message:received:content_lb5j260206 :: true 2021-03-24 22:30:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-24 22:30:23 | [Mutex] received everything. 2021-03-24 22:30:23 | [Mutex] isItemNotified: node_kueasu0203:subscribe_node:success :: true 2021-03-24 22:30:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:30:23 | command: <data><node>node_kueasu0203</node><expire-at>2021-03-25T05:30:28Z</expire-at><entry><content>content_20n1870207</content></entry></data> 2021-03-24 22:30:23 | target: http://localhost:8088 2021-03-24 22:30:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-24 22:30:23 | entity: <data><node>node_kueasu0203</node><expire-at>2021-03-25T05:30:28Z</expire-at><entry><content>content_20n1870207</content></entry></data> 2021-03-24 22:30:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:30:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:30:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>acb5e13b-7a08-427e-bd13-3f123a8cd9c7</value></item-id></result> 2021-03-24 22:30:23 | contains: true 2021-03-24 22:30:31 | [Mutex] waiting for: [user_regulariog8pp0202@test-domain.com:message:received:content_20n1870207] 2021-03-24 22:30:46 | [Mutex] timeout. Not received [user_regulariog8pp0202@test-domain.com:message:received:content_20n1870207] 2021-03-24 22:30:46 | [Mutex] received everything. 2021-03-24 22:30:46 | [Mutex] isItemNotified: user_regulariog8pp0202@test-domain.com:message:received:content_20n1870207 :: false 2021-03-24 22:30:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_20n1870207 :: true |