Test duration : 45.066s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.661s |
2021-06-24 22:57:33 |
2021-06-24 22:57:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-24 22:57:33 | ------------------------------------ 2021-06-24 22:57:33 | [Mutex] isItemNotified: node_fai3kg0203:exists :: false 2021-06-24 22:57:33 | [Mutex] waiting for: [node_fai3kg0203:create_node] 2021-06-24 22:57:33 | [Mutex] received everything. 2021-06-24 22:57:33 | [Mutex] isItemNotified: node_fai3kg0203:create_node:success :: true 2021-06-24 22:57:33 | [Mutex] waiting for: [node_fai3kg0203:subscribe_node] 2021-06-24 22:57:33 | [Mutex] waiting for: [node_fai3kg0203:subscribe_node] 2021-06-24 22:57:33 | [Mutex] received everything. 2021-06-24 22:57:33 | [Mutex] isItemNotified: node_fai3kg0203:subscribe_node:success :: true 2021-06-24 22:57:33 | ===== publishing normal message (to online) 2021-06-24 22:57:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-24 22:57:33 | command: <data><node>node_fai3kg0203</node><entry><content>content_7rhuio0204</content></entry></data> 2021-06-24 22:57:33 | target: http://localhost:8088 2021-06-24 22:57:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-24 22:57:33 | entity: <data><node>node_fai3kg0203</node><entry><content>content_7rhuio0204</content></entry></data> 2021-06-24 22:57:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:57:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-24 22:57:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>05b37c9d-6a8c-4734-8daf-83b8745835d2</value></item-id></result> 2021-06-24 22:57:33 | contains: true 2021-06-24 22:57:33 | [Mutex] waiting for: [user_regular2dt4050202@test-domain.com:message:received:content_7rhuio0204] 2021-06-24 22:57:33 | [Mutex] received everything. 2021-06-24 22:57:33 | [Mutex] isItemNotified: user_regular2dt4050202@test-domain.com:message:received:content_7rhuio0204 :: true 2021-06-24 22:57:33 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-24 22:57:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-24 22:57:33 | command: <data><node>node_fai3kg0203</node><expire-at>2021-06-25T05:57:28Z</expire-at><entry><content>content_55e0bk0205</content></entry></data> 2021-06-24 22:57:33 | target: http://localhost:8088 2021-06-24 22:57:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-24 22:57:33 | entity: <data><node>node_fai3kg0203</node><expire-at>2021-06-25T05:57:28Z</expire-at><entry><content>content_55e0bk0205</content></entry></data> 2021-06-24 22:57:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:57:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-24 22:57:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>76a87262-5920-4a45-ae2e-69525480c76e</value></item-id></result> 2021-06-24 22:57:33 | contains: true 2021-06-24 22:57:33 | [Mutex] waiting for: [user_regular2dt4050202@test-domain.com:message:received:content_55e0bk0205] 2021-06-24 22:57:48 | [Mutex] timeout. Not received [user_regular2dt4050202@test-domain.com:message:received:content_55e0bk0205] 2021-06-24 22:57:48 | [Mutex] isItemNotified: user_regular2dt4050202@test-domain.com:message:received:content_55e0bk0205 :: false 2021-06-24 22:57:48 | ===== publishing normal message (to offline) 2021-06-24 22:57:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-24 22:57:48 | command: <data><node>node_fai3kg0203</node><entry><content>content_dr6ek90206</content></entry></data> 2021-06-24 22:57:48 | target: http://localhost:8088 2021-06-24 22:57:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-24 22:57:48 | entity: <data><node>node_fai3kg0203</node><entry><content>content_dr6ek90206</content></entry></data> 2021-06-24 22:57:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:57:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-24 22:57:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d120b75a-935c-415a-a518-f6a0005a4691</value></item-id></result> 2021-06-24 22:57:48 | contains: true 2021-06-24 22:57:53 | [Mutex] waiting for: [user_regular2dt4050202@test-domain.com:message:received:content_dr6ek90206] 2021-06-24 22:57:53 | [Mutex] received everything. 2021-06-24 22:57:53 | [Mutex] isItemNotified: user_regular2dt4050202@test-domain.com:message:received:content_dr6ek90206 :: true 2021-06-24 22:57:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-24 22:57:53 | [Mutex] received everything. 2021-06-24 22:57:53 | [Mutex] isItemNotified: node_fai3kg0203:subscribe_node:success :: true 2021-06-24 22:57:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-24 22:57:53 | command: <data><node>node_fai3kg0203</node><expire-at>2021-06-25T05:57:58Z</expire-at><entry><content>content_8mohui0207</content></entry></data> 2021-06-24 22:57:53 | target: http://localhost:8088 2021-06-24 22:57:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-24 22:57:53 | entity: <data><node>node_fai3kg0203</node><expire-at>2021-06-25T05:57:58Z</expire-at><entry><content>content_8mohui0207</content></entry></data> 2021-06-24 22:57:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 05:57:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-24 22:57:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7c3c78f0-8334-41e1-8e06-b0711fb97455</value></item-id></result> 2021-06-24 22:57:53 | contains: true 2021-06-24 22:58:02 | [Mutex] waiting for: [user_regular2dt4050202@test-domain.com:message:received:content_8mohui0207] 2021-06-24 22:58:17 | [Mutex] timeout. Not received [user_regular2dt4050202@test-domain.com:message:received:content_8mohui0207] 2021-06-24 22:58:17 | [Mutex] received everything. 2021-06-24 22:58:17 | [Mutex] isItemNotified: user_regular2dt4050202@test-domain.com:message:received:content_8mohui0207 :: false 2021-06-24 22:58:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8mohui0207 :: true |