Test duration : 45.364s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.790s |
2021-09-28 22:43:09 |
2021-09-28 22:43:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-28 22:43:09 | ------------------------------------ 2021-09-28 22:43:09 | [Mutex] isItemNotified: node_y6jgss0203:exists :: false 2021-09-28 22:43:09 | [Mutex] waiting for: [node_y6jgss0203:create_node] 2021-09-28 22:43:09 | [Mutex] received everything. 2021-09-28 22:43:09 | [Mutex] isItemNotified: node_y6jgss0203:create_node:success :: true 2021-09-28 22:43:09 | [Mutex] waiting for: [node_y6jgss0203:subscribe_node] 2021-09-28 22:43:09 | [Mutex] waiting for: [node_y6jgss0203:subscribe_node] 2021-09-28 22:43:09 | [Mutex] received everything. 2021-09-28 22:43:09 | [Mutex] isItemNotified: node_y6jgss0203:subscribe_node:success :: true 2021-09-28 22:43:09 | ===== publishing normal message (to online) 2021-09-28 22:43:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 22:43:09 | command: <data><node>node_y6jgss0203</node><entry><content>content_34xjrm0204</content></entry></data> 2021-09-28 22:43:09 | target: http://localhost:8088 2021-09-28 22:43:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-28 22:43:09 | entity: <data><node>node_y6jgss0203</node><entry><content>content_34xjrm0204</content></entry></data> 2021-09-28 22:43:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:43:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 22:43:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b3c95921-f820-4529-91b8-92c2f3928585</value></item-id></result> 2021-09-28 22:43:09 | contains: true 2021-09-28 22:43:09 | [Mutex] waiting for: [user_regular5gpxgg0202@test-domain.com:message:received:content_34xjrm0204] 2021-09-28 22:43:09 | [Mutex] received everything. 2021-09-28 22:43:09 | [Mutex] isItemNotified: user_regular5gpxgg0202@test-domain.com:message:received:content_34xjrm0204 :: true 2021-09-28 22:43:09 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-28 22:43:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 22:43:09 | command: <data><node>node_y6jgss0203</node><expire-at>2021-09-29T05:43:04Z</expire-at><entry><content>content_2bxdsi0205</content></entry></data> 2021-09-28 22:43:09 | target: http://localhost:8088 2021-09-28 22:43:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-28 22:43:09 | entity: <data><node>node_y6jgss0203</node><expire-at>2021-09-29T05:43:04Z</expire-at><entry><content>content_2bxdsi0205</content></entry></data> 2021-09-28 22:43:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:43:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 22:43:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>34daa7a2-1bb8-4555-aa5f-c3700c4a52da</value></item-id></result> 2021-09-28 22:43:09 | contains: true 2021-09-28 22:43:09 | [Mutex] waiting for: [user_regular5gpxgg0202@test-domain.com:message:received:content_2bxdsi0205] 2021-09-28 22:43:24 | [Mutex] timeout. Not received [user_regular5gpxgg0202@test-domain.com:message:received:content_2bxdsi0205] 2021-09-28 22:43:24 | [Mutex] isItemNotified: user_regular5gpxgg0202@test-domain.com:message:received:content_2bxdsi0205 :: false 2021-09-28 22:43:24 | ===== publishing normal message (to offline) 2021-09-28 22:43:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 22:43:25 | command: <data><node>node_y6jgss0203</node><entry><content>content_z4d2hz0206</content></entry></data> 2021-09-28 22:43:25 | target: http://localhost:8088 2021-09-28 22:43:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-28 22:43:25 | entity: <data><node>node_y6jgss0203</node><entry><content>content_z4d2hz0206</content></entry></data> 2021-09-28 22:43:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:43:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 22:43:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4027b619-6f54-4529-8f90-bf1ba045e838</value></item-id></result> 2021-09-28 22:43:25 | contains: true 2021-09-28 22:43:30 | [Mutex] waiting for: [user_regular5gpxgg0202@test-domain.com:message:received:content_z4d2hz0206] 2021-09-28 22:43:30 | [Mutex] waiting for: [user_regular5gpxgg0202@test-domain.com:message:received:content_z4d2hz0206] 2021-09-28 22:43:30 | [Mutex] received everything. 2021-09-28 22:43:30 | [Mutex] isItemNotified: user_regular5gpxgg0202@test-domain.com:message:received:content_z4d2hz0206 :: true 2021-09-28 22:43:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-28 22:43:30 | [Mutex] received everything. 2021-09-28 22:43:30 | [Mutex] isItemNotified: node_y6jgss0203:subscribe_node:success :: true 2021-09-28 22:43:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-28 22:43:30 | command: <data><node>node_y6jgss0203</node><expire-at>2021-09-29T05:43:35Z</expire-at><entry><content>content_20s3210207</content></entry></data> 2021-09-28 22:43:30 | target: http://localhost:8088 2021-09-28 22:43:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-28 22:43:30 | entity: <data><node>node_y6jgss0203</node><expire-at>2021-09-29T05:43:35Z</expire-at><entry><content>content_20s3210207</content></entry></data> 2021-09-28 22:43:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 29 Sep 2021 05:43:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-28 22:43:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>82e0e54d-9014-4fcc-889d-c9957d94602d</value></item-id></result> 2021-09-28 22:43:30 | contains: true 2021-09-28 22:43:38 | [Mutex] waiting for: [user_regular5gpxgg0202@test-domain.com:message:received:content_20s3210207] 2021-09-28 22:43:38 | [Mutex] waiting for: [user_regular5gpxgg0202@test-domain.com:message:received:content_20s3210207] 2021-09-28 22:43:53 | [Mutex] timeout. Not received [user_regular5gpxgg0202@test-domain.com:message:received:content_20s3210207] 2021-09-28 22:43:53 | [Mutex] received everything. 2021-09-28 22:43:53 | [Mutex] isItemNotified: user_regular5gpxgg0202@test-domain.com:message:received:content_20s3210207 :: false 2021-09-28 22:43:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_20s3210207 :: true |