Test duration : 45.397s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.752s |
2021-02-05 21:30:44 |
2021-02-05 21:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-05 21:30:44 | ------------------------------------ 2021-02-05 21:30:44 | [Mutex] isItemNotified: node_5116nf0203:exists :: false 2021-02-05 21:30:44 | [Mutex] waiting for: [node_5116nf0203:create_node] 2021-02-05 21:30:44 | [Mutex] received everything. 2021-02-05 21:30:44 | [Mutex] isItemNotified: node_5116nf0203:create_node:success :: true 2021-02-05 21:30:44 | [Mutex] waiting for: [node_5116nf0203:subscribe_node] 2021-02-05 21:30:44 | [Mutex] waiting for: [node_5116nf0203:subscribe_node] 2021-02-05 21:30:44 | [Mutex] received everything. 2021-02-05 21:30:44 | [Mutex] isItemNotified: node_5116nf0203:subscribe_node:success :: true 2021-02-05 21:30:44 | ===== publishing normal message (to online) 2021-02-05 21:30:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 21:30:44 | command: <data><node>node_5116nf0203</node><entry><content>content_tgli5c0204</content></entry></data> 2021-02-05 21:30:44 | target: http://localhost:8088 2021-02-05 21:30:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-05 21:30:44 | entity: <data><node>node_5116nf0203</node><entry><content>content_tgli5c0204</content></entry></data> 2021-02-05 21:30:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:30:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 21:30:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7c364c90-3bc4-40a6-9c9d-9b44fd51fb6d</value></item-id></result> 2021-02-05 21:30:44 | contains: true 2021-02-05 21:30:44 | [Mutex] waiting for: [user_regularfheu1t0202@test-domain.com:message:received:content_tgli5c0204] 2021-02-05 21:30:44 | [Mutex] received everything. 2021-02-05 21:30:44 | [Mutex] isItemNotified: user_regularfheu1t0202@test-domain.com:message:received:content_tgli5c0204 :: true 2021-02-05 21:30:44 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-05 21:30:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 21:30:44 | command: <data><node>node_5116nf0203</node><expire-at>2021-02-06T05:30:39Z</expire-at><entry><content>content_4zqj0w0205</content></entry></data> 2021-02-05 21:30:44 | target: http://localhost:8088 2021-02-05 21:30:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-05 21:30:44 | entity: <data><node>node_5116nf0203</node><expire-at>2021-02-06T05:30:39Z</expire-at><entry><content>content_4zqj0w0205</content></entry></data> 2021-02-05 21:30:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:30:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 21:30:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ecbc58d0-758b-42a1-b9a3-0cea891aabd9</value></item-id></result> 2021-02-05 21:30:44 | contains: true 2021-02-05 21:30:44 | [Mutex] waiting for: [user_regularfheu1t0202@test-domain.com:message:received:content_4zqj0w0205] 2021-02-05 21:30:59 | [Mutex] timeout. Not received [user_regularfheu1t0202@test-domain.com:message:received:content_4zqj0w0205] 2021-02-05 21:30:59 | [Mutex] isItemNotified: user_regularfheu1t0202@test-domain.com:message:received:content_4zqj0w0205 :: false 2021-02-05 21:30:59 | ===== publishing normal message (to offline) 2021-02-05 21:30:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 21:30:59 | command: <data><node>node_5116nf0203</node><entry><content>content_m0s8860206</content></entry></data> 2021-02-05 21:30:59 | target: http://localhost:8088 2021-02-05 21:30:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-05 21:30:59 | entity: <data><node>node_5116nf0203</node><entry><content>content_m0s8860206</content></entry></data> 2021-02-05 21:30:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:30:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 21:30:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f79b75a7-f999-467d-abef-66ce48b17166</value></item-id></result> 2021-02-05 21:30:59 | contains: true 2021-02-05 21:31:04 | [Mutex] waiting for: [user_regularfheu1t0202@test-domain.com:message:received:content_m0s8860206] 2021-02-05 21:31:04 | [Mutex] waiting for: [user_regularfheu1t0202@test-domain.com:message:received:content_m0s8860206] 2021-02-05 21:31:04 | [Mutex] received everything. 2021-02-05 21:31:04 | [Mutex] isItemNotified: user_regularfheu1t0202@test-domain.com:message:received:content_m0s8860206 :: true 2021-02-05 21:31:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-05 21:31:04 | [Mutex] received everything. 2021-02-05 21:31:04 | [Mutex] isItemNotified: node_5116nf0203:subscribe_node:success :: true 2021-02-05 21:31:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-05 21:31:04 | command: <data><node>node_5116nf0203</node><expire-at>2021-02-06T05:31:09Z</expire-at><entry><content>content_vaoeqq0207</content></entry></data> 2021-02-05 21:31:04 | target: http://localhost:8088 2021-02-05 21:31:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-05 21:31:04 | entity: <data><node>node_5116nf0203</node><expire-at>2021-02-06T05:31:09Z</expire-at><entry><content>content_vaoeqq0207</content></entry></data> 2021-02-05 21:31:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 06 Feb 2021 05:31:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-05 21:31:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>650bf2a2-f762-416e-b357-1a528d5574c3</value></item-id></result> 2021-02-05 21:31:04 | contains: true 2021-02-05 21:31:12 | [Mutex] waiting for: [user_regularfheu1t0202@test-domain.com:message:received:content_vaoeqq0207] 2021-02-05 21:31:12 | [Mutex] waiting for: [user_regularfheu1t0202@test-domain.com:message:received:content_vaoeqq0207] 2021-02-05 21:31:27 | [Mutex] timeout. Not received [user_regularfheu1t0202@test-domain.com:message:received:content_vaoeqq0207] 2021-02-05 21:31:27 | [Mutex] received everything. 2021-02-05 21:31:27 | [Mutex] isItemNotified: user_regularfheu1t0202@test-domain.com:message:received:content_vaoeqq0207 :: false 2021-02-05 21:31:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vaoeqq0207 :: true |