Test duration : 45.795s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.816s |
2020-10-05 23:09:39 |
2020-10-05 23:09:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-05 23:09:39 | ------------------------------------ 2020-10-05 23:09:39 | [Mutex] isItemNotified: node_jj62bx0203:exists :: false 2020-10-05 23:09:39 | [Mutex] waiting for: [node_jj62bx0203:create_node] 2020-10-05 23:09:39 | [Mutex] received everything. 2020-10-05 23:09:39 | [Mutex] isItemNotified: node_jj62bx0203:create_node:success :: true 2020-10-05 23:09:39 | [Mutex] waiting for: [node_jj62bx0203:subscribe_node] 2020-10-05 23:09:39 | [Mutex] waiting for: [node_jj62bx0203:subscribe_node] 2020-10-05 23:09:39 | [Mutex] received everything. 2020-10-05 23:09:39 | [Mutex] isItemNotified: node_jj62bx0203:subscribe_node:success :: true 2020-10-05 23:09:39 | ===== publishing normal message (to online) 2020-10-05 23:09:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-05 23:09:39 | command: <data><node>node_jj62bx0203</node><entry><content>content_vjvuz30204</content></entry></data> 2020-10-05 23:09:39 | target: http://localhost:8088 2020-10-05 23:09:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-05 23:09:39 | entity: <data><node>node_jj62bx0203</node><entry><content>content_vjvuz30204</content></entry></data> 2020-10-05 23:09:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 06:09:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-05 23:09:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d84a3a69-f678-4d52-b30d-941cf9c020de</value></item-id></result> 2020-10-05 23:09:39 | contains: true 2020-10-05 23:09:39 | [Mutex] waiting for: [user_regularaco46b0202@test-domain.com:message:received:content_vjvuz30204] 2020-10-05 23:09:39 | [Mutex] received everything. 2020-10-05 23:09:39 | [Mutex] isItemNotified: user_regularaco46b0202@test-domain.com:message:received:content_vjvuz30204 :: true 2020-10-05 23:09:39 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-05 23:09:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-05 23:09:39 | command: <data><node>node_jj62bx0203</node><expire-at>2020-10-06T06:09:34Z</expire-at><entry><content>content_3l49jq0205</content></entry></data> 2020-10-05 23:09:39 | target: http://localhost:8088 2020-10-05 23:09:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-05 23:09:39 | entity: <data><node>node_jj62bx0203</node><expire-at>2020-10-06T06:09:34Z</expire-at><entry><content>content_3l49jq0205</content></entry></data> 2020-10-05 23:09:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 06:09:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-05 23:09:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ba94b5bf-10db-4bf9-a0e1-b98896b0f7a7</value></item-id></result> 2020-10-05 23:09:39 | contains: true 2020-10-05 23:09:39 | [Mutex] waiting for: [user_regularaco46b0202@test-domain.com:message:received:content_3l49jq0205] 2020-10-05 23:09:54 | [Mutex] timeout. Not received [user_regularaco46b0202@test-domain.com:message:received:content_3l49jq0205] 2020-10-05 23:09:54 | [Mutex] isItemNotified: user_regularaco46b0202@test-domain.com:message:received:content_3l49jq0205 :: false 2020-10-05 23:09:54 | ===== publishing normal message (to offline) 2020-10-05 23:09:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-05 23:09:54 | command: <data><node>node_jj62bx0203</node><entry><content>content_mbv34o0206</content></entry></data> 2020-10-05 23:09:54 | target: http://localhost:8088 2020-10-05 23:09:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-05 23:09:54 | entity: <data><node>node_jj62bx0203</node><entry><content>content_mbv34o0206</content></entry></data> 2020-10-05 23:09:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 06:09:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-05 23:09:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3b945a06-4bd3-44f7-8b7e-576a609db377</value></item-id></result> 2020-10-05 23:09:54 | contains: true 2020-10-05 23:09:59 | [Mutex] waiting for: [user_regularaco46b0202@test-domain.com:message:received:content_mbv34o0206] 2020-10-05 23:09:59 | [Mutex] waiting for: [user_regularaco46b0202@test-domain.com:message:received:content_mbv34o0206] 2020-10-05 23:09:59 | [Mutex] received everything. 2020-10-05 23:09:59 | [Mutex] isItemNotified: user_regularaco46b0202@test-domain.com:message:received:content_mbv34o0206 :: true 2020-10-05 23:09:59 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-05 23:09:59 | [Mutex] received everything. 2020-10-05 23:09:59 | [Mutex] isItemNotified: node_jj62bx0203:subscribe_node:success :: true 2020-10-05 23:09:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-05 23:09:59 | command: <data><node>node_jj62bx0203</node><expire-at>2020-10-06T06:10:04Z</expire-at><entry><content>content_dxfvhe0207</content></entry></data> 2020-10-05 23:09:59 | target: http://localhost:8088 2020-10-05 23:09:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-05 23:09:59 | entity: <data><node>node_jj62bx0203</node><expire-at>2020-10-06T06:10:04Z</expire-at><entry><content>content_dxfvhe0207</content></entry></data> 2020-10-05 23:09:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Oct 2020 06:09:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-05 23:09:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>62db9fbd-34e7-4d23-94f0-db9c2478e991</value></item-id></result> 2020-10-05 23:09:59 | contains: true 2020-10-05 23:10:08 | [Mutex] waiting for: [user_regularaco46b0202@test-domain.com:message:received:content_dxfvhe0207] 2020-10-05 23:10:08 | [Mutex] waiting for: [user_regularaco46b0202@test-domain.com:message:received:content_dxfvhe0207] 2020-10-05 23:10:23 | [Mutex] timeout. Not received [user_regularaco46b0202@test-domain.com:message:received:content_dxfvhe0207] 2020-10-05 23:10:23 | [Mutex] received everything. 2020-10-05 23:10:23 | [Mutex] isItemNotified: user_regularaco46b0202@test-domain.com:message:received:content_dxfvhe0207 :: false 2020-10-05 23:10:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dxfvhe0207 :: true |