Test duration : 45.510s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.683s |
2021-04-29 22:50:13 |
2021-04-29 22:50:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-29 22:50:13 | ------------------------------------ 2021-04-29 22:50:13 | [Mutex] isItemNotified: node_jagerq0203:exists :: false 2021-04-29 22:50:13 | [Mutex] waiting for: [node_jagerq0203:create_node] 2021-04-29 22:50:13 | [Mutex] received everything. 2021-04-29 22:50:13 | [Mutex] isItemNotified: node_jagerq0203:create_node:success :: true 2021-04-29 22:50:13 | [Mutex] waiting for: [node_jagerq0203:subscribe_node] 2021-04-29 22:50:13 | [Mutex] waiting for: [node_jagerq0203:subscribe_node] 2021-04-29 22:50:13 | [Mutex] received everything. 2021-04-29 22:50:13 | [Mutex] isItemNotified: node_jagerq0203:subscribe_node:success :: true 2021-04-29 22:50:13 | ===== publishing normal message (to online) 2021-04-29 22:50:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:50:13 | command: <data><node>node_jagerq0203</node><entry><content>content_w6e5rn0204</content></entry></data> 2021-04-29 22:50:13 | target: http://localhost:8088 2021-04-29 22:50:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-29 22:50:13 | entity: <data><node>node_jagerq0203</node><entry><content>content_w6e5rn0204</content></entry></data> 2021-04-29 22:50:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:50:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:50:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d7657df4-c12d-426e-be2f-dd3eafba9df4</value></item-id></result> 2021-04-29 22:50:13 | contains: true 2021-04-29 22:50:13 | [Mutex] received everything. 2021-04-29 22:50:13 | [Mutex] isItemNotified: user_regularmwnptl0202@test-domain.com:message:received:content_w6e5rn0204 :: true 2021-04-29 22:50:13 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-29 22:50:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:50:13 | command: <data><node>node_jagerq0203</node><expire-at>2021-04-30T05:50:08Z</expire-at><entry><content>content_8e67e70205</content></entry></data> 2021-04-29 22:50:13 | target: http://localhost:8088 2021-04-29 22:50:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-29 22:50:13 | entity: <data><node>node_jagerq0203</node><expire-at>2021-04-30T05:50:08Z</expire-at><entry><content>content_8e67e70205</content></entry></data> 2021-04-29 22:50:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:50:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:50:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>950227e2-f763-44df-8666-649d49f967f3</value></item-id></result> 2021-04-29 22:50:13 | contains: true 2021-04-29 22:50:13 | [Mutex] waiting for: [user_regularmwnptl0202@test-domain.com:message:received:content_8e67e70205] 2021-04-29 22:50:28 | [Mutex] timeout. Not received [user_regularmwnptl0202@test-domain.com:message:received:content_8e67e70205] 2021-04-29 22:50:28 | [Mutex] isItemNotified: user_regularmwnptl0202@test-domain.com:message:received:content_8e67e70205 :: false 2021-04-29 22:50:28 | ===== publishing normal message (to offline) 2021-04-29 22:50:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:50:28 | command: <data><node>node_jagerq0203</node><entry><content>content_xpau0s0206</content></entry></data> 2021-04-29 22:50:28 | target: http://localhost:8088 2021-04-29 22:50:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-29 22:50:28 | entity: <data><node>node_jagerq0203</node><entry><content>content_xpau0s0206</content></entry></data> 2021-04-29 22:50:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:50:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:50:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9d40742e-057f-4967-9954-f0b2bd2db269</value></item-id></result> 2021-04-29 22:50:28 | contains: true 2021-04-29 22:50:33 | [Mutex] waiting for: [user_regularmwnptl0202@test-domain.com:message:received:content_xpau0s0206] 2021-04-29 22:50:33 | [Mutex] received everything. 2021-04-29 22:50:33 | [Mutex] isItemNotified: user_regularmwnptl0202@test-domain.com:message:received:content_xpau0s0206 :: true 2021-04-29 22:50:33 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-29 22:50:33 | [Mutex] received everything. 2021-04-29 22:50:33 | [Mutex] isItemNotified: node_jagerq0203:subscribe_node:success :: true 2021-04-29 22:50:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 22:50:33 | command: <data><node>node_jagerq0203</node><expire-at>2021-04-30T05:50:38Z</expire-at><entry><content>content_gk0c910207</content></entry></data> 2021-04-29 22:50:33 | target: http://localhost:8088 2021-04-29 22:50:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-29 22:50:33 | entity: <data><node>node_jagerq0203</node><expire-at>2021-04-30T05:50:38Z</expire-at><entry><content>content_gk0c910207</content></entry></data> 2021-04-29 22:50:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 05:50:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 22:50:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2d63ee57-eb49-4417-a582-34bb2295737e</value></item-id></result> 2021-04-29 22:50:33 | contains: true 2021-04-29 22:50:42 | [Mutex] waiting for: [user_regularmwnptl0202@test-domain.com:message:received:content_gk0c910207] 2021-04-29 22:50:42 | [Mutex] waiting for: [user_regularmwnptl0202@test-domain.com:message:received:content_gk0c910207] 2021-04-29 22:50:42 | [Mutex] waiting for: [user_regularmwnptl0202@test-domain.com:message:received:content_gk0c910207] 2021-04-29 22:50:57 | [Mutex] timeout. Not received [user_regularmwnptl0202@test-domain.com:message:received:content_gk0c910207] 2021-04-29 22:50:57 | [Mutex] received everything. 2021-04-29 22:50:57 | [Mutex] isItemNotified: user_regularmwnptl0202@test-domain.com:message:received:content_gk0c910207 :: false 2021-04-29 22:50:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gk0c910207 :: true |