Test duration : 45.655s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.730s |
2020-09-09 22:44:15 |
2020-09-09 22:44:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-09 22:44:15 | ------------------------------------ 2020-09-09 22:44:15 | [Mutex] isItemNotified: node_a7vva90203:exists :: false 2020-09-09 22:44:15 | [Mutex] waiting for: [node_a7vva90203:create_node] 2020-09-09 22:44:15 | [Mutex] received everything. 2020-09-09 22:44:15 | [Mutex] isItemNotified: node_a7vva90203:create_node:success :: true 2020-09-09 22:44:15 | [Mutex] waiting for: [node_a7vva90203:subscribe_node] 2020-09-09 22:44:15 | [Mutex] received everything. 2020-09-09 22:44:15 | [Mutex] isItemNotified: node_a7vva90203:subscribe_node:success :: true 2020-09-09 22:44:15 | ===== publishing normal message (to online) 2020-09-09 22:44:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 22:44:15 | command: <data><node>node_a7vva90203</node><entry><content>content_yofapf0204</content></entry></data> 2020-09-09 22:44:15 | target: http://localhost:8088 2020-09-09 22:44:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 22:44:15 | entity: <data><node>node_a7vva90203</node><entry><content>content_yofapf0204</content></entry></data> 2020-09-09 22:44:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:44:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 22:44:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5fb440b3-95af-4125-8a05-7afa24dca8e4</value></item-id></result> 2020-09-09 22:44:15 | contains: true 2020-09-09 22:44:15 | [Mutex] waiting for: [user_regular9zenf20202@test-domain.com:message:received:content_yofapf0204] 2020-09-09 22:44:15 | [Mutex] received everything. 2020-09-09 22:44:15 | [Mutex] isItemNotified: user_regular9zenf20202@test-domain.com:message:received:content_yofapf0204 :: true 2020-09-09 22:44:15 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-09 22:44:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 22:44:15 | command: <data><node>node_a7vva90203</node><expire-at>2020-09-10T05:44:10Z</expire-at><entry><content>content_qh39e40205</content></entry></data> 2020-09-09 22:44:15 | target: http://localhost:8088 2020-09-09 22:44:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 22:44:15 | entity: <data><node>node_a7vva90203</node><expire-at>2020-09-10T05:44:10Z</expire-at><entry><content>content_qh39e40205</content></entry></data> 2020-09-09 22:44:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:44:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 22:44:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>61f50a1b-95ff-4838-9d74-24e44008b984</value></item-id></result> 2020-09-09 22:44:15 | contains: true 2020-09-09 22:44:15 | [Mutex] waiting for: [user_regular9zenf20202@test-domain.com:message:received:content_qh39e40205] 2020-09-09 22:44:30 | [Mutex] timeout. Not received [user_regular9zenf20202@test-domain.com:message:received:content_qh39e40205] 2020-09-09 22:44:30 | [Mutex] isItemNotified: user_regular9zenf20202@test-domain.com:message:received:content_qh39e40205 :: false 2020-09-09 22:44:30 | ===== publishing normal message (to offline) 2020-09-09 22:44:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 22:44:30 | command: <data><node>node_a7vva90203</node><entry><content>content_9b12030206</content></entry></data> 2020-09-09 22:44:30 | target: http://localhost:8088 2020-09-09 22:44:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 22:44:30 | entity: <data><node>node_a7vva90203</node><entry><content>content_9b12030206</content></entry></data> 2020-09-09 22:44:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:44:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 22:44:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e504bff2-71c0-4c68-8916-21fbabf9c85e</value></item-id></result> 2020-09-09 22:44:30 | contains: true 2020-09-09 22:44:36 | [Mutex] waiting for: [user_regular9zenf20202@test-domain.com:message:received:content_9b12030206] 2020-09-09 22:44:36 | [Mutex] waiting for: [user_regular9zenf20202@test-domain.com:message:received:content_9b12030206] 2020-09-09 22:44:36 | [Mutex] received everything. 2020-09-09 22:44:36 | [Mutex] isItemNotified: user_regular9zenf20202@test-domain.com:message:received:content_9b12030206 :: true 2020-09-09 22:44:36 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-09 22:44:36 | [Mutex] received everything. 2020-09-09 22:44:36 | [Mutex] isItemNotified: node_a7vva90203:subscribe_node:success :: true 2020-09-09 22:44:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 22:44:36 | command: <data><node>node_a7vva90203</node><expire-at>2020-09-10T05:44:41Z</expire-at><entry><content>content_atn4gk0207</content></entry></data> 2020-09-09 22:44:36 | target: http://localhost:8088 2020-09-09 22:44:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 22:44:36 | entity: <data><node>node_a7vva90203</node><expire-at>2020-09-10T05:44:41Z</expire-at><entry><content>content_atn4gk0207</content></entry></data> 2020-09-09 22:44:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Sep 2020 05:44:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 22:44:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dae48f0f-3720-4f6e-9e1e-347d8ed422ca</value></item-id></result> 2020-09-09 22:44:36 | contains: true 2020-09-09 22:44:44 | [Mutex] waiting for: [user_regular9zenf20202@test-domain.com:message:received:content_atn4gk0207] 2020-09-09 22:44:44 | [Mutex] waiting for: [user_regular9zenf20202@test-domain.com:message:received:content_atn4gk0207] 2020-09-09 22:44:44 | [Mutex] waiting for: [user_regular9zenf20202@test-domain.com:message:received:content_atn4gk0207] 2020-09-09 22:44:59 | [Mutex] timeout. Not received [user_regular9zenf20202@test-domain.com:message:received:content_atn4gk0207] 2020-09-09 22:44:59 | [Mutex] received everything. 2020-09-09 22:44:59 | [Mutex] isItemNotified: user_regular9zenf20202@test-domain.com:message:received:content_atn4gk0207 :: false 2020-09-09 22:44:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_atn4gk0207 :: true |