Test duration : 45.193s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.751s |
2020-12-16 14:20:54 |
2020-12-16 14:20:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-12-16 14:20:54 | ------------------------------------ 2020-12-16 14:20:54 | [Mutex] isItemNotified: node_4uwphp0203:exists :: false 2020-12-16 14:20:54 | [Mutex] waiting for: [node_4uwphp0203:create_node] 2020-12-16 14:20:54 | [Mutex] received everything. 2020-12-16 14:20:54 | [Mutex] isItemNotified: node_4uwphp0203:create_node:success :: true 2020-12-16 14:20:54 | [Mutex] waiting for: [node_4uwphp0203:subscribe_node] 2020-12-16 14:20:54 | [Mutex] waiting for: [node_4uwphp0203:subscribe_node] 2020-12-16 14:20:54 | [Mutex] received everything. 2020-12-16 14:20:54 | [Mutex] isItemNotified: node_4uwphp0203:subscribe_node:success :: true 2020-12-16 14:20:54 | ===== publishing normal message (to online) 2020-12-16 14:20:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-16 14:20:54 | command: <data><node>node_4uwphp0203</node><entry><content>content_qs07jp0204</content></entry></data> 2020-12-16 14:20:54 | target: http://localhost:8088 2020-12-16 14:20:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-16 14:20:54 | entity: <data><node>node_4uwphp0203</node><entry><content>content_qs07jp0204</content></entry></data> 2020-12-16 14:20:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 22:20:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-16 14:20:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8e54c8c0-00ab-4f26-ba0a-8259dedb39b6</value></item-id></result> 2020-12-16 14:20:54 | contains: true 2020-12-16 14:20:54 | [Mutex] received everything. 2020-12-16 14:20:54 | [Mutex] isItemNotified: user_regularmgs1j50202@test-domain.com:message:received:content_qs07jp0204 :: true 2020-12-16 14:20:54 | ===== publishing already old message - expecting message being filtered out (to online) 2020-12-16 14:20:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-16 14:20:54 | command: <data><node>node_4uwphp0203</node><expire-at>2020-12-16T22:20:49Z</expire-at><entry><content>content_g62deq0205</content></entry></data> 2020-12-16 14:20:54 | target: http://localhost:8088 2020-12-16 14:20:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-16 14:20:54 | entity: <data><node>node_4uwphp0203</node><expire-at>2020-12-16T22:20:49Z</expire-at><entry><content>content_g62deq0205</content></entry></data> 2020-12-16 14:20:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 22:20:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-16 14:20:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5e5b50c1-427d-456b-b4c0-6ad2f105da6f</value></item-id></result> 2020-12-16 14:20:54 | contains: true 2020-12-16 14:20:54 | [Mutex] waiting for: [user_regularmgs1j50202@test-domain.com:message:received:content_g62deq0205] 2020-12-16 14:21:09 | [Mutex] timeout. Not received [user_regularmgs1j50202@test-domain.com:message:received:content_g62deq0205] 2020-12-16 14:21:09 | [Mutex] isItemNotified: user_regularmgs1j50202@test-domain.com:message:received:content_g62deq0205 :: false 2020-12-16 14:21:09 | ===== publishing normal message (to offline) 2020-12-16 14:21:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-16 14:21:09 | command: <data><node>node_4uwphp0203</node><entry><content>content_bvotc0206</content></entry></data> 2020-12-16 14:21:09 | target: http://localhost:8088 2020-12-16 14:21:09 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2020-12-16 14:21:09 | entity: <data><node>node_4uwphp0203</node><entry><content>content_bvotc0206</content></entry></data> 2020-12-16 14:21:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 22:21:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-16 14:21:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b44ed98e-d44a-46db-a2b6-98790b799b03</value></item-id></result> 2020-12-16 14:21:09 | contains: true 2020-12-16 14:21:14 | [Mutex] waiting for: [user_regularmgs1j50202@test-domain.com:message:received:content_bvotc0206] 2020-12-16 14:21:14 | [Mutex] received everything. 2020-12-16 14:21:14 | [Mutex] isItemNotified: user_regularmgs1j50202@test-domain.com:message:received:content_bvotc0206 :: true 2020-12-16 14:21:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-12-16 14:21:14 | [Mutex] received everything. 2020-12-16 14:21:14 | [Mutex] isItemNotified: node_4uwphp0203:subscribe_node:success :: true 2020-12-16 14:21:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-16 14:21:14 | command: <data><node>node_4uwphp0203</node><expire-at>2020-12-16T22:21:19Z</expire-at><entry><content>content_icw5a30207</content></entry></data> 2020-12-16 14:21:14 | target: http://localhost:8088 2020-12-16 14:21:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-16 14:21:14 | entity: <data><node>node_4uwphp0203</node><expire-at>2020-12-16T22:21:19Z</expire-at><entry><content>content_icw5a30207</content></entry></data> 2020-12-16 14:21:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Dec 2020 22:21:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-16 14:21:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2b657a1c-2135-49ab-9893-798bf2eb5f33</value></item-id></result> 2020-12-16 14:21:14 | contains: true 2020-12-16 14:21:22 | [Mutex] waiting for: [user_regularmgs1j50202@test-domain.com:message:received:content_icw5a30207] 2020-12-16 14:21:22 | [Mutex] waiting for: [user_regularmgs1j50202@test-domain.com:message:received:content_icw5a30207] 2020-12-16 14:21:37 | [Mutex] timeout. Not received [user_regularmgs1j50202@test-domain.com:message:received:content_icw5a30207] 2020-12-16 14:21:37 | [Mutex] received everything. 2020-12-16 14:21:37 | [Mutex] isItemNotified: user_regularmgs1j50202@test-domain.com:message:received:content_icw5a30207 :: false 2020-12-16 14:21:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_icw5a30207 :: true |