Test duration : 45.063s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.661s |
2021-04-25 22:58:12 |
2021-04-25 22:58:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-25 22:58:12 | ------------------------------------ 2021-04-25 22:58:12 | [Mutex] isItemNotified: node_mzt6rd0203:exists :: false 2021-04-25 22:58:12 | [Mutex] waiting for: [node_mzt6rd0203:create_node] 2021-04-25 22:58:12 | [Mutex] received everything. 2021-04-25 22:58:12 | [Mutex] isItemNotified: node_mzt6rd0203:create_node:success :: true 2021-04-25 22:58:12 | [Mutex] waiting for: [node_mzt6rd0203:subscribe_node] 2021-04-25 22:58:12 | [Mutex] waiting for: [node_mzt6rd0203:subscribe_node] 2021-04-25 22:58:12 | [Mutex] received everything. 2021-04-25 22:58:12 | [Mutex] isItemNotified: node_mzt6rd0203:subscribe_node:success :: true 2021-04-25 22:58:12 | ===== publishing normal message (to online) 2021-04-25 22:58:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-25 22:58:12 | command: <data><node>node_mzt6rd0203</node><entry><content>content_fhyz9y0204</content></entry></data> 2021-04-25 22:58:12 | target: http://localhost:8088 2021-04-25 22:58:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-25 22:58:12 | entity: <data><node>node_mzt6rd0203</node><entry><content>content_fhyz9y0204</content></entry></data> 2021-04-25 22:58:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:58:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-25 22:58:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>734697b5-fd82-4362-bbd1-d770dbecd95d</value></item-id></result> 2021-04-25 22:58:12 | contains: true 2021-04-25 22:58:12 | [Mutex] received everything. 2021-04-25 22:58:12 | [Mutex] isItemNotified: user_regular1phiu50202@test-domain.com:message:received:content_fhyz9y0204 :: true 2021-04-25 22:58:12 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-25 22:58:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-25 22:58:12 | command: <data><node>node_mzt6rd0203</node><expire-at>2021-04-26T05:58:07Z</expire-at><entry><content>content_ke5uut0205</content></entry></data> 2021-04-25 22:58:12 | target: http://localhost:8088 2021-04-25 22:58:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-25 22:58:12 | entity: <data><node>node_mzt6rd0203</node><expire-at>2021-04-26T05:58:07Z</expire-at><entry><content>content_ke5uut0205</content></entry></data> 2021-04-25 22:58:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:58:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-25 22:58:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ebfe70e5-8b6c-4956-a7c7-dd05f5c871e3</value></item-id></result> 2021-04-25 22:58:12 | contains: true 2021-04-25 22:58:12 | [Mutex] waiting for: [user_regular1phiu50202@test-domain.com:message:received:content_ke5uut0205] 2021-04-25 22:58:27 | [Mutex] timeout. Not received [user_regular1phiu50202@test-domain.com:message:received:content_ke5uut0205] 2021-04-25 22:58:27 | [Mutex] isItemNotified: user_regular1phiu50202@test-domain.com:message:received:content_ke5uut0205 :: false 2021-04-25 22:58:27 | ===== publishing normal message (to offline) 2021-04-25 22:58:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-25 22:58:27 | command: <data><node>node_mzt6rd0203</node><entry><content>content_epxj040206</content></entry></data> 2021-04-25 22:58:27 | target: http://localhost:8088 2021-04-25 22:58:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-25 22:58:27 | entity: <data><node>node_mzt6rd0203</node><entry><content>content_epxj040206</content></entry></data> 2021-04-25 22:58:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:58:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-25 22:58:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c57bdb51-c3dc-40ac-a383-3a9f2fce6e47</value></item-id></result> 2021-04-25 22:58:27 | contains: true 2021-04-25 22:58:32 | [Mutex] waiting for: [user_regular1phiu50202@test-domain.com:message:received:content_epxj040206] 2021-04-25 22:58:32 | [Mutex] waiting for: [user_regular1phiu50202@test-domain.com:message:received:content_epxj040206] 2021-04-25 22:58:32 | [Mutex] received everything. 2021-04-25 22:58:32 | [Mutex] isItemNotified: user_regular1phiu50202@test-domain.com:message:received:content_epxj040206 :: true 2021-04-25 22:58:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-25 22:58:32 | [Mutex] received everything. 2021-04-25 22:58:32 | [Mutex] isItemNotified: node_mzt6rd0203:subscribe_node:success :: true 2021-04-25 22:58:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-25 22:58:32 | command: <data><node>node_mzt6rd0203</node><expire-at>2021-04-26T05:58:37Z</expire-at><entry><content>content_tzku600207</content></entry></data> 2021-04-25 22:58:32 | target: http://localhost:8088 2021-04-25 22:58:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-25 22:58:32 | entity: <data><node>node_mzt6rd0203</node><expire-at>2021-04-26T05:58:37Z</expire-at><entry><content>content_tzku600207</content></entry></data> 2021-04-25 22:58:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:58:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-25 22:58:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3e798d5-4eb3-415f-9fd9-39eeb88510b4</value></item-id></result> 2021-04-25 22:58:32 | contains: true 2021-04-25 22:58:40 | [Mutex] waiting for: [user_regular1phiu50202@test-domain.com:message:received:content_tzku600207] 2021-04-25 22:58:40 | [Mutex] waiting for: [user_regular1phiu50202@test-domain.com:message:received:content_tzku600207] 2021-04-25 22:58:40 | [Mutex] waiting for: [user_regular1phiu50202@test-domain.com:message:received:content_tzku600207] 2021-04-25 22:58:55 | [Mutex] timeout. Not received [user_regular1phiu50202@test-domain.com:message:received:content_tzku600207] 2021-04-25 22:58:55 | [Mutex] received everything. 2021-04-25 22:58:55 | [Mutex] isItemNotified: user_regular1phiu50202@test-domain.com:message:received:content_tzku600207 :: false 2021-04-25 22:58:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tzku600207 :: true |