Test duration : 45.322s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.755s |
2020-10-01 22:43:31 |
2020-10-01 22:43:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-01 22:43:31 | ------------------------------------ 2020-10-01 22:43:31 | [Mutex] isItemNotified: node_o683sd0203:exists :: false 2020-10-01 22:43:31 | [Mutex] waiting for: [node_o683sd0203:create_node] 2020-10-01 22:43:31 | [Mutex] received everything. 2020-10-01 22:43:31 | [Mutex] isItemNotified: node_o683sd0203:create_node:success :: true 2020-10-01 22:43:31 | [Mutex] waiting for: [node_o683sd0203:subscribe_node] 2020-10-01 22:43:31 | [Mutex] waiting for: [node_o683sd0203:subscribe_node] 2020-10-01 22:43:31 | [Mutex] received everything. 2020-10-01 22:43:31 | [Mutex] isItemNotified: node_o683sd0203:subscribe_node:success :: true 2020-10-01 22:43:31 | ===== publishing normal message (to online) 2020-10-01 22:43:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 22:43:31 | command: <data><node>node_o683sd0203</node><entry><content>content_kjorw40204</content></entry></data> 2020-10-01 22:43:31 | target: http://localhost:8088 2020-10-01 22:43:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-01 22:43:31 | entity: <data><node>node_o683sd0203</node><entry><content>content_kjorw40204</content></entry></data> 2020-10-01 22:43:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:43:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 22:43:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6a5f9681-4b89-4cd7-98a9-82f5af8642ac</value></item-id></result> 2020-10-01 22:43:31 | contains: true 2020-10-01 22:43:31 | [Mutex] received everything. 2020-10-01 22:43:31 | [Mutex] isItemNotified: user_regulartntcn80202@test-domain.com:message:received:content_kjorw40204 :: true 2020-10-01 22:43:31 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-01 22:43:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 22:43:31 | command: <data><node>node_o683sd0203</node><expire-at>2020-10-02T05:43:26Z</expire-at><entry><content>content_t0af560205</content></entry></data> 2020-10-01 22:43:31 | target: http://localhost:8088 2020-10-01 22:43:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-01 22:43:31 | entity: <data><node>node_o683sd0203</node><expire-at>2020-10-02T05:43:26Z</expire-at><entry><content>content_t0af560205</content></entry></data> 2020-10-01 22:43:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:43:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 22:43:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>08101494-38a9-4736-9681-d7802c71d350</value></item-id></result> 2020-10-01 22:43:31 | contains: true 2020-10-01 22:43:31 | [Mutex] waiting for: [user_regulartntcn80202@test-domain.com:message:received:content_t0af560205] 2020-10-01 22:43:46 | [Mutex] timeout. Not received [user_regulartntcn80202@test-domain.com:message:received:content_t0af560205] 2020-10-01 22:43:46 | [Mutex] isItemNotified: user_regulartntcn80202@test-domain.com:message:received:content_t0af560205 :: false 2020-10-01 22:43:46 | ===== publishing normal message (to offline) 2020-10-01 22:43:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 22:43:46 | command: <data><node>node_o683sd0203</node><entry><content>content_tss7ad0206</content></entry></data> 2020-10-01 22:43:46 | target: http://localhost:8088 2020-10-01 22:43:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-01 22:43:46 | entity: <data><node>node_o683sd0203</node><entry><content>content_tss7ad0206</content></entry></data> 2020-10-01 22:43:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:43:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 22:43:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>935e5166-7eac-446b-a57f-8b51982fb5dc</value></item-id></result> 2020-10-01 22:43:46 | contains: true 2020-10-01 22:43:51 | [Mutex] waiting for: [user_regulartntcn80202@test-domain.com:message:received:content_tss7ad0206] 2020-10-01 22:43:51 | [Mutex] received everything. 2020-10-01 22:43:51 | [Mutex] isItemNotified: user_regulartntcn80202@test-domain.com:message:received:content_tss7ad0206 :: true 2020-10-01 22:43:51 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-01 22:43:51 | [Mutex] received everything. 2020-10-01 22:43:51 | [Mutex] isItemNotified: node_o683sd0203:subscribe_node:success :: true 2020-10-01 22:43:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 22:43:51 | command: <data><node>node_o683sd0203</node><expire-at>2020-10-02T05:43:56Z</expire-at><entry><content>content_6j62mp0207</content></entry></data> 2020-10-01 22:43:51 | target: http://localhost:8088 2020-10-01 22:43:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-01 22:43:51 | entity: <data><node>node_o683sd0203</node><expire-at>2020-10-02T05:43:56Z</expire-at><entry><content>content_6j62mp0207</content></entry></data> 2020-10-01 22:43:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 05:43:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 22:43:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fb6c1c39-2b0c-46f3-bb65-d846a81b2e2f</value></item-id></result> 2020-10-01 22:43:51 | contains: true 2020-10-01 22:43:59 | [Mutex] waiting for: [user_regulartntcn80202@test-domain.com:message:received:content_6j62mp0207] 2020-10-01 22:44:14 | [Mutex] timeout. Not received [user_regulartntcn80202@test-domain.com:message:received:content_6j62mp0207] 2020-10-01 22:44:14 | [Mutex] received everything. 2020-10-01 22:44:14 | [Mutex] isItemNotified: user_regulartntcn80202@test-domain.com:message:received:content_6j62mp0207 :: false 2020-10-01 22:44:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6j62mp0207 :: true |