Test duration : 45.498s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.761s |
2020-08-28 22:49:59 |
2020-08-28 22:49:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-28 22:49:59 | ------------------------------------ 2020-08-28 22:49:59 | [Mutex] isItemNotified: node_wrocfo0203:exists :: false 2020-08-28 22:49:59 | [Mutex] waiting for: [node_wrocfo0203:create_node] 2020-08-28 22:49:59 | [Mutex] received everything. 2020-08-28 22:49:59 | [Mutex] isItemNotified: node_wrocfo0203:create_node:success :: true 2020-08-28 22:49:59 | [Mutex] waiting for: [node_wrocfo0203:subscribe_node] 2020-08-28 22:49:59 | [Mutex] waiting for: [node_wrocfo0203:subscribe_node] 2020-08-28 22:49:59 | [Mutex] received everything. 2020-08-28 22:49:59 | [Mutex] isItemNotified: node_wrocfo0203:subscribe_node:success :: true 2020-08-28 22:49:59 | ===== publishing normal message (to online) 2020-08-28 22:49:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 22:49:59 | command: <data><node>node_wrocfo0203</node><entry><content>content_r6i9vp0204</content></entry></data> 2020-08-28 22:49:59 | target: http://localhost:8088 2020-08-28 22:49:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-28 22:49:59 | entity: <data><node>node_wrocfo0203</node><entry><content>content_r6i9vp0204</content></entry></data> 2020-08-28 22:49:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 05:49:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 22:49:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c5eef0a8-0133-409e-bb75-4c64842be2d5</value></item-id></result> 2020-08-28 22:49:59 | contains: true 2020-08-28 22:49:59 | [Mutex] received everything. 2020-08-28 22:49:59 | [Mutex] isItemNotified: user_regularzebsdl0202@test-domain.com:message:received:content_r6i9vp0204 :: true 2020-08-28 22:49:59 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-28 22:49:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 22:49:59 | command: <data><node>node_wrocfo0203</node><expire-at>2020-08-29T05:49:54Z</expire-at><entry><content>content_4wxd3s0205</content></entry></data> 2020-08-28 22:49:59 | target: http://localhost:8088 2020-08-28 22:49:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-28 22:49:59 | entity: <data><node>node_wrocfo0203</node><expire-at>2020-08-29T05:49:54Z</expire-at><entry><content>content_4wxd3s0205</content></entry></data> 2020-08-28 22:49:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 05:49:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 22:49:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d0698ec4-bc99-4e12-bde7-0f5726997d76</value></item-id></result> 2020-08-28 22:49:59 | contains: true 2020-08-28 22:49:59 | [Mutex] waiting for: [user_regularzebsdl0202@test-domain.com:message:received:content_4wxd3s0205] 2020-08-28 22:50:14 | [Mutex] timeout. Not received [user_regularzebsdl0202@test-domain.com:message:received:content_4wxd3s0205] 2020-08-28 22:50:14 | [Mutex] isItemNotified: user_regularzebsdl0202@test-domain.com:message:received:content_4wxd3s0205 :: false 2020-08-28 22:50:14 | ===== publishing normal message (to offline) 2020-08-28 22:50:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 22:50:14 | command: <data><node>node_wrocfo0203</node><entry><content>content_wwsgax0206</content></entry></data> 2020-08-28 22:50:14 | target: http://localhost:8088 2020-08-28 22:50:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-28 22:50:14 | entity: <data><node>node_wrocfo0203</node><entry><content>content_wwsgax0206</content></entry></data> 2020-08-28 22:50:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 05:50:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 22:50:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ef85fea6-dcfe-45dc-8283-728792cf29df</value></item-id></result> 2020-08-28 22:50:14 | contains: true 2020-08-28 22:50:19 | [Mutex] waiting for: [user_regularzebsdl0202@test-domain.com:message:received:content_wwsgax0206] 2020-08-28 22:50:19 | [Mutex] waiting for: [user_regularzebsdl0202@test-domain.com:message:received:content_wwsgax0206] 2020-08-28 22:50:19 | [Mutex] received everything. 2020-08-28 22:50:19 | [Mutex] isItemNotified: user_regularzebsdl0202@test-domain.com:message:received:content_wwsgax0206 :: true 2020-08-28 22:50:19 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-28 22:50:19 | [Mutex] received everything. 2020-08-28 22:50:19 | [Mutex] isItemNotified: node_wrocfo0203:subscribe_node:success :: true 2020-08-28 22:50:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-28 22:50:19 | command: <data><node>node_wrocfo0203</node><expire-at>2020-08-29T05:50:24Z</expire-at><entry><content>content_jg29xn0207</content></entry></data> 2020-08-28 22:50:19 | target: http://localhost:8088 2020-08-28 22:50:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-28 22:50:19 | entity: <data><node>node_wrocfo0203</node><expire-at>2020-08-29T05:50:24Z</expire-at><entry><content>content_jg29xn0207</content></entry></data> 2020-08-28 22:50:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 05:50:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-28 22:50:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9e9ceba0-c6c1-4295-9aa8-1742fb6cbaa6</value></item-id></result> 2020-08-28 22:50:19 | contains: true 2020-08-28 22:50:27 | [Mutex] waiting for: [user_regularzebsdl0202@test-domain.com:message:received:content_jg29xn0207] 2020-08-28 22:50:27 | [Mutex] waiting for: [user_regularzebsdl0202@test-domain.com:message:received:content_jg29xn0207] 2020-08-28 22:50:42 | [Mutex] timeout. Not received [user_regularzebsdl0202@test-domain.com:message:received:content_jg29xn0207] 2020-08-28 22:50:42 | [Mutex] received everything. 2020-08-28 22:50:42 | [Mutex] isItemNotified: user_regularzebsdl0202@test-domain.com:message:received:content_jg29xn0207 :: false 2020-08-28 22:50:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jg29xn0207 :: true |