Test duration : 45.046s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.781s |
2020-08-26 22:46:36 |
2020-08-26 22:46:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-26 22:46:36 | ------------------------------------ 2020-08-26 22:46:36 | [Mutex] isItemNotified: node_c1dyad0203:exists :: false 2020-08-26 22:46:36 | [Mutex] waiting for: [node_c1dyad0203:create_node] 2020-08-26 22:46:36 | [Mutex] received everything. 2020-08-26 22:46:36 | [Mutex] isItemNotified: node_c1dyad0203:create_node:success :: true 2020-08-26 22:46:36 | [Mutex] waiting for: [node_c1dyad0203:subscribe_node] 2020-08-26 22:46:36 | [Mutex] received everything. 2020-08-26 22:46:36 | [Mutex] isItemNotified: node_c1dyad0203:subscribe_node:success :: true 2020-08-26 22:46:36 | ===== publishing normal message (to online) 2020-08-26 22:46:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 22:46:36 | command: <data><node>node_c1dyad0203</node><entry><content>content_nsq9hz0204</content></entry></data> 2020-08-26 22:46:36 | target: http://localhost:8088 2020-08-26 22:46:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-26 22:46:36 | entity: <data><node>node_c1dyad0203</node><entry><content>content_nsq9hz0204</content></entry></data> 2020-08-26 22:46:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:46:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 22:46:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>84711586-4b3a-4d1e-8ef0-c587ba2057f6</value></item-id></result> 2020-08-26 22:46:36 | contains: true 2020-08-26 22:46:36 | [Mutex] received everything. 2020-08-26 22:46:36 | [Mutex] isItemNotified: user_regularojkh320202@test-domain.com:message:received:content_nsq9hz0204 :: true 2020-08-26 22:46:36 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-26 22:46:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 22:46:36 | command: <data><node>node_c1dyad0203</node><expire-at>2020-08-27T05:46:31Z</expire-at><entry><content>content_sofh4r0205</content></entry></data> 2020-08-26 22:46:36 | target: http://localhost:8088 2020-08-26 22:46:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-26 22:46:36 | entity: <data><node>node_c1dyad0203</node><expire-at>2020-08-27T05:46:31Z</expire-at><entry><content>content_sofh4r0205</content></entry></data> 2020-08-26 22:46:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:46:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 22:46:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b312301d-05e5-4582-8281-861ba937ac94</value></item-id></result> 2020-08-26 22:46:36 | contains: true 2020-08-26 22:46:36 | [Mutex] waiting for: [user_regularojkh320202@test-domain.com:message:received:content_sofh4r0205] 2020-08-26 22:46:51 | [Mutex] timeout. Not received [user_regularojkh320202@test-domain.com:message:received:content_sofh4r0205] 2020-08-26 22:46:51 | [Mutex] isItemNotified: user_regularojkh320202@test-domain.com:message:received:content_sofh4r0205 :: false 2020-08-26 22:46:51 | ===== publishing normal message (to offline) 2020-08-26 22:46:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 22:46:51 | command: <data><node>node_c1dyad0203</node><entry><content>content_43tdk80206</content></entry></data> 2020-08-26 22:46:51 | target: http://localhost:8088 2020-08-26 22:46:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-26 22:46:51 | entity: <data><node>node_c1dyad0203</node><entry><content>content_43tdk80206</content></entry></data> 2020-08-26 22:46:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:46:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 22:46:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b8a8fbbc-88fd-4617-8d47-667c7262321e</value></item-id></result> 2020-08-26 22:46:51 | contains: true 2020-08-26 22:46:56 | [Mutex] waiting for: [user_regularojkh320202@test-domain.com:message:received:content_43tdk80206] 2020-08-26 22:46:56 | [Mutex] received everything. 2020-08-26 22:46:56 | [Mutex] isItemNotified: user_regularojkh320202@test-domain.com:message:received:content_43tdk80206 :: true 2020-08-26 22:46:56 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-26 22:46:56 | [Mutex] received everything. 2020-08-26 22:46:56 | [Mutex] isItemNotified: node_c1dyad0203:subscribe_node:success :: true 2020-08-26 22:46:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 22:46:56 | command: <data><node>node_c1dyad0203</node><expire-at>2020-08-27T05:47:01Z</expire-at><entry><content>content_mqdqom0207</content></entry></data> 2020-08-26 22:46:56 | target: http://localhost:8088 2020-08-26 22:46:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-26 22:46:56 | entity: <data><node>node_c1dyad0203</node><expire-at>2020-08-27T05:47:01Z</expire-at><entry><content>content_mqdqom0207</content></entry></data> 2020-08-26 22:46:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 05:46:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 22:46:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>98e5df05-4b0b-4990-87ed-0a87bfbb9fc7</value></item-id></result> 2020-08-26 22:46:56 | contains: true 2020-08-26 22:47:04 | [Mutex] waiting for: [user_regularojkh320202@test-domain.com:message:received:content_mqdqom0207] 2020-08-26 22:47:19 | [Mutex] timeout. Not received [user_regularojkh320202@test-domain.com:message:received:content_mqdqom0207] 2020-08-26 22:47:19 | [Mutex] received everything. 2020-08-26 22:47:19 | [Mutex] isItemNotified: user_regularojkh320202@test-domain.com:message:received:content_mqdqom0207 :: false 2020-08-26 22:47:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mqdqom0207 :: true |