Test duration : 45.657s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.783s |
2022-02-13 21:35:25 |
2022-02-13 21:35:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-13 21:35:25 | ------------------------------------ 2022-02-13 21:35:25 | [Mutex] isItemNotified: node_qv84ow0203:exists :: false 2022-02-13 21:35:25 | [Mutex] waiting for: [node_qv84ow0203:create_node] 2022-02-13 21:35:25 | [Mutex] received everything. 2022-02-13 21:35:25 | [Mutex] isItemNotified: node_qv84ow0203:create_node:success :: true 2022-02-13 21:35:25 | [Mutex] waiting for: [node_qv84ow0203:subscribe_node] 2022-02-13 21:35:25 | [Mutex] waiting for: [node_qv84ow0203:subscribe_node] 2022-02-13 21:35:25 | [Mutex] received everything. 2022-02-13 21:35:25 | [Mutex] isItemNotified: node_qv84ow0203:subscribe_node:success :: true 2022-02-13 21:35:25 | ===== publishing normal message (to online) 2022-02-13 21:35:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-13 21:35:25 | command: <data><node>node_qv84ow0203</node><entry><content>content_l5hszp0204</content></entry></data> 2022-02-13 21:35:25 | target: http://localhost:8088 2022-02-13 21:35:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-13 21:35:25 | entity: <data><node>node_qv84ow0203</node><entry><content>content_l5hszp0204</content></entry></data> 2022-02-13 21:35:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 05:35:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-13 21:35:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c5eb3cf2-bead-47ad-8c28-150d7c9ce050</value></item-id></result> 2022-02-13 21:35:25 | contains: true 2022-02-13 21:35:25 | [Mutex] received everything. 2022-02-13 21:35:25 | [Mutex] isItemNotified: user_regular6cna770202@test-domain.com:message:received:content_l5hszp0204 :: true 2022-02-13 21:35:25 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-13 21:35:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-13 21:35:25 | command: <data><node>node_qv84ow0203</node><expire-at>2022-02-14T05:35:20Z</expire-at><entry><content>content_k9es2e0205</content></entry></data> 2022-02-13 21:35:25 | target: http://localhost:8088 2022-02-13 21:35:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-13 21:35:25 | entity: <data><node>node_qv84ow0203</node><expire-at>2022-02-14T05:35:20Z</expire-at><entry><content>content_k9es2e0205</content></entry></data> 2022-02-13 21:35:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 05:35:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-13 21:35:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8697a75b-60f9-4f80-bc1c-f801f3be0582</value></item-id></result> 2022-02-13 21:35:25 | contains: true 2022-02-13 21:35:25 | [Mutex] waiting for: [user_regular6cna770202@test-domain.com:message:received:content_k9es2e0205] 2022-02-13 21:35:40 | [Mutex] timeout. Not received [user_regular6cna770202@test-domain.com:message:received:content_k9es2e0205] 2022-02-13 21:35:40 | [Mutex] isItemNotified: user_regular6cna770202@test-domain.com:message:received:content_k9es2e0205 :: false 2022-02-13 21:35:40 | ===== publishing normal message (to offline) 2022-02-13 21:35:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-13 21:35:40 | command: <data><node>node_qv84ow0203</node><entry><content>content_tnvzx00206</content></entry></data> 2022-02-13 21:35:40 | target: http://localhost:8088 2022-02-13 21:35:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-13 21:35:40 | entity: <data><node>node_qv84ow0203</node><entry><content>content_tnvzx00206</content></entry></data> 2022-02-13 21:35:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 05:35:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-13 21:35:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>62f02b14-ed51-4783-aa60-f75868839a3a</value></item-id></result> 2022-02-13 21:35:40 | contains: true 2022-02-13 21:35:46 | [Mutex] waiting for: [user_regular6cna770202@test-domain.com:message:received:content_tnvzx00206] 2022-02-13 21:35:46 | [Mutex] waiting for: [user_regular6cna770202@test-domain.com:message:received:content_tnvzx00206] 2022-02-13 21:35:46 | [Mutex] received everything. 2022-02-13 21:35:46 | [Mutex] isItemNotified: user_regular6cna770202@test-domain.com:message:received:content_tnvzx00206 :: true 2022-02-13 21:35:46 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-13 21:35:46 | [Mutex] received everything. 2022-02-13 21:35:46 | [Mutex] isItemNotified: node_qv84ow0203:subscribe_node:success :: true 2022-02-13 21:35:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-13 21:35:46 | command: <data><node>node_qv84ow0203</node><expire-at>2022-02-14T05:35:51Z</expire-at><entry><content>content_i9x8fk0207</content></entry></data> 2022-02-13 21:35:46 | target: http://localhost:8088 2022-02-13 21:35:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-13 21:35:46 | entity: <data><node>node_qv84ow0203</node><expire-at>2022-02-14T05:35:51Z</expire-at><entry><content>content_i9x8fk0207</content></entry></data> 2022-02-13 21:35:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Feb 2022 05:35:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-13 21:35:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cdfd92b8-f44b-46b0-9c09-1a28e725c6c0</value></item-id></result> 2022-02-13 21:35:46 | contains: true 2022-02-13 21:35:54 | [Mutex] waiting for: [user_regular6cna770202@test-domain.com:message:received:content_i9x8fk0207] 2022-02-13 21:36:09 | [Mutex] timeout. Not received [user_regular6cna770202@test-domain.com:message:received:content_i9x8fk0207] 2022-02-13 21:36:09 | [Mutex] received everything. 2022-02-13 21:36:09 | [Mutex] isItemNotified: user_regular6cna770202@test-domain.com:message:received:content_i9x8fk0207 :: false 2022-02-13 21:36:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_i9x8fk0207 :: true |