Test duration : 45.177s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.753s |
2021-02-05 21:59:28 |
2021-02-05 21:59:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-05 21:59:28 | ------------------------------------ 2021-02-05 21:59:28 | [Mutex] isItemNotified: node_if6f350203:exists :: false 2021-02-05 21:59:28 | [Mutex] waiting for: [node_if6f350203:create_node] 2021-02-05 21:59:28 | [Mutex] received everything. 2021-02-05 21:59:28 | [Mutex] isItemNotified: node_if6f350203:create_node:success :: true 2021-02-05 21:59:28 | [Mutex] waiting for: [node_if6f350203:subscribe_node] 2021-02-05 21:59:28 | [Mutex] waiting for: [node_if6f350203:subscribe_node] 2021-02-05 21:59:28 | [Mutex] received everything. 2021-02-05 21:59:28 | [Mutex] isItemNotified: node_if6f350203:subscribe_node:success :: true 2021-02-05 21:59:28 | ===== publishing normal message (to online) 2021-02-05 21:59:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 21:59:28 | command: <data><node>node_if6f350203</node><entry><content>content_fjmoic0204</content></entry></data> 2021-02-05 21:59:28 | target: http://localhost:8088 2021-02-05 21:59:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-05 21:59:28 | entity: <data><node>node_if6f350203</node><entry><content>content_fjmoic0204</content></entry></data> 2021-02-05 21:59:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:59:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 21:59:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aa7fa0e6-9498-4810-bc6c-7f0e2377b3fe</value></item-id></result> 2021-02-05 21:59:28 | contains: true 2021-02-05 21:59:28 | [Mutex] received everything. 2021-02-05 21:59:28 | [Mutex] isItemNotified: user_regulardgn2420202@test-domain.com:message:received:content_fjmoic0204 :: true 2021-02-05 21:59:28 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-05 21:59:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 21:59:28 | command: <data><node>node_if6f350203</node><expire-at>2021-02-06T05:59:23Z</expire-at><entry><content>content_64jnmd0205</content></entry></data> 2021-02-05 21:59:28 | target: http://localhost:8088 2021-02-05 21:59:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-05 21:59:28 | entity: <data><node>node_if6f350203</node><expire-at>2021-02-06T05:59:23Z</expire-at><entry><content>content_64jnmd0205</content></entry></data> 2021-02-05 21:59:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:59:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 21:59:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ef494dca-bbc0-4fee-bc85-aafefa1b422e</value></item-id></result> 2021-02-05 21:59:28 | contains: true 2021-02-05 21:59:28 | [Mutex] waiting for: [user_regulardgn2420202@test-domain.com:message:received:content_64jnmd0205] 2021-02-05 21:59:43 | [Mutex] timeout. Not received [user_regulardgn2420202@test-domain.com:message:received:content_64jnmd0205] 2021-02-05 21:59:43 | [Mutex] isItemNotified: user_regulardgn2420202@test-domain.com:message:received:content_64jnmd0205 :: false 2021-02-05 21:59:43 | ===== publishing normal message (to offline) 2021-02-05 21:59:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 21:59:43 | command: <data><node>node_if6f350203</node><entry><content>content_u1ph9h0206</content></entry></data> 2021-02-05 21:59:43 | target: http://localhost:8088 2021-02-05 21:59:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-05 21:59:43 | entity: <data><node>node_if6f350203</node><entry><content>content_u1ph9h0206</content></entry></data> 2021-02-05 21:59:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:59:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 21:59:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f93654f2-30d1-490e-8f40-6c6dc73dce9a</value></item-id></result> 2021-02-05 21:59:43 | contains: true 2021-02-05 21:59:48 | [Mutex] waiting for: [user_regulardgn2420202@test-domain.com:message:received:content_u1ph9h0206] 2021-02-05 21:59:48 | [Mutex] received everything. 2021-02-05 21:59:48 | [Mutex] isItemNotified: user_regulardgn2420202@test-domain.com:message:received:content_u1ph9h0206 :: true 2021-02-05 21:59:48 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-05 21:59:48 | [Mutex] received everything. 2021-02-05 21:59:48 | [Mutex] isItemNotified: node_if6f350203:subscribe_node:success :: true 2021-02-05 21:59:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 21:59:48 | command: <data><node>node_if6f350203</node><expire-at>2021-02-06T05:59:53Z</expire-at><entry><content>content_iishae0207</content></entry></data> 2021-02-05 21:59:48 | target: http://localhost:8088 2021-02-05 21:59:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-05 21:59:48 | entity: <data><node>node_if6f350203</node><expire-at>2021-02-06T05:59:53Z</expire-at><entry><content>content_iishae0207</content></entry></data> 2021-02-05 21:59:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:59:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 21:59:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5b9c2a33-4a12-480f-b1d1-b9a40218312b</value></item-id></result> 2021-02-05 21:59:48 | contains: true 2021-02-05 21:59:56 | [Mutex] waiting for: [user_regulardgn2420202@test-domain.com:message:received:content_iishae0207] 2021-02-05 21:59:56 | [Mutex] waiting for: [user_regulardgn2420202@test-domain.com:message:received:content_iishae0207] 2021-02-05 21:59:56 | [Mutex] waiting for: [user_regulardgn2420202@test-domain.com:message:received:content_iishae0207] 2021-02-05 22:00:11 | [Mutex] timeout. Not received [user_regulardgn2420202@test-domain.com:message:received:content_iishae0207] 2021-02-05 22:00:11 | [Mutex] received everything. 2021-02-05 22:00:11 | [Mutex] isItemNotified: user_regulardgn2420202@test-domain.com:message:received:content_iishae0207 :: false 2021-02-05 22:00:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_iishae0207 :: true |