Test duration : 45.122s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.740s |
2021-06-17 22:32:30 |
2021-06-17 22:32:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-17 22:32:30 | ------------------------------------ 2021-06-17 22:32:30 | [Mutex] isItemNotified: node_kc3vqv0203:exists :: false 2021-06-17 22:32:30 | [Mutex] waiting for: [node_kc3vqv0203:create_node] 2021-06-17 22:32:30 | [Mutex] received everything. 2021-06-17 22:32:30 | [Mutex] isItemNotified: node_kc3vqv0203:create_node:success :: true 2021-06-17 22:32:30 | [Mutex] waiting for: [node_kc3vqv0203:subscribe_node] 2021-06-17 22:32:30 | [Mutex] received everything. 2021-06-17 22:32:30 | [Mutex] isItemNotified: node_kc3vqv0203:subscribe_node:success :: true 2021-06-17 22:32:30 | ===== publishing normal message (to online) 2021-06-17 22:32:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-17 22:32:30 | command: <data><node>node_kc3vqv0203</node><entry><content>content_4ir27b0204</content></entry></data> 2021-06-17 22:32:30 | target: http://localhost:8088 2021-06-17 22:32:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-17 22:32:30 | entity: <data><node>node_kc3vqv0203</node><entry><content>content_4ir27b0204</content></entry></data> 2021-06-17 22:32:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:32:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-17 22:32:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>474510a1-23b6-4f76-9cad-09fcaffec336</value></item-id></result> 2021-06-17 22:32:30 | contains: true 2021-06-17 22:32:30 | [Mutex] received everything. 2021-06-17 22:32:30 | [Mutex] isItemNotified: user_regular622d90202@test-domain.com:message:received:content_4ir27b0204 :: true 2021-06-17 22:32:30 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-17 22:32:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-17 22:32:30 | command: <data><node>node_kc3vqv0203</node><expire-at>2021-06-18T05:32:25Z</expire-at><entry><content>content_rzz7mp0205</content></entry></data> 2021-06-17 22:32:30 | target: http://localhost:8088 2021-06-17 22:32:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-17 22:32:30 | entity: <data><node>node_kc3vqv0203</node><expire-at>2021-06-18T05:32:25Z</expire-at><entry><content>content_rzz7mp0205</content></entry></data> 2021-06-17 22:32:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:32:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-17 22:32:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>750ff09a-25ba-4d96-bde8-95123900139f</value></item-id></result> 2021-06-17 22:32:30 | contains: true 2021-06-17 22:32:30 | [Mutex] waiting for: [user_regular622d90202@test-domain.com:message:received:content_rzz7mp0205] 2021-06-17 22:32:45 | [Mutex] timeout. Not received [user_regular622d90202@test-domain.com:message:received:content_rzz7mp0205] 2021-06-17 22:32:45 | [Mutex] isItemNotified: user_regular622d90202@test-domain.com:message:received:content_rzz7mp0205 :: false 2021-06-17 22:32:45 | ===== publishing normal message (to offline) 2021-06-17 22:32:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-17 22:32:45 | command: <data><node>node_kc3vqv0203</node><entry><content>content_9fh9g70206</content></entry></data> 2021-06-17 22:32:45 | target: http://localhost:8088 2021-06-17 22:32:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-17 22:32:45 | entity: <data><node>node_kc3vqv0203</node><entry><content>content_9fh9g70206</content></entry></data> 2021-06-17 22:32:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:32:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-17 22:32:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>74e577ae-467d-4777-9cd9-22bcec95a16f</value></item-id></result> 2021-06-17 22:32:45 | contains: true 2021-06-17 22:32:50 | [Mutex] waiting for: [user_regular622d90202@test-domain.com:message:received:content_9fh9g70206] 2021-06-17 22:32:50 | [Mutex] received everything. 2021-06-17 22:32:50 | [Mutex] isItemNotified: user_regular622d90202@test-domain.com:message:received:content_9fh9g70206 :: true 2021-06-17 22:32:50 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-17 22:32:50 | [Mutex] received everything. 2021-06-17 22:32:50 | [Mutex] isItemNotified: node_kc3vqv0203:subscribe_node:success :: true 2021-06-17 22:32:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-17 22:32:50 | command: <data><node>node_kc3vqv0203</node><expire-at>2021-06-18T05:32:55Z</expire-at><entry><content>content_mdmj4u0207</content></entry></data> 2021-06-17 22:32:50 | target: http://localhost:8088 2021-06-17 22:32:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-17 22:32:50 | entity: <data><node>node_kc3vqv0203</node><expire-at>2021-06-18T05:32:55Z</expire-at><entry><content>content_mdmj4u0207</content></entry></data> 2021-06-17 22:32:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:32:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-17 22:32:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d23f80b9-5480-45d6-9f39-60ccf89a32f3</value></item-id></result> 2021-06-17 22:32:50 | contains: true 2021-06-17 22:32:58 | [Mutex] waiting for: [user_regular622d90202@test-domain.com:message:received:content_mdmj4u0207] 2021-06-17 22:33:13 | [Mutex] timeout. Not received [user_regular622d90202@test-domain.com:message:received:content_mdmj4u0207] 2021-06-17 22:33:13 | [Mutex] received everything. 2021-06-17 22:33:13 | [Mutex] isItemNotified: user_regular622d90202@test-domain.com:message:received:content_mdmj4u0207 :: false 2021-06-17 22:33:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mdmj4u0207 :: true |