Test duration : 46.009s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.768s |
2020-10-21 22:43:56 |
2020-10-21 22:43:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-21 22:43:56 | ------------------------------------ 2020-10-21 22:43:56 | [Mutex] isItemNotified: node_q4v98g0203:exists :: false 2020-10-21 22:43:56 | [Mutex] waiting for: [node_q4v98g0203:create_node] 2020-10-21 22:43:56 | [Mutex] received everything. 2020-10-21 22:43:56 | [Mutex] isItemNotified: node_q4v98g0203:create_node:success :: true 2020-10-21 22:43:56 | [Mutex] waiting for: [node_q4v98g0203:subscribe_node] 2020-10-21 22:43:56 | [Mutex] waiting for: [node_q4v98g0203:subscribe_node] 2020-10-21 22:43:56 | [Mutex] received everything. 2020-10-21 22:43:56 | [Mutex] isItemNotified: node_q4v98g0203:subscribe_node:success :: true 2020-10-21 22:43:56 | ===== publishing normal message (to online) 2020-10-21 22:43:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:43:56 | command: <data><node>node_q4v98g0203</node><entry><content>content_pfj1kd0204</content></entry></data> 2020-10-21 22:43:56 | target: http://localhost:8088 2020-10-21 22:43:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-21 22:43:56 | entity: <data><node>node_q4v98g0203</node><entry><content>content_pfj1kd0204</content></entry></data> 2020-10-21 22:43:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:43:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:43:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e2dd5ed1-bb24-4e8e-8a12-e8c3160bfd54</value></item-id></result> 2020-10-21 22:43:56 | contains: true 2020-10-21 22:43:56 | [Mutex] received everything. 2020-10-21 22:43:56 | [Mutex] isItemNotified: user_regularx6hvji0202@test-domain.com:message:received:content_pfj1kd0204 :: true 2020-10-21 22:43:56 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-21 22:43:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:43:56 | command: <data><node>node_q4v98g0203</node><expire-at>2020-10-22T05:43:51Z</expire-at><entry><content>content_gx3g510205</content></entry></data> 2020-10-21 22:43:56 | target: http://localhost:8088 2020-10-21 22:43:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-21 22:43:56 | entity: <data><node>node_q4v98g0203</node><expire-at>2020-10-22T05:43:51Z</expire-at><entry><content>content_gx3g510205</content></entry></data> 2020-10-21 22:43:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:43:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:43:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8fb1059f-a280-4209-88d9-e17cd6108c82</value></item-id></result> 2020-10-21 22:43:56 | contains: true 2020-10-21 22:43:56 | [Mutex] waiting for: [user_regularx6hvji0202@test-domain.com:message:received:content_gx3g510205] 2020-10-21 22:44:11 | [Mutex] timeout. Not received [user_regularx6hvji0202@test-domain.com:message:received:content_gx3g510205] 2020-10-21 22:44:11 | [Mutex] isItemNotified: user_regularx6hvji0202@test-domain.com:message:received:content_gx3g510205 :: false 2020-10-21 22:44:11 | ===== publishing normal message (to offline) 2020-10-21 22:44:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:44:11 | command: <data><node>node_q4v98g0203</node><entry><content>content_oqox540206</content></entry></data> 2020-10-21 22:44:11 | target: http://localhost:8088 2020-10-21 22:44:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-21 22:44:11 | entity: <data><node>node_q4v98g0203</node><entry><content>content_oqox540206</content></entry></data> 2020-10-21 22:44:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:44:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:44:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>be7b6057-b9bc-49cc-b4cc-20ec38f4915d</value></item-id></result> 2020-10-21 22:44:11 | contains: true 2020-10-21 22:44:16 | [Mutex] waiting for: [user_regularx6hvji0202@test-domain.com:message:received:content_oqox540206] 2020-10-21 22:44:16 | [Mutex] waiting for: [user_regularx6hvji0202@test-domain.com:message:received:content_oqox540206] 2020-10-21 22:44:16 | [Mutex] received everything. 2020-10-21 22:44:16 | [Mutex] isItemNotified: user_regularx6hvji0202@test-domain.com:message:received:content_oqox540206 :: true 2020-10-21 22:44:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-21 22:44:16 | [Mutex] received everything. 2020-10-21 22:44:16 | [Mutex] isItemNotified: node_q4v98g0203:subscribe_node:success :: true 2020-10-21 22:44:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-21 22:44:16 | command: <data><node>node_q4v98g0203</node><expire-at>2020-10-22T05:44:21Z</expire-at><entry><content>content_iqqzel0207</content></entry></data> 2020-10-21 22:44:16 | target: http://localhost:8088 2020-10-21 22:44:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-21 22:44:16 | entity: <data><node>node_q4v98g0203</node><expire-at>2020-10-22T05:44:21Z</expire-at><entry><content>content_iqqzel0207</content></entry></data> 2020-10-21 22:44:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Oct 2020 05:44:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-21 22:44:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f4a3efeb-0a35-4acc-8179-56a963eab0fd</value></item-id></result> 2020-10-21 22:44:16 | contains: true 2020-10-21 22:44:25 | [Mutex] waiting for: [user_regularx6hvji0202@test-domain.com:message:received:content_iqqzel0207] 2020-10-21 22:44:25 | [Mutex] waiting for: [user_regularx6hvji0202@test-domain.com:message:received:content_iqqzel0207] 2020-10-21 22:44:25 | [Mutex] waiting for: [user_regularx6hvji0202@test-domain.com:message:received:content_iqqzel0207] 2020-10-21 22:44:40 | [Mutex] timeout. Not received [user_regularx6hvji0202@test-domain.com:message:received:content_iqqzel0207] 2020-10-21 22:44:40 | [Mutex] received everything. 2020-10-21 22:44:40 | [Mutex] isItemNotified: user_regularx6hvji0202@test-domain.com:message:received:content_iqqzel0207 :: false 2020-10-21 22:44:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_iqqzel0207 :: true |