Test duration : 45.238s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.775s |
2021-02-18 21:31:11 |
2021-02-18 21:31:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-18 21:31:11 | ------------------------------------ 2021-02-18 21:31:11 | [Mutex] isItemNotified: node_lojxn20203:exists :: false 2021-02-18 21:31:11 | [Mutex] waiting for: [node_lojxn20203:create_node] 2021-02-18 21:31:11 | [Mutex] received everything. 2021-02-18 21:31:11 | [Mutex] isItemNotified: node_lojxn20203:create_node:success :: true 2021-02-18 21:31:11 | [Mutex] waiting for: [node_lojxn20203:subscribe_node] 2021-02-18 21:31:11 | [Mutex] received everything. 2021-02-18 21:31:11 | [Mutex] isItemNotified: node_lojxn20203:subscribe_node:success :: true 2021-02-18 21:31:11 | ===== publishing normal message (to online) 2021-02-18 21:31:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 21:31:11 | command: <data><node>node_lojxn20203</node><entry><content>content_bccfrd0204</content></entry></data> 2021-02-18 21:31:11 | target: http://localhost:8088 2021-02-18 21:31:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-18 21:31:11 | entity: <data><node>node_lojxn20203</node><entry><content>content_bccfrd0204</content></entry></data> 2021-02-18 21:31:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:31:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 21:31:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d0e13be5-98b3-40de-948d-5102047ba887</value></item-id></result> 2021-02-18 21:31:11 | contains: true 2021-02-18 21:31:11 | [Mutex] waiting for: [user_regularaj65xq0202@test-domain.com:message:received:content_bccfrd0204] 2021-02-18 21:31:11 | [Mutex] received everything. 2021-02-18 21:31:11 | [Mutex] isItemNotified: user_regularaj65xq0202@test-domain.com:message:received:content_bccfrd0204 :: true 2021-02-18 21:31:11 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-18 21:31:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 21:31:11 | command: <data><node>node_lojxn20203</node><expire-at>2021-02-19T05:31:06Z</expire-at><entry><content>content_9miwqs0205</content></entry></data> 2021-02-18 21:31:11 | target: http://localhost:8088 2021-02-18 21:31:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-18 21:31:11 | entity: <data><node>node_lojxn20203</node><expire-at>2021-02-19T05:31:06Z</expire-at><entry><content>content_9miwqs0205</content></entry></data> 2021-02-18 21:31:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:31:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 21:31:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>68bbce7d-7c57-424a-b9c1-2b8f053905c5</value></item-id></result> 2021-02-18 21:31:12 | contains: true 2021-02-18 21:31:12 | [Mutex] waiting for: [user_regularaj65xq0202@test-domain.com:message:received:content_9miwqs0205] 2021-02-18 21:31:27 | [Mutex] timeout. Not received [user_regularaj65xq0202@test-domain.com:message:received:content_9miwqs0205] 2021-02-18 21:31:27 | [Mutex] isItemNotified: user_regularaj65xq0202@test-domain.com:message:received:content_9miwqs0205 :: false 2021-02-18 21:31:27 | ===== publishing normal message (to offline) 2021-02-18 21:31:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 21:31:27 | command: <data><node>node_lojxn20203</node><entry><content>content_ra7oqe0206</content></entry></data> 2021-02-18 21:31:27 | target: http://localhost:8088 2021-02-18 21:31:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-18 21:31:27 | entity: <data><node>node_lojxn20203</node><entry><content>content_ra7oqe0206</content></entry></data> 2021-02-18 21:31:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:31:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 21:31:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8ec62494-6970-4c08-ad72-85507c416951</value></item-id></result> 2021-02-18 21:31:27 | contains: true 2021-02-18 21:31:32 | [Mutex] waiting for: [user_regularaj65xq0202@test-domain.com:message:received:content_ra7oqe0206] 2021-02-18 21:31:32 | [Mutex] received everything. 2021-02-18 21:31:32 | [Mutex] isItemNotified: user_regularaj65xq0202@test-domain.com:message:received:content_ra7oqe0206 :: true 2021-02-18 21:31:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-18 21:31:32 | [Mutex] received everything. 2021-02-18 21:31:32 | [Mutex] isItemNotified: node_lojxn20203:subscribe_node:success :: true 2021-02-18 21:31:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-18 21:31:32 | command: <data><node>node_lojxn20203</node><expire-at>2021-02-19T05:31:37Z</expire-at><entry><content>content_yni3770207</content></entry></data> 2021-02-18 21:31:32 | target: http://localhost:8088 2021-02-18 21:31:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-18 21:31:32 | entity: <data><node>node_lojxn20203</node><expire-at>2021-02-19T05:31:37Z</expire-at><entry><content>content_yni3770207</content></entry></data> 2021-02-18 21:31:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Feb 2021 05:31:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-18 21:31:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4091b479-e0d3-49fa-b9a0-da41fe3f18ae</value></item-id></result> 2021-02-18 21:31:32 | contains: true 2021-02-18 21:31:40 | [Mutex] waiting for: [user_regularaj65xq0202@test-domain.com:message:received:content_yni3770207] 2021-02-18 21:31:40 | [Mutex] waiting for: [user_regularaj65xq0202@test-domain.com:message:received:content_yni3770207] 2021-02-18 21:31:55 | [Mutex] timeout. Not received [user_regularaj65xq0202@test-domain.com:message:received:content_yni3770207] 2021-02-18 21:31:55 | [Mutex] received everything. 2021-02-18 21:31:55 | [Mutex] isItemNotified: user_regularaj65xq0202@test-domain.com:message:received:content_yni3770207 :: false 2021-02-18 21:31:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yni3770207 :: true |