Test duration : 44.893s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.590s |
2021-03-17 22:29:38 |
2021-03-17 22:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-17 22:29:38 | ------------------------------------ 2021-03-17 22:29:38 | [Mutex] isItemNotified: node_ry32u40203:exists :: false 2021-03-17 22:29:38 | [Mutex] waiting for: [node_ry32u40203:create_node] 2021-03-17 22:29:38 | [Mutex] received everything. 2021-03-17 22:29:38 | [Mutex] isItemNotified: node_ry32u40203:create_node:success :: true 2021-03-17 22:29:38 | [Mutex] waiting for: [node_ry32u40203:subscribe_node] 2021-03-17 22:29:38 | [Mutex] waiting for: [node_ry32u40203:subscribe_node] 2021-03-17 22:29:38 | [Mutex] received everything. 2021-03-17 22:29:38 | [Mutex] isItemNotified: node_ry32u40203:subscribe_node:success :: true 2021-03-17 22:29:38 | ===== publishing normal message (to online) 2021-03-17 22:29:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:29:38 | command: <data><node>node_ry32u40203</node><entry><content>content_kvn0nx0204</content></entry></data> 2021-03-17 22:29:38 | target: http://localhost:8088 2021-03-17 22:29:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-17 22:29:38 | entity: <data><node>node_ry32u40203</node><entry><content>content_kvn0nx0204</content></entry></data> 2021-03-17 22:29:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:29:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:29:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3a0a9b79-7f6c-4904-b999-7cea278da8bd</value></item-id></result> 2021-03-17 22:29:38 | contains: true 2021-03-17 22:29:38 | [Mutex] received everything. 2021-03-17 22:29:38 | [Mutex] isItemNotified: user_regularmm4pe0202@test-domain.com:message:received:content_kvn0nx0204 :: true 2021-03-17 22:29:38 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-17 22:29:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:29:38 | command: <data><node>node_ry32u40203</node><expire-at>2021-03-18T05:29:33Z</expire-at><entry><content>content_jmxb960205</content></entry></data> 2021-03-17 22:29:38 | target: http://localhost:8088 2021-03-17 22:29:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-17 22:29:38 | entity: <data><node>node_ry32u40203</node><expire-at>2021-03-18T05:29:33Z</expire-at><entry><content>content_jmxb960205</content></entry></data> 2021-03-17 22:29:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:29:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:29:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>38bdc09f-8a89-49cd-8c42-8318d668c917</value></item-id></result> 2021-03-17 22:29:38 | contains: true 2021-03-17 22:29:38 | [Mutex] waiting for: [user_regularmm4pe0202@test-domain.com:message:received:content_jmxb960205] 2021-03-17 22:29:53 | [Mutex] timeout. Not received [user_regularmm4pe0202@test-domain.com:message:received:content_jmxb960205] 2021-03-17 22:29:53 | [Mutex] isItemNotified: user_regularmm4pe0202@test-domain.com:message:received:content_jmxb960205 :: false 2021-03-17 22:29:53 | ===== publishing normal message (to offline) 2021-03-17 22:29:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:29:53 | command: <data><node>node_ry32u40203</node><entry><content>content_ajvbjq0206</content></entry></data> 2021-03-17 22:29:53 | target: http://localhost:8088 2021-03-17 22:29:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-17 22:29:53 | entity: <data><node>node_ry32u40203</node><entry><content>content_ajvbjq0206</content></entry></data> 2021-03-17 22:29:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:29:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:29:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d742ac13-7a67-4cc8-a826-7f037dd8680b</value></item-id></result> 2021-03-17 22:29:53 | contains: true 2021-03-17 22:29:59 | [Mutex] waiting for: [user_regularmm4pe0202@test-domain.com:message:received:content_ajvbjq0206] 2021-03-17 22:29:59 | [Mutex] waiting for: [user_regularmm4pe0202@test-domain.com:message:received:content_ajvbjq0206] 2021-03-17 22:29:59 | [Mutex] received everything. 2021-03-17 22:29:59 | [Mutex] isItemNotified: user_regularmm4pe0202@test-domain.com:message:received:content_ajvbjq0206 :: true 2021-03-17 22:29:59 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-17 22:29:59 | [Mutex] received everything. 2021-03-17 22:29:59 | [Mutex] isItemNotified: node_ry32u40203:subscribe_node:success :: true 2021-03-17 22:29:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-17 22:29:59 | command: <data><node>node_ry32u40203</node><expire-at>2021-03-18T05:30:04Z</expire-at><entry><content>content_vudmtl0207</content></entry></data> 2021-03-17 22:29:59 | target: http://localhost:8088 2021-03-17 22:29:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-17 22:29:59 | entity: <data><node>node_ry32u40203</node><expire-at>2021-03-18T05:30:04Z</expire-at><entry><content>content_vudmtl0207</content></entry></data> 2021-03-17 22:29:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 18 Mar 2021 05:29:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-17 22:29:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dbc11672-3c75-40d2-9340-18341ae2ab88</value></item-id></result> 2021-03-17 22:29:59 | contains: true 2021-03-17 22:30:07 | [Mutex] waiting for: [user_regularmm4pe0202@test-domain.com:message:received:content_vudmtl0207] 2021-03-17 22:30:22 | [Mutex] timeout. Not received [user_regularmm4pe0202@test-domain.com:message:received:content_vudmtl0207] 2021-03-17 22:30:22 | [Mutex] received everything. 2021-03-17 22:30:22 | [Mutex] isItemNotified: user_regularmm4pe0202@test-domain.com:message:received:content_vudmtl0207 :: false 2021-03-17 22:30:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vudmtl0207 :: true |