Test duration : 45.234s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.584s |
2021-06-04 22:58:15 |
2021-06-04 22:58:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-04 22:58:15 | ------------------------------------ 2021-06-04 22:58:15 | [Mutex] isItemNotified: node_gwuki70203:exists :: false 2021-06-04 22:58:15 | [Mutex] waiting for: [node_gwuki70203:create_node] 2021-06-04 22:58:15 | [Mutex] received everything. 2021-06-04 22:58:15 | [Mutex] isItemNotified: node_gwuki70203:create_node:success :: true 2021-06-04 22:58:15 | [Mutex] waiting for: [node_gwuki70203:subscribe_node] 2021-06-04 22:58:15 | [Mutex] waiting for: [node_gwuki70203:subscribe_node] 2021-06-04 22:58:15 | [Mutex] received everything. 2021-06-04 22:58:15 | [Mutex] isItemNotified: node_gwuki70203:subscribe_node:success :: true 2021-06-04 22:58:15 | ===== publishing normal message (to online) 2021-06-04 22:58:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-04 22:58:15 | command: <data><node>node_gwuki70203</node><entry><content>content_3o11sv0204</content></entry></data> 2021-06-04 22:58:15 | target: http://localhost:8088 2021-06-04 22:58:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-04 22:58:15 | entity: <data><node>node_gwuki70203</node><entry><content>content_3o11sv0204</content></entry></data> 2021-06-04 22:58:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:58:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-04 22:58:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>be1087e8-778f-4918-8587-fc452b73582c</value></item-id></result> 2021-06-04 22:58:15 | contains: true 2021-06-04 22:58:15 | [Mutex] waiting for: [user_regularj4ax630202@test-domain.com:message:received:content_3o11sv0204] 2021-06-04 22:58:15 | [Mutex] received everything. 2021-06-04 22:58:15 | [Mutex] isItemNotified: user_regularj4ax630202@test-domain.com:message:received:content_3o11sv0204 :: true 2021-06-04 22:58:15 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-04 22:58:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-04 22:58:15 | command: <data><node>node_gwuki70203</node><expire-at>2021-06-05T05:58:10Z</expire-at><entry><content>content_x762dg0205</content></entry></data> 2021-06-04 22:58:15 | target: http://localhost:8088 2021-06-04 22:58:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-04 22:58:15 | entity: <data><node>node_gwuki70203</node><expire-at>2021-06-05T05:58:10Z</expire-at><entry><content>content_x762dg0205</content></entry></data> 2021-06-04 22:58:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:58:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-04 22:58:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a51e23e7-85aa-47f8-b436-558a6c954778</value></item-id></result> 2021-06-04 22:58:15 | contains: true 2021-06-04 22:58:15 | [Mutex] waiting for: [user_regularj4ax630202@test-domain.com:message:received:content_x762dg0205] 2021-06-04 22:58:30 | [Mutex] timeout. Not received [user_regularj4ax630202@test-domain.com:message:received:content_x762dg0205] 2021-06-04 22:58:30 | [Mutex] isItemNotified: user_regularj4ax630202@test-domain.com:message:received:content_x762dg0205 :: false 2021-06-04 22:58:30 | ===== publishing normal message (to offline) 2021-06-04 22:58:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-04 22:58:30 | command: <data><node>node_gwuki70203</node><entry><content>content_owadya0206</content></entry></data> 2021-06-04 22:58:30 | target: http://localhost:8088 2021-06-04 22:58:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-04 22:58:30 | entity: <data><node>node_gwuki70203</node><entry><content>content_owadya0206</content></entry></data> 2021-06-04 22:58:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:58:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-04 22:58:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f8ebcce2-bc5b-4c36-9fd3-1c7583f22d74</value></item-id></result> 2021-06-04 22:58:30 | contains: true 2021-06-04 22:58:36 | [Mutex] waiting for: [user_regularj4ax630202@test-domain.com:message:received:content_owadya0206] 2021-06-04 22:58:36 | [Mutex] received everything. 2021-06-04 22:58:36 | [Mutex] isItemNotified: user_regularj4ax630202@test-domain.com:message:received:content_owadya0206 :: true 2021-06-04 22:58:36 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-04 22:58:36 | [Mutex] received everything. 2021-06-04 22:58:36 | [Mutex] isItemNotified: node_gwuki70203:subscribe_node:success :: true 2021-06-04 22:58:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-04 22:58:36 | command: <data><node>node_gwuki70203</node><expire-at>2021-06-05T05:58:41Z</expire-at><entry><content>content_qj5kbc0207</content></entry></data> 2021-06-04 22:58:36 | target: http://localhost:8088 2021-06-04 22:58:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-04 22:58:36 | entity: <data><node>node_gwuki70203</node><expire-at>2021-06-05T05:58:41Z</expire-at><entry><content>content_qj5kbc0207</content></entry></data> 2021-06-04 22:58:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:58:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-04 22:58:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>535dd1de-44c7-449e-86f1-cf84229306e8</value></item-id></result> 2021-06-04 22:58:36 | contains: true 2021-06-04 22:58:44 | [Mutex] waiting for: [user_regularj4ax630202@test-domain.com:message:received:content_qj5kbc0207] 2021-06-04 22:58:44 | [Mutex] waiting for: [user_regularj4ax630202@test-domain.com:message:received:content_qj5kbc0207] 2021-06-04 22:58:59 | [Mutex] timeout. Not received [user_regularj4ax630202@test-domain.com:message:received:content_qj5kbc0207] 2021-06-04 22:58:59 | [Mutex] received everything. 2021-06-04 22:58:59 | [Mutex] isItemNotified: user_regularj4ax630202@test-domain.com:message:received:content_qj5kbc0207 :: false 2021-06-04 22:58:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qj5kbc0207 :: true |