Test duration : 45.413s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.716s |
2021-09-13 22:31:51 |
2021-09-13 22:31:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-13 22:31:51 | ------------------------------------ 2021-09-13 22:31:51 | [Mutex] isItemNotified: node_te837c0203:exists :: false 2021-09-13 22:31:51 | [Mutex] waiting for: [node_te837c0203:create_node] 2021-09-13 22:31:51 | [Mutex] received everything. 2021-09-13 22:31:51 | [Mutex] isItemNotified: node_te837c0203:create_node:success :: true 2021-09-13 22:31:51 | [Mutex] waiting for: [node_te837c0203:subscribe_node] 2021-09-13 22:31:51 | [Mutex] received everything. 2021-09-13 22:31:51 | [Mutex] isItemNotified: node_te837c0203:subscribe_node:success :: true 2021-09-13 22:31:51 | ===== publishing normal message (to online) 2021-09-13 22:31:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 22:31:51 | command: <data><node>node_te837c0203</node><entry><content>content_fpg1ps0204</content></entry></data> 2021-09-13 22:31:51 | target: http://localhost:8088 2021-09-13 22:31:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-13 22:31:51 | entity: <data><node>node_te837c0203</node><entry><content>content_fpg1ps0204</content></entry></data> 2021-09-13 22:31:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:31:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 22:31:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b22ac289-e1d2-43fb-ad0e-6053e7aca6aa</value></item-id></result> 2021-09-13 22:31:51 | contains: true 2021-09-13 22:31:51 | [Mutex] received everything. 2021-09-13 22:31:51 | [Mutex] isItemNotified: user_regularo802mm0202@test-domain.com:message:received:content_fpg1ps0204 :: true 2021-09-13 22:31:51 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-13 22:31:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 22:31:51 | command: <data><node>node_te837c0203</node><expire-at>2021-09-14T05:31:46Z</expire-at><entry><content>content_pqlnm60205</content></entry></data> 2021-09-13 22:31:51 | target: http://localhost:8088 2021-09-13 22:31:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-13 22:31:51 | entity: <data><node>node_te837c0203</node><expire-at>2021-09-14T05:31:46Z</expire-at><entry><content>content_pqlnm60205</content></entry></data> 2021-09-13 22:31:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:31:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 22:31:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1762a7cb-d1e5-41f0-8e9f-802cea94faff</value></item-id></result> 2021-09-13 22:31:51 | contains: true 2021-09-13 22:31:51 | [Mutex] waiting for: [user_regularo802mm0202@test-domain.com:message:received:content_pqlnm60205] 2021-09-13 22:32:06 | [Mutex] timeout. Not received [user_regularo802mm0202@test-domain.com:message:received:content_pqlnm60205] 2021-09-13 22:32:06 | [Mutex] isItemNotified: user_regularo802mm0202@test-domain.com:message:received:content_pqlnm60205 :: false 2021-09-13 22:32:06 | ===== publishing normal message (to offline) 2021-09-13 22:32:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 22:32:06 | command: <data><node>node_te837c0203</node><entry><content>content_v0ci8k0206</content></entry></data> 2021-09-13 22:32:06 | target: http://localhost:8088 2021-09-13 22:32:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-13 22:32:06 | entity: <data><node>node_te837c0203</node><entry><content>content_v0ci8k0206</content></entry></data> 2021-09-13 22:32:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:32:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 22:32:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8dc8ff13-ae63-4b3a-9dba-5e2bdcd53956</value></item-id></result> 2021-09-13 22:32:06 | contains: true 2021-09-13 22:32:11 | [Mutex] waiting for: [user_regularo802mm0202@test-domain.com:message:received:content_v0ci8k0206] 2021-09-13 22:32:11 | [Mutex] waiting for: [user_regularo802mm0202@test-domain.com:message:received:content_v0ci8k0206] 2021-09-13 22:32:11 | [Mutex] received everything. 2021-09-13 22:32:11 | [Mutex] isItemNotified: user_regularo802mm0202@test-domain.com:message:received:content_v0ci8k0206 :: true 2021-09-13 22:32:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-13 22:32:11 | [Mutex] received everything. 2021-09-13 22:32:11 | [Mutex] isItemNotified: node_te837c0203:subscribe_node:success :: true 2021-09-13 22:32:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-13 22:32:11 | command: <data><node>node_te837c0203</node><expire-at>2021-09-14T05:32:16Z</expire-at><entry><content>content_egqkpj0207</content></entry></data> 2021-09-13 22:32:11 | target: http://localhost:8088 2021-09-13 22:32:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-13 22:32:11 | entity: <data><node>node_te837c0203</node><expire-at>2021-09-14T05:32:16Z</expire-at><entry><content>content_egqkpj0207</content></entry></data> 2021-09-13 22:32:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 14 Sep 2021 05:32:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-13 22:32:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>584e93e1-f0ae-40ea-9fe9-664c9c69cd7c</value></item-id></result> 2021-09-13 22:32:11 | contains: true 2021-09-13 22:32:19 | [Mutex] waiting for: [user_regularo802mm0202@test-domain.com:message:received:content_egqkpj0207] 2021-09-13 22:32:19 | [Mutex] waiting for: [user_regularo802mm0202@test-domain.com:message:received:content_egqkpj0207] 2021-09-13 22:32:19 | [Mutex] waiting for: [user_regularo802mm0202@test-domain.com:message:received:content_egqkpj0207] 2021-09-13 22:32:34 | [Mutex] timeout. Not received [user_regularo802mm0202@test-domain.com:message:received:content_egqkpj0207] 2021-09-13 22:32:34 | [Mutex] received everything. 2021-09-13 22:32:34 | [Mutex] isItemNotified: user_regularo802mm0202@test-domain.com:message:received:content_egqkpj0207 :: false 2021-09-13 22:32:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_egqkpj0207 :: true |