Test duration : 45.632s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.766s |
2020-08-25 19:03:38 |
2020-08-25 19:03:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-25 19:03:38 | ------------------------------------ 2020-08-25 19:03:38 | [Mutex] isItemNotified: node_w3pd220203:exists :: false 2020-08-25 19:03:38 | [Mutex] waiting for: [node_w3pd220203:create_node] 2020-08-25 19:03:38 | [Mutex] received everything. 2020-08-25 19:03:38 | [Mutex] isItemNotified: node_w3pd220203:create_node:success :: true 2020-08-25 19:03:38 | [Mutex] waiting for: [node_w3pd220203:subscribe_node] 2020-08-25 19:03:38 | [Mutex] waiting for: [node_w3pd220203:subscribe_node] 2020-08-25 19:03:38 | [Mutex] received everything. 2020-08-25 19:03:38 | [Mutex] isItemNotified: node_w3pd220203:subscribe_node:success :: true 2020-08-25 19:03:38 | ===== publishing normal message (to online) 2020-08-25 19:03:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 19:03:38 | command: <data><node>node_w3pd220203</node><entry><content>content_er80710204</content></entry></data> 2020-08-25 19:03:38 | target: http://localhost:8088 2020-08-25 19:03:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-25 19:03:38 | entity: <data><node>node_w3pd220203</node><entry><content>content_er80710204</content></entry></data> 2020-08-25 19:03:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:03:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 19:03:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>728a7bbf-ddfc-44ec-bb7d-64aa24006529</value></item-id></result> 2020-08-25 19:03:38 | contains: true 2020-08-25 19:03:38 | [Mutex] waiting for: [user_regularw8js4s0202@test-domain.com:message:received:content_er80710204] 2020-08-25 19:03:38 | [Mutex] received everything. 2020-08-25 19:03:38 | [Mutex] isItemNotified: user_regularw8js4s0202@test-domain.com:message:received:content_er80710204 :: true 2020-08-25 19:03:38 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-25 19:03:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 19:03:38 | command: <data><node>node_w3pd220203</node><expire-at>2020-08-26T02:03:33Z</expire-at><entry><content>content_a1zitx0205</content></entry></data> 2020-08-25 19:03:38 | target: http://localhost:8088 2020-08-25 19:03:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-25 19:03:38 | entity: <data><node>node_w3pd220203</node><expire-at>2020-08-26T02:03:33Z</expire-at><entry><content>content_a1zitx0205</content></entry></data> 2020-08-25 19:03:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:03:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 19:03:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>05911d34-0d55-44ae-9fcb-e0356b33d0ea</value></item-id></result> 2020-08-25 19:03:38 | contains: true 2020-08-25 19:03:38 | [Mutex] waiting for: [user_regularw8js4s0202@test-domain.com:message:received:content_a1zitx0205] 2020-08-25 19:03:53 | [Mutex] timeout. Not received [user_regularw8js4s0202@test-domain.com:message:received:content_a1zitx0205] 2020-08-25 19:03:53 | [Mutex] isItemNotified: user_regularw8js4s0202@test-domain.com:message:received:content_a1zitx0205 :: false 2020-08-25 19:03:53 | ===== publishing normal message (to offline) 2020-08-25 19:03:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 19:03:53 | command: <data><node>node_w3pd220203</node><entry><content>content_w9nudk0206</content></entry></data> 2020-08-25 19:03:53 | target: http://localhost:8088 2020-08-25 19:03:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-25 19:03:53 | entity: <data><node>node_w3pd220203</node><entry><content>content_w9nudk0206</content></entry></data> 2020-08-25 19:03:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:03:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 19:03:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1cfeac19-75c3-417b-8805-d52eda472729</value></item-id></result> 2020-08-25 19:03:53 | contains: true 2020-08-25 19:03:58 | [Mutex] waiting for: [user_regularw8js4s0202@test-domain.com:message:received:content_w9nudk0206] 2020-08-25 19:03:58 | [Mutex] waiting for: [user_regularw8js4s0202@test-domain.com:message:received:content_w9nudk0206] 2020-08-25 19:03:58 | [Mutex] received everything. 2020-08-25 19:03:58 | [Mutex] isItemNotified: user_regularw8js4s0202@test-domain.com:message:received:content_w9nudk0206 :: true 2020-08-25 19:03:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-25 19:03:58 | [Mutex] received everything. 2020-08-25 19:03:58 | [Mutex] isItemNotified: node_w3pd220203:subscribe_node:success :: true 2020-08-25 19:03:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 19:03:58 | command: <data><node>node_w3pd220203</node><expire-at>2020-08-26T02:04:03Z</expire-at><entry><content>content_hrkv2g0207</content></entry></data> 2020-08-25 19:03:58 | target: http://localhost:8088 2020-08-25 19:03:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-25 19:03:58 | entity: <data><node>node_w3pd220203</node><expire-at>2020-08-26T02:04:03Z</expire-at><entry><content>content_hrkv2g0207</content></entry></data> 2020-08-25 19:03:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 02:03:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 19:03:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c2787545-f01b-494d-a1b9-918ab48c3669</value></item-id></result> 2020-08-25 19:03:58 | contains: true 2020-08-25 19:04:07 | [Mutex] waiting for: [user_regularw8js4s0202@test-domain.com:message:received:content_hrkv2g0207] 2020-08-25 19:04:22 | [Mutex] timeout. Not received [user_regularw8js4s0202@test-domain.com:message:received:content_hrkv2g0207] 2020-08-25 19:04:22 | [Mutex] received everything. 2020-08-25 19:04:22 | [Mutex] isItemNotified: user_regularw8js4s0202@test-domain.com:message:received:content_hrkv2g0207 :: false 2020-08-25 19:04:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hrkv2g0207 :: true |