Test duration : 45.808s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.805s |
2020-12-30 21:37:37 |
2020-12-30 21:37:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-12-30 21:37:37 | ------------------------------------ 2020-12-30 21:37:37 | [Mutex] isItemNotified: node_n3sn8z0203:exists :: false 2020-12-30 21:37:37 | [Mutex] waiting for: [node_n3sn8z0203:create_node] 2020-12-30 21:37:37 | [Mutex] received everything. 2020-12-30 21:37:37 | [Mutex] isItemNotified: node_n3sn8z0203:create_node:success :: true 2020-12-30 21:37:37 | [Mutex] waiting for: [node_n3sn8z0203:subscribe_node] 2020-12-30 21:37:37 | [Mutex] waiting for: [node_n3sn8z0203:subscribe_node] 2020-12-30 21:37:37 | [Mutex] received everything. 2020-12-30 21:37:37 | [Mutex] isItemNotified: node_n3sn8z0203:subscribe_node:success :: true 2020-12-30 21:37:37 | ===== publishing normal message (to online) 2020-12-30 21:37:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-30 21:37:37 | command: <data><node>node_n3sn8z0203</node><entry><content>content_r26va70204</content></entry></data> 2020-12-30 21:37:37 | target: http://localhost:8088 2020-12-30 21:37:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-30 21:37:37 | entity: <data><node>node_n3sn8z0203</node><entry><content>content_r26va70204</content></entry></data> 2020-12-30 21:37:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:37:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-30 21:37:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>de5d01ea-cafe-4a57-b745-87baa5651ac1</value></item-id></result> 2020-12-30 21:37:37 | contains: true 2020-12-30 21:37:37 | [Mutex] waiting for: [user_regular1huegh0202@test-domain.com:message:received:content_r26va70204] 2020-12-30 21:37:37 | [Mutex] received everything. 2020-12-30 21:37:37 | [Mutex] isItemNotified: user_regular1huegh0202@test-domain.com:message:received:content_r26va70204 :: true 2020-12-30 21:37:37 | ===== publishing already old message - expecting message being filtered out (to online) 2020-12-30 21:37:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-30 21:37:37 | command: <data><node>node_n3sn8z0203</node><expire-at>2020-12-31T05:37:32Z</expire-at><entry><content>content_afoo910205</content></entry></data> 2020-12-30 21:37:37 | target: http://localhost:8088 2020-12-30 21:37:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-30 21:37:37 | entity: <data><node>node_n3sn8z0203</node><expire-at>2020-12-31T05:37:32Z</expire-at><entry><content>content_afoo910205</content></entry></data> 2020-12-30 21:37:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:37:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-30 21:37:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5a57aeb8-e617-4cdd-ab90-40b418265030</value></item-id></result> 2020-12-30 21:37:37 | contains: true 2020-12-30 21:37:37 | [Mutex] waiting for: [user_regular1huegh0202@test-domain.com:message:received:content_afoo910205] 2020-12-30 21:37:52 | [Mutex] timeout. Not received [user_regular1huegh0202@test-domain.com:message:received:content_afoo910205] 2020-12-30 21:37:52 | [Mutex] isItemNotified: user_regular1huegh0202@test-domain.com:message:received:content_afoo910205 :: false 2020-12-30 21:37:52 | ===== publishing normal message (to offline) 2020-12-30 21:37:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-30 21:37:53 | command: <data><node>node_n3sn8z0203</node><entry><content>content_dd4u2h0206</content></entry></data> 2020-12-30 21:37:53 | target: http://localhost:8088 2020-12-30 21:37:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-30 21:37:53 | entity: <data><node>node_n3sn8z0203</node><entry><content>content_dd4u2h0206</content></entry></data> 2020-12-30 21:37:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:37:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-30 21:37:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5632c9c2-ea46-410e-bbbc-e5f570e265a2</value></item-id></result> 2020-12-30 21:37:53 | contains: true 2020-12-30 21:37:58 | [Mutex] waiting for: [user_regular1huegh0202@test-domain.com:message:received:content_dd4u2h0206] 2020-12-30 21:37:58 | [Mutex] waiting for: [user_regular1huegh0202@test-domain.com:message:received:content_dd4u2h0206] 2020-12-30 21:37:58 | [Mutex] received everything. 2020-12-30 21:37:58 | [Mutex] isItemNotified: user_regular1huegh0202@test-domain.com:message:received:content_dd4u2h0206 :: true 2020-12-30 21:37:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-12-30 21:37:58 | [Mutex] received everything. 2020-12-30 21:37:58 | [Mutex] isItemNotified: node_n3sn8z0203:subscribe_node:success :: true 2020-12-30 21:37:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-30 21:37:58 | command: <data><node>node_n3sn8z0203</node><expire-at>2020-12-31T05:38:03Z</expire-at><entry><content>content_l6o7nj0207</content></entry></data> 2020-12-30 21:37:58 | target: http://localhost:8088 2020-12-30 21:37:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-30 21:37:58 | entity: <data><node>node_n3sn8z0203</node><expire-at>2020-12-31T05:38:03Z</expire-at><entry><content>content_l6o7nj0207</content></entry></data> 2020-12-30 21:37:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 31 Dec 2020 05:37:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-30 21:37:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b2679b3f-9627-4002-af5b-c9b221da40d4</value></item-id></result> 2020-12-30 21:37:58 | contains: true 2020-12-30 21:38:06 | [Mutex] waiting for: [user_regular1huegh0202@test-domain.com:message:received:content_l6o7nj0207] 2020-12-30 21:38:06 | [Mutex] waiting for: [user_regular1huegh0202@test-domain.com:message:received:content_l6o7nj0207] 2020-12-30 21:38:06 | [Mutex] waiting for: [user_regular1huegh0202@test-domain.com:message:received:content_l6o7nj0207] 2020-12-30 21:38:21 | [Mutex] timeout. Not received [user_regular1huegh0202@test-domain.com:message:received:content_l6o7nj0207] 2020-12-30 21:38:21 | [Mutex] received everything. 2020-12-30 21:38:21 | [Mutex] isItemNotified: user_regular1huegh0202@test-domain.com:message:received:content_l6o7nj0207 :: false 2020-12-30 21:38:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l6o7nj0207 :: true |