Test duration: 45.318s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.580s |
2019-11-25 20:48:10 |
2019-11-25 20:48:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2019-11-25 20:48:10 | ------------------------------------ 2019-11-25 20:48:10 | [Mutex] isItemNotified: node_l1m6ez0184:exists :: false 2019-11-25 20:48:10 | [Mutex] waiting for: [node_l1m6ez0184:create_node] 2019-11-25 20:48:10 | [Mutex] received everything. 2019-11-25 20:48:10 | [Mutex] isItemNotified: node_l1m6ez0184:create_node:success :: true 2019-11-25 20:48:10 | [Mutex] waiting for: [node_l1m6ez0184:subscribe_node] 2019-11-25 20:48:10 | [Mutex] received everything. 2019-11-25 20:48:10 | [Mutex] isItemNotified: node_l1m6ez0184:subscribe_node:success :: true 2019-11-25 20:48:10 | ===== publishing normal message (to online) 2019-11-25 20:48:10 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-25 20:48:10 | command: <data><node>node_l1m6ez0184</node><entry><content>content_xqwj6g0185</content></entry></data> 2019-11-25 20:48:10 | target: http://localhost:8088 2019-11-25 20:48:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-11-25 20:48:10 | entity: <data><node>node_l1m6ez0184</node><entry><content>content_xqwj6g0185</content></entry></data> 2019-11-25 20:48:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Nov 2019 04:48:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-25 20:48:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc228dbe-1ac1-4c8e-97e5-40b5fcafbbc5</value></item-id></result> 2019-11-25 20:48:10 | contains: true 2019-11-25 20:48:10 | [Mutex] received everything. 2019-11-25 20:48:10 | [Mutex] isItemNotified: user_regularir4xxf0183@localhost:message:received:content_xqwj6g0185 :: true 2019-11-25 20:48:10 | ===== publishing already old message - expecting message being filtered out (to online) 2019-11-25 20:48:10 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-25 20:48:10 | command: <data><node>node_l1m6ez0184</node><expire-at>2019-11-26T04:48:05Z</expire-at><entry><content>content_38droc0186</content></entry></data> 2019-11-25 20:48:10 | target: http://localhost:8088 2019-11-25 20:48:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-11-25 20:48:10 | entity: <data><node>node_l1m6ez0184</node><expire-at>2019-11-26T04:48:05Z</expire-at><entry><content>content_38droc0186</content></entry></data> 2019-11-25 20:48:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Nov 2019 04:48:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-25 20:48:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eda675fb-5679-4be2-b010-6f35f92a538f</value></item-id></result> 2019-11-25 20:48:10 | contains: true 2019-11-25 20:48:10 | [Mutex] waiting for: [user_regularir4xxf0183@localhost:message:received:content_38droc0186] 2019-11-25 20:48:25 | [Mutex] timeout. Not received [user_regularir4xxf0183@localhost:message:received:content_38droc0186] 2019-11-25 20:48:25 | [Mutex] isItemNotified: user_regularir4xxf0183@localhost:message:received:content_38droc0186 :: false 2019-11-25 20:48:25 | ===== publishing normal message (to offline) 2019-11-25 20:48:25 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-25 20:48:25 | command: <data><node>node_l1m6ez0184</node><entry><content>content_yoq43s0187</content></entry></data> 2019-11-25 20:48:25 | target: http://localhost:8088 2019-11-25 20:48:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-11-25 20:48:25 | entity: <data><node>node_l1m6ez0184</node><entry><content>content_yoq43s0187</content></entry></data> 2019-11-25 20:48:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Nov 2019 04:48:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-25 20:48:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2fc71ccd-0aaf-41d0-bccb-7bf04205b034</value></item-id></result> 2019-11-25 20:48:25 | contains: true 2019-11-25 20:48:30 | [Mutex] waiting for: [user_regularir4xxf0183@localhost:message:received:content_yoq43s0187] 2019-11-25 20:48:30 | [Mutex] waiting for: [user_regularir4xxf0183@localhost:message:received:content_yoq43s0187] 2019-11-25 20:48:30 | [Mutex] received everything. 2019-11-25 20:48:30 | [Mutex] isItemNotified: user_regularir4xxf0183@localhost:message:received:content_yoq43s0187 :: true 2019-11-25 20:48:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2019-11-25 20:48:30 | [Mutex] received everything. 2019-11-25 20:48:30 | [Mutex] isItemNotified: node_l1m6ez0184:subscribe_node:success :: true 2019-11-25 20:48:30 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-25 20:48:30 | command: <data><node>node_l1m6ez0184</node><expire-at>2019-11-26T04:48:35Z</expire-at><entry><content>content_84fxrg0188</content></entry></data> 2019-11-25 20:48:30 | target: http://localhost:8088 2019-11-25 20:48:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-11-25 20:48:30 | entity: <data><node>node_l1m6ez0184</node><expire-at>2019-11-26T04:48:35Z</expire-at><entry><content>content_84fxrg0188</content></entry></data> 2019-11-25 20:48:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 26 Nov 2019 04:48:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-25 20:48:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d8414dbc-523e-4f2e-b948-caa9cabf1455</value></item-id></result> 2019-11-25 20:48:30 | contains: true 2019-11-25 20:48:38 | [Mutex] waiting for: [user_regularir4xxf0183@localhost:message:received:content_84fxrg0188] 2019-11-25 20:48:39 | [Mutex] waiting for: [user_regularir4xxf0183@localhost:message:received:content_84fxrg0188] 2019-11-25 20:48:39 | [Mutex] waiting for: [user_regularir4xxf0183@localhost:message:received:content_84fxrg0188] 2019-11-25 20:48:53 | [Mutex] timeout. Not received [user_regularir4xxf0183@localhost:message:received:content_84fxrg0188] 2019-11-25 20:48:53 | [Mutex] received everything. 2019-11-25 20:48:53 | [Mutex] isItemNotified: user_regularir4xxf0183@localhost:message:received:content_84fxrg0188 :: false 2019-11-25 20:48:53 | [Mutex] isItemNotified: admin@localhost:message:received:content_84fxrg0188 :: true |