Test duration : 45.635s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.750s |
2021-01-21 21:30:12 |
2021-01-21 21:30:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-21 21:30:12 | ------------------------------------ 2021-01-21 21:30:12 | [Mutex] isItemNotified: node_6pvjyu0203:exists :: false 2021-01-21 21:30:12 | [Mutex] waiting for: [node_6pvjyu0203:create_node] 2021-01-21 21:30:12 | [Mutex] received everything. 2021-01-21 21:30:12 | [Mutex] isItemNotified: node_6pvjyu0203:create_node:success :: true 2021-01-21 21:30:12 | [Mutex] waiting for: [node_6pvjyu0203:subscribe_node] 2021-01-21 21:30:12 | [Mutex] waiting for: [node_6pvjyu0203:subscribe_node] 2021-01-21 21:30:12 | [Mutex] received everything. 2021-01-21 21:30:12 | [Mutex] isItemNotified: node_6pvjyu0203:subscribe_node:success :: true 2021-01-21 21:30:12 | ===== publishing normal message (to online) 2021-01-21 21:30:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-21 21:30:12 | command: <data><node>node_6pvjyu0203</node><entry><content>content_iavuwu0204</content></entry></data> 2021-01-21 21:30:12 | target: http://localhost:8088 2021-01-21 21:30:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-21 21:30:12 | entity: <data><node>node_6pvjyu0203</node><entry><content>content_iavuwu0204</content></entry></data> 2021-01-21 21:30:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:30:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-21 21:30:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c96f501b-617d-45ec-8d78-f5b850c8baa2</value></item-id></result> 2021-01-21 21:30:12 | contains: true 2021-01-21 21:30:12 | [Mutex] waiting for: [user_regularuleci70202@test-domain.com:message:received:content_iavuwu0204] 2021-01-21 21:30:12 | [Mutex] received everything. 2021-01-21 21:30:12 | [Mutex] isItemNotified: user_regularuleci70202@test-domain.com:message:received:content_iavuwu0204 :: true 2021-01-21 21:30:12 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-21 21:30:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-21 21:30:12 | command: <data><node>node_6pvjyu0203</node><expire-at>2021-01-22T05:30:07Z</expire-at><entry><content>content_djoqwb0205</content></entry></data> 2021-01-21 21:30:12 | target: http://localhost:8088 2021-01-21 21:30:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-21 21:30:12 | entity: <data><node>node_6pvjyu0203</node><expire-at>2021-01-22T05:30:07Z</expire-at><entry><content>content_djoqwb0205</content></entry></data> 2021-01-21 21:30:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:30:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-21 21:30:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f0db99c2-e041-43dd-8630-49890afcab60</value></item-id></result> 2021-01-21 21:30:12 | contains: true 2021-01-21 21:30:12 | [Mutex] waiting for: [user_regularuleci70202@test-domain.com:message:received:content_djoqwb0205] 2021-01-21 21:30:27 | [Mutex] timeout. Not received [user_regularuleci70202@test-domain.com:message:received:content_djoqwb0205] 2021-01-21 21:30:27 | [Mutex] isItemNotified: user_regularuleci70202@test-domain.com:message:received:content_djoqwb0205 :: false 2021-01-21 21:30:27 | ===== publishing normal message (to offline) 2021-01-21 21:30:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-21 21:30:27 | command: <data><node>node_6pvjyu0203</node><entry><content>content_agzgr80206</content></entry></data> 2021-01-21 21:30:27 | target: http://localhost:8088 2021-01-21 21:30:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-21 21:30:27 | entity: <data><node>node_6pvjyu0203</node><entry><content>content_agzgr80206</content></entry></data> 2021-01-21 21:30:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:30:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-21 21:30:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cbe87df6-1dc0-46d8-aa76-950e91e3e453</value></item-id></result> 2021-01-21 21:30:27 | contains: true 2021-01-21 21:30:33 | [Mutex] waiting for: [user_regularuleci70202@test-domain.com:message:received:content_agzgr80206] 2021-01-21 21:30:33 | [Mutex] received everything. 2021-01-21 21:30:33 | [Mutex] isItemNotified: user_regularuleci70202@test-domain.com:message:received:content_agzgr80206 :: true 2021-01-21 21:30:33 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-21 21:30:33 | [Mutex] received everything. 2021-01-21 21:30:33 | [Mutex] isItemNotified: node_6pvjyu0203:subscribe_node:success :: true 2021-01-21 21:30:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-21 21:30:33 | command: <data><node>node_6pvjyu0203</node><expire-at>2021-01-22T05:30:38Z</expire-at><entry><content>content_u49dkg0207</content></entry></data> 2021-01-21 21:30:33 | target: http://localhost:8088 2021-01-21 21:30:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-21 21:30:33 | entity: <data><node>node_6pvjyu0203</node><expire-at>2021-01-22T05:30:38Z</expire-at><entry><content>content_u49dkg0207</content></entry></data> 2021-01-21 21:30:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 22 Jan 2021 05:30:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-21 21:30:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>df2590cf-9d90-463b-a14e-8738b3d1893a</value></item-id></result> 2021-01-21 21:30:33 | contains: true 2021-01-21 21:30:41 | [Mutex] waiting for: [user_regularuleci70202@test-domain.com:message:received:content_u49dkg0207] 2021-01-21 21:30:56 | [Mutex] timeout. Not received [user_regularuleci70202@test-domain.com:message:received:content_u49dkg0207] 2021-01-21 21:30:56 | [Mutex] received everything. 2021-01-21 21:30:56 | [Mutex] isItemNotified: user_regularuleci70202@test-domain.com:message:received:content_u49dkg0207 :: false 2021-01-21 21:30:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u49dkg0207 :: true |