Test duration : 44.922s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.662s |
2021-04-25 22:56:57 |
2021-04-25 22:56:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-25 22:56:57 | ------------------------------------ 2021-04-25 22:56:57 | [Mutex] isItemNotified: node_ugluy00203:exists :: false 2021-04-25 22:56:57 | [Mutex] waiting for: [node_ugluy00203:create_node] 2021-04-25 22:56:57 | [Mutex] received everything. 2021-04-25 22:56:57 | [Mutex] isItemNotified: node_ugluy00203:create_node:success :: true 2021-04-25 22:56:57 | [Mutex] waiting for: [node_ugluy00203:subscribe_node] 2021-04-25 22:56:57 | [Mutex] waiting for: [node_ugluy00203:subscribe_node] 2021-04-25 22:56:57 | [Mutex] received everything. 2021-04-25 22:56:57 | [Mutex] isItemNotified: node_ugluy00203:subscribe_node:success :: true 2021-04-25 22:56:57 | ===== publishing normal message (to online) 2021-04-25 22:56:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-25 22:56:57 | command: <data><node>node_ugluy00203</node><entry><content>content_i3r3ce0204</content></entry></data> 2021-04-25 22:56:57 | target: http://localhost:8088 2021-04-25 22:56:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-25 22:56:57 | entity: <data><node>node_ugluy00203</node><entry><content>content_i3r3ce0204</content></entry></data> 2021-04-25 22:56:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:56:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-25 22:56:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a8800743-5fbd-4c35-af55-8068efc5614f</value></item-id></result> 2021-04-25 22:56:57 | contains: true 2021-04-25 22:56:57 | [Mutex] waiting for: [user_regularck34ih0202@test-domain.com:message:received:content_i3r3ce0204] 2021-04-25 22:56:57 | [Mutex] received everything. 2021-04-25 22:56:57 | [Mutex] isItemNotified: user_regularck34ih0202@test-domain.com:message:received:content_i3r3ce0204 :: true 2021-04-25 22:56:57 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-25 22:56:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-25 22:56:57 | command: <data><node>node_ugluy00203</node><expire-at>2021-04-26T05:56:52Z</expire-at><entry><content>content_fq2dx50205</content></entry></data> 2021-04-25 22:56:57 | target: http://localhost:8088 2021-04-25 22:56:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-25 22:56:57 | entity: <data><node>node_ugluy00203</node><expire-at>2021-04-26T05:56:52Z</expire-at><entry><content>content_fq2dx50205</content></entry></data> 2021-04-25 22:56:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:56:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-25 22:56:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e76cca6b-35d4-46bc-ac52-70b64f200bf0</value></item-id></result> 2021-04-25 22:56:57 | contains: true 2021-04-25 22:56:57 | [Mutex] waiting for: [user_regularck34ih0202@test-domain.com:message:received:content_fq2dx50205] 2021-04-25 22:57:12 | [Mutex] timeout. Not received [user_regularck34ih0202@test-domain.com:message:received:content_fq2dx50205] 2021-04-25 22:57:12 | [Mutex] isItemNotified: user_regularck34ih0202@test-domain.com:message:received:content_fq2dx50205 :: false 2021-04-25 22:57:12 | ===== publishing normal message (to offline) 2021-04-25 22:57:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-25 22:57:12 | command: <data><node>node_ugluy00203</node><entry><content>content_q36ezi0206</content></entry></data> 2021-04-25 22:57:12 | target: http://localhost:8088 2021-04-25 22:57:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-25 22:57:12 | entity: <data><node>node_ugluy00203</node><entry><content>content_q36ezi0206</content></entry></data> 2021-04-25 22:57:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:57:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-25 22:57:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>88ef0c95-f5e5-4eaa-ad77-75cdc793d1e8</value></item-id></result> 2021-04-25 22:57:12 | contains: true 2021-04-25 22:57:18 | [Mutex] received everything. 2021-04-25 22:57:18 | [Mutex] isItemNotified: user_regularck34ih0202@test-domain.com:message:received:content_q36ezi0206 :: true 2021-04-25 22:57:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-25 22:57:18 | [Mutex] received everything. 2021-04-25 22:57:18 | [Mutex] isItemNotified: node_ugluy00203:subscribe_node:success :: true 2021-04-25 22:57:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-25 22:57:18 | command: <data><node>node_ugluy00203</node><expire-at>2021-04-26T05:57:23Z</expire-at><entry><content>content_rc5ug80207</content></entry></data> 2021-04-25 22:57:18 | target: http://localhost:8088 2021-04-25 22:57:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-25 22:57:18 | entity: <data><node>node_ugluy00203</node><expire-at>2021-04-26T05:57:23Z</expire-at><entry><content>content_rc5ug80207</content></entry></data> 2021-04-25 22:57:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Apr 2021 05:57:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-25 22:57:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>852afcde-fd1e-4722-8037-d8bbb1f46011</value></item-id></result> 2021-04-25 22:57:18 | contains: true 2021-04-25 22:57:26 | [Mutex] waiting for: [user_regularck34ih0202@test-domain.com:message:received:content_rc5ug80207] 2021-04-25 22:57:41 | [Mutex] timeout. Not received [user_regularck34ih0202@test-domain.com:message:received:content_rc5ug80207] 2021-04-25 22:57:41 | [Mutex] received everything. 2021-04-25 22:57:41 | [Mutex] isItemNotified: user_regularck34ih0202@test-domain.com:message:received:content_rc5ug80207 :: false 2021-04-25 22:57:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rc5ug80207 :: true |