Test duration : 45.602s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.640s |
2021-02-14 21:32:20 |
2021-02-14 21:32:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-14 21:32:20 | ------------------------------------ 2021-02-14 21:32:20 | [Mutex] isItemNotified: node_f5ozu40203:exists :: false 2021-02-14 21:32:20 | [Mutex] waiting for: [node_f5ozu40203:create_node] 2021-02-14 21:32:20 | [Mutex] received everything. 2021-02-14 21:32:20 | [Mutex] isItemNotified: node_f5ozu40203:create_node:success :: true 2021-02-14 21:32:20 | [Mutex] waiting for: [node_f5ozu40203:subscribe_node] 2021-02-14 21:32:20 | [Mutex] waiting for: [node_f5ozu40203:subscribe_node] 2021-02-14 21:32:20 | [Mutex] received everything. 2021-02-14 21:32:20 | [Mutex] isItemNotified: node_f5ozu40203:subscribe_node:success :: true 2021-02-14 21:32:20 | ===== publishing normal message (to online) 2021-02-14 21:32:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-14 21:32:20 | command: <data><node>node_f5ozu40203</node><entry><content>content_vgitob0204</content></entry></data> 2021-02-14 21:32:20 | target: http://localhost:8088 2021-02-14 21:32:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-14 21:32:20 | entity: <data><node>node_f5ozu40203</node><entry><content>content_vgitob0204</content></entry></data> 2021-02-14 21:32:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:32:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-14 21:32:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9a9c006e-a6ec-4c26-ac0d-b9c35a7a0602</value></item-id></result> 2021-02-14 21:32:20 | contains: true 2021-02-14 21:32:20 | [Mutex] received everything. 2021-02-14 21:32:20 | [Mutex] isItemNotified: user_regularvr23l90202@test-domain.com:message:received:content_vgitob0204 :: true 2021-02-14 21:32:20 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-14 21:32:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-14 21:32:20 | command: <data><node>node_f5ozu40203</node><expire-at>2021-02-15T05:32:15Z</expire-at><entry><content>content_336w180205</content></entry></data> 2021-02-14 21:32:20 | target: http://localhost:8088 2021-02-14 21:32:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-14 21:32:20 | entity: <data><node>node_f5ozu40203</node><expire-at>2021-02-15T05:32:15Z</expire-at><entry><content>content_336w180205</content></entry></data> 2021-02-14 21:32:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:32:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-14 21:32:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7c5ec9b7-919d-47c0-bf65-6bc512ab52d1</value></item-id></result> 2021-02-14 21:32:20 | contains: true 2021-02-14 21:32:20 | [Mutex] waiting for: [user_regularvr23l90202@test-domain.com:message:received:content_336w180205] 2021-02-14 21:32:35 | [Mutex] timeout. Not received [user_regularvr23l90202@test-domain.com:message:received:content_336w180205] 2021-02-14 21:32:35 | [Mutex] isItemNotified: user_regularvr23l90202@test-domain.com:message:received:content_336w180205 :: false 2021-02-14 21:32:35 | ===== publishing normal message (to offline) 2021-02-14 21:32:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-14 21:32:35 | command: <data><node>node_f5ozu40203</node><entry><content>content_c5417k0206</content></entry></data> 2021-02-14 21:32:35 | target: http://localhost:8088 2021-02-14 21:32:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-14 21:32:35 | entity: <data><node>node_f5ozu40203</node><entry><content>content_c5417k0206</content></entry></data> 2021-02-14 21:32:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:32:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-14 21:32:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>837ec6f5-a41d-4a2b-80e4-631af1e51ce0</value></item-id></result> 2021-02-14 21:32:35 | contains: true 2021-02-14 21:32:40 | [Mutex] waiting for: [user_regularvr23l90202@test-domain.com:message:received:content_c5417k0206] 2021-02-14 21:32:40 | [Mutex] waiting for: [user_regularvr23l90202@test-domain.com:message:received:content_c5417k0206] 2021-02-14 21:32:40 | [Mutex] received everything. 2021-02-14 21:32:40 | [Mutex] isItemNotified: user_regularvr23l90202@test-domain.com:message:received:content_c5417k0206 :: true 2021-02-14 21:32:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-14 21:32:40 | [Mutex] received everything. 2021-02-14 21:32:40 | [Mutex] isItemNotified: node_f5ozu40203:subscribe_node:success :: true 2021-02-14 21:32:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-14 21:32:40 | command: <data><node>node_f5ozu40203</node><expire-at>2021-02-15T05:32:45Z</expire-at><entry><content>content_oiq4tq0207</content></entry></data> 2021-02-14 21:32:40 | target: http://localhost:8088 2021-02-14 21:32:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-14 21:32:40 | entity: <data><node>node_f5ozu40203</node><expire-at>2021-02-15T05:32:45Z</expire-at><entry><content>content_oiq4tq0207</content></entry></data> 2021-02-14 21:32:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Feb 2021 05:32:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-14 21:32:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7d42d8cf-8380-4ee7-98c6-b6fce609d9b4</value></item-id></result> 2021-02-14 21:32:40 | contains: true 2021-02-14 21:32:48 | [Mutex] waiting for: [user_regularvr23l90202@test-domain.com:message:received:content_oiq4tq0207] 2021-02-14 21:32:48 | [Mutex] waiting for: [user_regularvr23l90202@test-domain.com:message:received:content_oiq4tq0207] 2021-02-14 21:32:48 | [Mutex] waiting for: [user_regularvr23l90202@test-domain.com:message:received:content_oiq4tq0207] 2021-02-14 21:33:03 | [Mutex] timeout. Not received [user_regularvr23l90202@test-domain.com:message:received:content_oiq4tq0207] 2021-02-14 21:33:03 | [Mutex] received everything. 2021-02-14 21:33:03 | [Mutex] isItemNotified: user_regularvr23l90202@test-domain.com:message:received:content_oiq4tq0207 :: false 2021-02-14 21:33:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_oiq4tq0207 :: true |