Test duration : 45.249s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.778s |
2020-11-26 21:58:37 |
2020-11-26 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-26 21:58:37 | ------------------------------------ 2020-11-26 21:58:37 | [Mutex] isItemNotified: node_6ot6mh0203:exists :: false 2020-11-26 21:58:37 | [Mutex] waiting for: [node_6ot6mh0203:create_node] 2020-11-26 21:58:37 | [Mutex] received everything. 2020-11-26 21:58:37 | [Mutex] isItemNotified: node_6ot6mh0203:create_node:success :: true 2020-11-26 21:58:37 | [Mutex] waiting for: [node_6ot6mh0203:subscribe_node] 2020-11-26 21:58:37 | [Mutex] waiting for: [node_6ot6mh0203:subscribe_node] 2020-11-26 21:58:37 | [Mutex] received everything. 2020-11-26 21:58:37 | [Mutex] isItemNotified: node_6ot6mh0203:subscribe_node:success :: true 2020-11-26 21:58:37 | ===== publishing normal message (to online) 2020-11-26 21:58:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:58:37 | command: <data><node>node_6ot6mh0203</node><entry><content>content_v4c2ho0204</content></entry></data> 2020-11-26 21:58:37 | target: http://localhost:8088 2020-11-26 21:58:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-26 21:58:37 | entity: <data><node>node_6ot6mh0203</node><entry><content>content_v4c2ho0204</content></entry></data> 2020-11-26 21:58:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:58:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:58:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4791db8e-065b-48e6-bd5e-d97e7849bc6c</value></item-id></result> 2020-11-26 21:58:37 | contains: true 2020-11-26 21:58:37 | [Mutex] received everything. 2020-11-26 21:58:37 | [Mutex] isItemNotified: user_regularv3nfq90202@test-domain.com:message:received:content_v4c2ho0204 :: true 2020-11-26 21:58:37 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-26 21:58:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:58:37 | command: <data><node>node_6ot6mh0203</node><expire-at>2020-11-27T05:58:32Z</expire-at><entry><content>content_p0ybjl0205</content></entry></data> 2020-11-26 21:58:37 | target: http://localhost:8088 2020-11-26 21:58:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-26 21:58:37 | entity: <data><node>node_6ot6mh0203</node><expire-at>2020-11-27T05:58:32Z</expire-at><entry><content>content_p0ybjl0205</content></entry></data> 2020-11-26 21:58:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:58:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:58:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>548a9141-ca16-439d-8aba-07cdc708a0e9</value></item-id></result> 2020-11-26 21:58:37 | contains: true 2020-11-26 21:58:37 | [Mutex] waiting for: [user_regularv3nfq90202@test-domain.com:message:received:content_p0ybjl0205] 2020-11-26 21:58:52 | [Mutex] timeout. Not received [user_regularv3nfq90202@test-domain.com:message:received:content_p0ybjl0205] 2020-11-26 21:58:52 | [Mutex] isItemNotified: user_regularv3nfq90202@test-domain.com:message:received:content_p0ybjl0205 :: false 2020-11-26 21:58:52 | ===== publishing normal message (to offline) 2020-11-26 21:58:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:58:52 | command: <data><node>node_6ot6mh0203</node><entry><content>content_qr2fy0206</content></entry></data> 2020-11-26 21:58:52 | target: http://localhost:8088 2020-11-26 21:58:52 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2020-11-26 21:58:52 | entity: <data><node>node_6ot6mh0203</node><entry><content>content_qr2fy0206</content></entry></data> 2020-11-26 21:58:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:58:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:58:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>36dd2496-82b4-49a1-86c8-cc0764f9d149</value></item-id></result> 2020-11-26 21:58:52 | contains: true 2020-11-26 21:58:57 | [Mutex] waiting for: [user_regularv3nfq90202@test-domain.com:message:received:content_qr2fy0206] 2020-11-26 21:58:57 | [Mutex] waiting for: [user_regularv3nfq90202@test-domain.com:message:received:content_qr2fy0206] 2020-11-26 21:58:57 | [Mutex] received everything. 2020-11-26 21:58:57 | [Mutex] isItemNotified: user_regularv3nfq90202@test-domain.com:message:received:content_qr2fy0206 :: true 2020-11-26 21:58:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-26 21:58:57 | [Mutex] received everything. 2020-11-26 21:58:57 | [Mutex] isItemNotified: node_6ot6mh0203:subscribe_node:success :: true 2020-11-26 21:58:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:58:57 | command: <data><node>node_6ot6mh0203</node><expire-at>2020-11-27T05:59:02Z</expire-at><entry><content>content_y1ydjy0207</content></entry></data> 2020-11-26 21:58:57 | target: http://localhost:8088 2020-11-26 21:58:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-26 21:58:57 | entity: <data><node>node_6ot6mh0203</node><expire-at>2020-11-27T05:59:02Z</expire-at><entry><content>content_y1ydjy0207</content></entry></data> 2020-11-26 21:58:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:58:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:58:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d1b7421e-e909-4273-999b-39f832b4c100</value></item-id></result> 2020-11-26 21:58:57 | contains: true 2020-11-26 21:59:06 | [Mutex] waiting for: [user_regularv3nfq90202@test-domain.com:message:received:content_y1ydjy0207] 2020-11-26 21:59:06 | [Mutex] waiting for: [user_regularv3nfq90202@test-domain.com:message:received:content_y1ydjy0207] 2020-11-26 21:59:06 | [Mutex] waiting for: [user_regularv3nfq90202@test-domain.com:message:received:content_y1ydjy0207] 2020-11-26 21:59:21 | [Mutex] timeout. Not received [user_regularv3nfq90202@test-domain.com:message:received:content_y1ydjy0207] 2020-11-26 21:59:21 | [Mutex] received everything. 2020-11-26 21:59:21 | [Mutex] isItemNotified: user_regularv3nfq90202@test-domain.com:message:received:content_y1ydjy0207 :: false 2020-11-26 21:59:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_y1ydjy0207 :: true |