Test duration : 45.811s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.752s |
2021-02-23 21:55:54 |
2021-02-23 21:55:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-23 21:55:54 | ------------------------------------ 2021-02-23 21:55:54 | [Mutex] isItemNotified: node_btldaq0203:exists :: false 2021-02-23 21:55:54 | [Mutex] waiting for: [node_btldaq0203:create_node] 2021-02-23 21:55:54 | [Mutex] received everything. 2021-02-23 21:55:54 | [Mutex] isItemNotified: node_btldaq0203:create_node:success :: true 2021-02-23 21:55:54 | [Mutex] waiting for: [node_btldaq0203:subscribe_node] 2021-02-23 21:55:54 | [Mutex] waiting for: [node_btldaq0203:subscribe_node] 2021-02-23 21:55:54 | [Mutex] received everything. 2021-02-23 21:55:54 | [Mutex] isItemNotified: node_btldaq0203:subscribe_node:success :: true 2021-02-23 21:55:54 | ===== publishing normal message (to online) 2021-02-23 21:55:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-23 21:55:54 | command: <data><node>node_btldaq0203</node><entry><content>content_knnaf90204</content></entry></data> 2021-02-23 21:55:54 | target: http://localhost:8088 2021-02-23 21:55:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-23 21:55:54 | entity: <data><node>node_btldaq0203</node><entry><content>content_knnaf90204</content></entry></data> 2021-02-23 21:55:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:55:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-23 21:55:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d96ef437-bd4e-48f2-8744-aec5aa3b3617</value></item-id></result> 2021-02-23 21:55:55 | contains: true 2021-02-23 21:55:55 | [Mutex] received everything. 2021-02-23 21:55:55 | [Mutex] isItemNotified: user_regularofohcm0202@test-domain.com:message:received:content_knnaf90204 :: true 2021-02-23 21:55:55 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-23 21:55:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-23 21:55:55 | command: <data><node>node_btldaq0203</node><expire-at>2021-02-24T05:55:50Z</expire-at><entry><content>content_ogneqo0205</content></entry></data> 2021-02-23 21:55:55 | target: http://localhost:8088 2021-02-23 21:55:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-23 21:55:55 | entity: <data><node>node_btldaq0203</node><expire-at>2021-02-24T05:55:50Z</expire-at><entry><content>content_ogneqo0205</content></entry></data> 2021-02-23 21:55:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:55:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-23 21:55:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d88e40c8-36ef-46ce-aef7-9ed305402b6f</value></item-id></result> 2021-02-23 21:55:55 | contains: true 2021-02-23 21:55:55 | [Mutex] waiting for: [user_regularofohcm0202@test-domain.com:message:received:content_ogneqo0205] 2021-02-23 21:56:10 | [Mutex] timeout. Not received [user_regularofohcm0202@test-domain.com:message:received:content_ogneqo0205] 2021-02-23 21:56:10 | [Mutex] isItemNotified: user_regularofohcm0202@test-domain.com:message:received:content_ogneqo0205 :: false 2021-02-23 21:56:10 | ===== publishing normal message (to offline) 2021-02-23 21:56:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-23 21:56:10 | command: <data><node>node_btldaq0203</node><entry><content>content_ex0tug0206</content></entry></data> 2021-02-23 21:56:10 | target: http://localhost:8088 2021-02-23 21:56:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-23 21:56:10 | entity: <data><node>node_btldaq0203</node><entry><content>content_ex0tug0206</content></entry></data> 2021-02-23 21:56:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:56:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-23 21:56:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c0b2f49e-1836-4f1d-833e-54c8780fd253</value></item-id></result> 2021-02-23 21:56:10 | contains: true 2021-02-23 21:56:15 | [Mutex] waiting for: [user_regularofohcm0202@test-domain.com:message:received:content_ex0tug0206] 2021-02-23 21:56:15 | [Mutex] waiting for: [user_regularofohcm0202@test-domain.com:message:received:content_ex0tug0206] 2021-02-23 21:56:15 | [Mutex] received everything. 2021-02-23 21:56:15 | [Mutex] isItemNotified: user_regularofohcm0202@test-domain.com:message:received:content_ex0tug0206 :: true 2021-02-23 21:56:15 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-23 21:56:15 | [Mutex] received everything. 2021-02-23 21:56:15 | [Mutex] isItemNotified: node_btldaq0203:subscribe_node:success :: true 2021-02-23 21:56:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-23 21:56:15 | command: <data><node>node_btldaq0203</node><expire-at>2021-02-24T05:56:20Z</expire-at><entry><content>content_ej2fsh0207</content></entry></data> 2021-02-23 21:56:15 | target: http://localhost:8088 2021-02-23 21:56:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-23 21:56:15 | entity: <data><node>node_btldaq0203</node><expire-at>2021-02-24T05:56:20Z</expire-at><entry><content>content_ej2fsh0207</content></entry></data> 2021-02-23 21:56:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Feb 2021 05:56:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-23 21:56:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>24569c1f-a835-4141-847b-7c2767535dec</value></item-id></result> 2021-02-23 21:56:15 | contains: true 2021-02-23 21:56:23 | [Mutex] waiting for: [user_regularofohcm0202@test-domain.com:message:received:content_ej2fsh0207] 2021-02-23 21:56:23 | [Mutex] waiting for: [user_regularofohcm0202@test-domain.com:message:received:content_ej2fsh0207] 2021-02-23 21:56:38 | [Mutex] timeout. Not received [user_regularofohcm0202@test-domain.com:message:received:content_ej2fsh0207] 2021-02-23 21:56:38 | [Mutex] received everything. 2021-02-23 21:56:38 | [Mutex] isItemNotified: user_regularofohcm0202@test-domain.com:message:received:content_ej2fsh0207 :: false 2021-02-23 21:56:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ej2fsh0207 :: true |