Test duration : 45.289s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.655s |
2021-03-21 22:30:49 |
2021-03-21 22:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-21 22:30:49 | ------------------------------------ 2021-03-21 22:30:49 | [Mutex] isItemNotified: node_2o9c1m0203:exists :: false 2021-03-21 22:30:49 | [Mutex] waiting for: [node_2o9c1m0203:create_node] 2021-03-21 22:30:49 | [Mutex] received everything. 2021-03-21 22:30:49 | [Mutex] isItemNotified: node_2o9c1m0203:create_node:success :: true 2021-03-21 22:30:49 | [Mutex] waiting for: [node_2o9c1m0203:subscribe_node] 2021-03-21 22:30:49 | [Mutex] received everything. 2021-03-21 22:30:49 | [Mutex] isItemNotified: node_2o9c1m0203:subscribe_node:success :: true 2021-03-21 22:30:49 | ===== publishing normal message (to online) 2021-03-21 22:30:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:30:49 | command: <data><node>node_2o9c1m0203</node><entry><content>content_k2ziq20204</content></entry></data> 2021-03-21 22:30:49 | target: http://localhost:8088 2021-03-21 22:30:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-21 22:30:49 | entity: <data><node>node_2o9c1m0203</node><entry><content>content_k2ziq20204</content></entry></data> 2021-03-21 22:30:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:30:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:30:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cd075d71-116f-423e-a3ec-110b5ae64a46</value></item-id></result> 2021-03-21 22:30:49 | contains: true 2021-03-21 22:30:49 | [Mutex] received everything. 2021-03-21 22:30:49 | [Mutex] isItemNotified: user_regularcu30fq0202@test-domain.com:message:received:content_k2ziq20204 :: true 2021-03-21 22:30:49 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-21 22:30:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:30:49 | command: <data><node>node_2o9c1m0203</node><expire-at>2021-03-22T05:30:44Z</expire-at><entry><content>content_kuzxje0205</content></entry></data> 2021-03-21 22:30:49 | target: http://localhost:8088 2021-03-21 22:30:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-21 22:30:49 | entity: <data><node>node_2o9c1m0203</node><expire-at>2021-03-22T05:30:44Z</expire-at><entry><content>content_kuzxje0205</content></entry></data> 2021-03-21 22:30:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:30:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:30:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>229a9e42-5f27-4c08-8175-70485439235d</value></item-id></result> 2021-03-21 22:30:49 | contains: true 2021-03-21 22:30:49 | [Mutex] waiting for: [user_regularcu30fq0202@test-domain.com:message:received:content_kuzxje0205] 2021-03-21 22:31:04 | [Mutex] timeout. Not received [user_regularcu30fq0202@test-domain.com:message:received:content_kuzxje0205] 2021-03-21 22:31:04 | [Mutex] isItemNotified: user_regularcu30fq0202@test-domain.com:message:received:content_kuzxje0205 :: false 2021-03-21 22:31:04 | ===== publishing normal message (to offline) 2021-03-21 22:31:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:31:04 | command: <data><node>node_2o9c1m0203</node><entry><content>content_ikdfwy0206</content></entry></data> 2021-03-21 22:31:04 | target: http://localhost:8088 2021-03-21 22:31:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-21 22:31:04 | entity: <data><node>node_2o9c1m0203</node><entry><content>content_ikdfwy0206</content></entry></data> 2021-03-21 22:31:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:31:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:31:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>97e86c43-5326-4170-bcf6-cd8663a7fe3d</value></item-id></result> 2021-03-21 22:31:05 | contains: true 2021-03-21 22:31:10 | [Mutex] waiting for: [user_regularcu30fq0202@test-domain.com:message:received:content_ikdfwy0206] 2021-03-21 22:31:10 | [Mutex] waiting for: [user_regularcu30fq0202@test-domain.com:message:received:content_ikdfwy0206] 2021-03-21 22:31:10 | [Mutex] received everything. 2021-03-21 22:31:10 | [Mutex] isItemNotified: user_regularcu30fq0202@test-domain.com:message:received:content_ikdfwy0206 :: true 2021-03-21 22:31:10 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-21 22:31:10 | [Mutex] received everything. 2021-03-21 22:31:10 | [Mutex] isItemNotified: node_2o9c1m0203:subscribe_node:success :: true 2021-03-21 22:31:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-21 22:31:10 | command: <data><node>node_2o9c1m0203</node><expire-at>2021-03-22T05:31:15Z</expire-at><entry><content>content_2z4j110207</content></entry></data> 2021-03-21 22:31:10 | target: http://localhost:8088 2021-03-21 22:31:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-21 22:31:10 | entity: <data><node>node_2o9c1m0203</node><expire-at>2021-03-22T05:31:15Z</expire-at><entry><content>content_2z4j110207</content></entry></data> 2021-03-21 22:31:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 22 Mar 2021 05:31:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-21 22:31:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a56971cc-75f3-4629-9cf9-019b9cfc4517</value></item-id></result> 2021-03-21 22:31:10 | contains: true 2021-03-21 22:31:18 | [Mutex] waiting for: [user_regularcu30fq0202@test-domain.com:message:received:content_2z4j110207] 2021-03-21 22:31:18 | [Mutex] waiting for: [user_regularcu30fq0202@test-domain.com:message:received:content_2z4j110207] 2021-03-21 22:31:33 | [Mutex] timeout. Not received [user_regularcu30fq0202@test-domain.com:message:received:content_2z4j110207] 2021-03-21 22:31:33 | [Mutex] received everything. 2021-03-21 22:31:33 | [Mutex] isItemNotified: user_regularcu30fq0202@test-domain.com:message:received:content_2z4j110207 :: false 2021-03-21 22:31:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2z4j110207 :: true |