Test duration : 45.194s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.685s |
2021-03-01 21:36:48 |
2021-03-01 21:36:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-01 21:36:48 | ------------------------------------ 2021-03-01 21:36:48 | [Mutex] isItemNotified: node_tazmsi0203:exists :: false 2021-03-01 21:36:48 | [Mutex] waiting for: [node_tazmsi0203:create_node] 2021-03-01 21:36:48 | [Mutex] waiting for: [node_tazmsi0203:create_node] 2021-03-01 21:36:48 | [Mutex] received everything. 2021-03-01 21:36:48 | [Mutex] isItemNotified: node_tazmsi0203:create_node:success :: true 2021-03-01 21:36:48 | [Mutex] waiting for: [node_tazmsi0203:subscribe_node] 2021-03-01 21:36:48 | [Mutex] received everything. 2021-03-01 21:36:48 | [Mutex] isItemNotified: node_tazmsi0203:subscribe_node:success :: true 2021-03-01 21:36:48 | ===== publishing normal message (to online) 2021-03-01 21:36:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-01 21:36:48 | command: <data><node>node_tazmsi0203</node><entry><content>content_yaqgfj0204</content></entry></data> 2021-03-01 21:36:48 | target: http://localhost:8088 2021-03-01 21:36:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-01 21:36:48 | entity: <data><node>node_tazmsi0203</node><entry><content>content_yaqgfj0204</content></entry></data> 2021-03-01 21:36:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:36:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-01 21:36:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9dc01d91-feaf-4b82-aba8-225faef80a67</value></item-id></result> 2021-03-01 21:36:48 | contains: true 2021-03-01 21:36:48 | [Mutex] waiting for: [user_regularsw3sqj0202@test-domain.com:message:received:content_yaqgfj0204] 2021-03-01 21:36:48 | [Mutex] received everything. 2021-03-01 21:36:48 | [Mutex] isItemNotified: user_regularsw3sqj0202@test-domain.com:message:received:content_yaqgfj0204 :: true 2021-03-01 21:36:48 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-01 21:36:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-01 21:36:48 | command: <data><node>node_tazmsi0203</node><expire-at>2021-03-02T05:36:43Z</expire-at><entry><content>content_cokpt40205</content></entry></data> 2021-03-01 21:36:48 | target: http://localhost:8088 2021-03-01 21:36:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-01 21:36:48 | entity: <data><node>node_tazmsi0203</node><expire-at>2021-03-02T05:36:43Z</expire-at><entry><content>content_cokpt40205</content></entry></data> 2021-03-01 21:36:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:36:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-01 21:36:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ca2ed604-6624-4d09-a062-d07fdb641d73</value></item-id></result> 2021-03-01 21:36:48 | contains: true 2021-03-01 21:36:48 | [Mutex] waiting for: [user_regularsw3sqj0202@test-domain.com:message:received:content_cokpt40205] 2021-03-01 21:37:03 | [Mutex] timeout. Not received [user_regularsw3sqj0202@test-domain.com:message:received:content_cokpt40205] 2021-03-01 21:37:03 | [Mutex] isItemNotified: user_regularsw3sqj0202@test-domain.com:message:received:content_cokpt40205 :: false 2021-03-01 21:37:03 | ===== publishing normal message (to offline) 2021-03-01 21:37:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-01 21:37:03 | command: <data><node>node_tazmsi0203</node><entry><content>content_i5boo80206</content></entry></data> 2021-03-01 21:37:03 | target: http://localhost:8088 2021-03-01 21:37:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-01 21:37:03 | entity: <data><node>node_tazmsi0203</node><entry><content>content_i5boo80206</content></entry></data> 2021-03-01 21:37:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:37:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-01 21:37:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dd0417d3-51de-4ac1-92e4-11473406aa37</value></item-id></result> 2021-03-01 21:37:03 | contains: true 2021-03-01 21:37:09 | [Mutex] waiting for: [user_regularsw3sqj0202@test-domain.com:message:received:content_i5boo80206] 2021-03-01 21:37:09 | [Mutex] received everything. 2021-03-01 21:37:09 | [Mutex] isItemNotified: user_regularsw3sqj0202@test-domain.com:message:received:content_i5boo80206 :: true 2021-03-01 21:37:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-01 21:37:09 | [Mutex] received everything. 2021-03-01 21:37:09 | [Mutex] isItemNotified: node_tazmsi0203:subscribe_node:success :: true 2021-03-01 21:37:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-01 21:37:09 | command: <data><node>node_tazmsi0203</node><expire-at>2021-03-02T05:37:14Z</expire-at><entry><content>content_6mp4pf0207</content></entry></data> 2021-03-01 21:37:09 | target: http://localhost:8088 2021-03-01 21:37:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-01 21:37:09 | entity: <data><node>node_tazmsi0203</node><expire-at>2021-03-02T05:37:14Z</expire-at><entry><content>content_6mp4pf0207</content></entry></data> 2021-03-01 21:37:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:37:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-01 21:37:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9d43d32d-0e92-41a9-9984-cb92b08cf298</value></item-id></result> 2021-03-01 21:37:09 | contains: true 2021-03-01 21:37:17 | [Mutex] waiting for: [user_regularsw3sqj0202@test-domain.com:message:received:content_6mp4pf0207] 2021-03-01 21:37:32 | [Mutex] timeout. Not received [user_regularsw3sqj0202@test-domain.com:message:received:content_6mp4pf0207] 2021-03-01 21:37:32 | [Mutex] received everything. 2021-03-01 21:37:32 | [Mutex] isItemNotified: user_regularsw3sqj0202@test-domain.com:message:received:content_6mp4pf0207 :: false 2021-03-01 21:37:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6mp4pf0207 :: true |