Test duration : 45.481s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.636s |
2021-05-05 22:41:43 |
2021-05-05 22:41:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-05 22:41:43 | ------------------------------------ 2021-05-05 22:41:43 | [Mutex] isItemNotified: node_pbpwej0203:exists :: false 2021-05-05 22:41:43 | [Mutex] waiting for: [node_pbpwej0203:create_node] 2021-05-05 22:41:43 | [Mutex] received everything. 2021-05-05 22:41:43 | [Mutex] isItemNotified: node_pbpwej0203:create_node:success :: true 2021-05-05 22:41:43 | [Mutex] waiting for: [node_pbpwej0203:subscribe_node] 2021-05-05 22:41:43 | [Mutex] waiting for: [node_pbpwej0203:subscribe_node] 2021-05-05 22:41:43 | [Mutex] received everything. 2021-05-05 22:41:43 | [Mutex] isItemNotified: node_pbpwej0203:subscribe_node:success :: true 2021-05-05 22:41:43 | ===== publishing normal message (to online) 2021-05-05 22:41:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:41:43 | command: <data><node>node_pbpwej0203</node><entry><content>content_z9xdwc0204</content></entry></data> 2021-05-05 22:41:43 | target: http://localhost:8088 2021-05-05 22:41:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-05 22:41:43 | entity: <data><node>node_pbpwej0203</node><entry><content>content_z9xdwc0204</content></entry></data> 2021-05-05 22:41:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:41:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:41:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2fc6dd74-e913-446c-a1f0-cb52aaa332e3</value></item-id></result> 2021-05-05 22:41:43 | contains: true 2021-05-05 22:41:43 | [Mutex] waiting for: [user_regularsamcjq0202@test-domain.com:message:received:content_z9xdwc0204] 2021-05-05 22:41:43 | [Mutex] received everything. 2021-05-05 22:41:43 | [Mutex] isItemNotified: user_regularsamcjq0202@test-domain.com:message:received:content_z9xdwc0204 :: true 2021-05-05 22:41:43 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-05 22:41:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:41:43 | command: <data><node>node_pbpwej0203</node><expire-at>2021-05-06T05:41:38Z</expire-at><entry><content>content_lk6d3q0205</content></entry></data> 2021-05-05 22:41:43 | target: http://localhost:8088 2021-05-05 22:41:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-05 22:41:43 | entity: <data><node>node_pbpwej0203</node><expire-at>2021-05-06T05:41:38Z</expire-at><entry><content>content_lk6d3q0205</content></entry></data> 2021-05-05 22:41:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:41:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:41:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6a453abf-1fdd-45cf-8fb9-e8a38cad4334</value></item-id></result> 2021-05-05 22:41:43 | contains: true 2021-05-05 22:41:43 | [Mutex] waiting for: [user_regularsamcjq0202@test-domain.com:message:received:content_lk6d3q0205] 2021-05-05 22:41:58 | [Mutex] timeout. Not received [user_regularsamcjq0202@test-domain.com:message:received:content_lk6d3q0205] 2021-05-05 22:41:58 | [Mutex] isItemNotified: user_regularsamcjq0202@test-domain.com:message:received:content_lk6d3q0205 :: false 2021-05-05 22:41:58 | ===== publishing normal message (to offline) 2021-05-05 22:41:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:41:59 | command: <data><node>node_pbpwej0203</node><entry><content>content_uz6rg20206</content></entry></data> 2021-05-05 22:41:59 | target: http://localhost:8088 2021-05-05 22:41:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-05 22:41:59 | entity: <data><node>node_pbpwej0203</node><entry><content>content_uz6rg20206</content></entry></data> 2021-05-05 22:41:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:41:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:41:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>70338ce6-4fa4-450f-921f-b1a8e3267c53</value></item-id></result> 2021-05-05 22:41:59 | contains: true 2021-05-05 22:42:04 | [Mutex] waiting for: [user_regularsamcjq0202@test-domain.com:message:received:content_uz6rg20206] 2021-05-05 22:42:04 | [Mutex] waiting for: [user_regularsamcjq0202@test-domain.com:message:received:content_uz6rg20206] 2021-05-05 22:42:04 | [Mutex] received everything. 2021-05-05 22:42:04 | [Mutex] isItemNotified: user_regularsamcjq0202@test-domain.com:message:received:content_uz6rg20206 :: true 2021-05-05 22:42:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-05 22:42:04 | [Mutex] received everything. 2021-05-05 22:42:04 | [Mutex] isItemNotified: node_pbpwej0203:subscribe_node:success :: true 2021-05-05 22:42:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:42:04 | command: <data><node>node_pbpwej0203</node><expire-at>2021-05-06T05:42:09Z</expire-at><entry><content>content_4poo2o0207</content></entry></data> 2021-05-05 22:42:04 | target: http://localhost:8088 2021-05-05 22:42:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-05 22:42:04 | entity: <data><node>node_pbpwej0203</node><expire-at>2021-05-06T05:42:09Z</expire-at><entry><content>content_4poo2o0207</content></entry></data> 2021-05-05 22:42:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:42:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:42:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cce40e5e-637e-42c5-88f9-8360aae47bad</value></item-id></result> 2021-05-05 22:42:04 | contains: true 2021-05-05 22:42:12 | [Mutex] waiting for: [user_regularsamcjq0202@test-domain.com:message:received:content_4poo2o0207] 2021-05-05 22:42:12 | [Mutex] waiting for: [user_regularsamcjq0202@test-domain.com:message:received:content_4poo2o0207] 2021-05-05 22:42:27 | [Mutex] timeout. Not received [user_regularsamcjq0202@test-domain.com:message:received:content_4poo2o0207] 2021-05-05 22:42:27 | [Mutex] received everything. 2021-05-05 22:42:27 | [Mutex] isItemNotified: user_regularsamcjq0202@test-domain.com:message:received:content_4poo2o0207 :: false 2021-05-05 22:42:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4poo2o0207 :: true |