Test duration : 45.434s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.663s |
2021-05-09 22:31:28 |
2021-05-09 22:31:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-09 22:31:28 | ------------------------------------ 2021-05-09 22:31:28 | [Mutex] isItemNotified: node_inf2h30203:exists :: false 2021-05-09 22:31:28 | [Mutex] waiting for: [node_inf2h30203:create_node] 2021-05-09 22:31:28 | [Mutex] received everything. 2021-05-09 22:31:28 | [Mutex] isItemNotified: node_inf2h30203:create_node:success :: true 2021-05-09 22:31:28 | [Mutex] waiting for: [node_inf2h30203:subscribe_node] 2021-05-09 22:31:28 | [Mutex] waiting for: [node_inf2h30203:subscribe_node] 2021-05-09 22:31:28 | [Mutex] received everything. 2021-05-09 22:31:28 | [Mutex] isItemNotified: node_inf2h30203:subscribe_node:success :: true 2021-05-09 22:31:28 | ===== publishing normal message (to online) 2021-05-09 22:31:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-09 22:31:28 | command: <data><node>node_inf2h30203</node><entry><content>content_i8ab8l0204</content></entry></data> 2021-05-09 22:31:28 | target: http://localhost:8088 2021-05-09 22:31:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-09 22:31:28 | entity: <data><node>node_inf2h30203</node><entry><content>content_i8ab8l0204</content></entry></data> 2021-05-09 22:31:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:31:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-09 22:31:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2e51857f-323e-4788-b7eb-a9c3fe51b10e</value></item-id></result> 2021-05-09 22:31:28 | contains: true 2021-05-09 22:31:28 | [Mutex] received everything. 2021-05-09 22:31:28 | [Mutex] isItemNotified: user_regularjjlyus0202@test-domain.com:message:received:content_i8ab8l0204 :: true 2021-05-09 22:31:28 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-09 22:31:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-09 22:31:28 | command: <data><node>node_inf2h30203</node><expire-at>2021-05-10T05:31:23Z</expire-at><entry><content>content_8sjkc50205</content></entry></data> 2021-05-09 22:31:28 | target: http://localhost:8088 2021-05-09 22:31:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-09 22:31:28 | entity: <data><node>node_inf2h30203</node><expire-at>2021-05-10T05:31:23Z</expire-at><entry><content>content_8sjkc50205</content></entry></data> 2021-05-09 22:31:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:31:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-09 22:31:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6f8644ae-1fa6-4fe6-b722-979e62c00671</value></item-id></result> 2021-05-09 22:31:28 | contains: true 2021-05-09 22:31:28 | [Mutex] waiting for: [user_regularjjlyus0202@test-domain.com:message:received:content_8sjkc50205] 2021-05-09 22:31:43 | [Mutex] timeout. Not received [user_regularjjlyus0202@test-domain.com:message:received:content_8sjkc50205] 2021-05-09 22:31:43 | [Mutex] isItemNotified: user_regularjjlyus0202@test-domain.com:message:received:content_8sjkc50205 :: false 2021-05-09 22:31:43 | ===== publishing normal message (to offline) 2021-05-09 22:31:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-09 22:31:43 | command: <data><node>node_inf2h30203</node><entry><content>content_ul7cvf0206</content></entry></data> 2021-05-09 22:31:43 | target: http://localhost:8088 2021-05-09 22:31:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-09 22:31:43 | entity: <data><node>node_inf2h30203</node><entry><content>content_ul7cvf0206</content></entry></data> 2021-05-09 22:31:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:31:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-09 22:31:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d0ae56e9-28ba-4f16-a6bf-5547d7f2f7f3</value></item-id></result> 2021-05-09 22:31:43 | contains: true 2021-05-09 22:31:48 | [Mutex] waiting for: [user_regularjjlyus0202@test-domain.com:message:received:content_ul7cvf0206] 2021-05-09 22:31:48 | [Mutex] received everything. 2021-05-09 22:31:48 | [Mutex] isItemNotified: user_regularjjlyus0202@test-domain.com:message:received:content_ul7cvf0206 :: true 2021-05-09 22:31:48 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-09 22:31:48 | [Mutex] received everything. 2021-05-09 22:31:48 | [Mutex] isItemNotified: node_inf2h30203:subscribe_node:success :: true 2021-05-09 22:31:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-09 22:31:48 | command: <data><node>node_inf2h30203</node><expire-at>2021-05-10T05:31:53Z</expire-at><entry><content>content_4rxcsq0207</content></entry></data> 2021-05-09 22:31:48 | target: http://localhost:8088 2021-05-09 22:31:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-09 22:31:48 | entity: <data><node>node_inf2h30203</node><expire-at>2021-05-10T05:31:53Z</expire-at><entry><content>content_4rxcsq0207</content></entry></data> 2021-05-09 22:31:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 05:31:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-09 22:31:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c4b64250-3c45-4008-8553-6a02c9b53f12</value></item-id></result> 2021-05-09 22:31:48 | contains: true 2021-05-09 22:31:57 | [Mutex] waiting for: [user_regularjjlyus0202@test-domain.com:message:received:content_4rxcsq0207] 2021-05-09 22:31:57 | [Mutex] waiting for: [user_regularjjlyus0202@test-domain.com:message:received:content_4rxcsq0207] 2021-05-09 22:32:12 | [Mutex] timeout. Not received [user_regularjjlyus0202@test-domain.com:message:received:content_4rxcsq0207] 2021-05-09 22:32:12 | [Mutex] received everything. 2021-05-09 22:32:12 | [Mutex] isItemNotified: user_regularjjlyus0202@test-domain.com:message:received:content_4rxcsq0207 :: false 2021-05-09 22:32:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4rxcsq0207 :: true |