Test duration : 45.760s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.723s |
2020-09-02 22:59:33 |
2020-09-02 22:59:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-02 22:59:33 | ------------------------------------ 2020-09-02 22:59:33 | [Mutex] isItemNotified: node_hyhnft0203:exists :: false 2020-09-02 22:59:33 | [Mutex] waiting for: [node_hyhnft0203:create_node] 2020-09-02 22:59:33 | [Mutex] received everything. 2020-09-02 22:59:33 | [Mutex] isItemNotified: node_hyhnft0203:create_node:success :: true 2020-09-02 22:59:33 | [Mutex] waiting for: [node_hyhnft0203:subscribe_node] 2020-09-02 22:59:33 | [Mutex] waiting for: [node_hyhnft0203:subscribe_node] 2020-09-02 22:59:33 | [Mutex] received everything. 2020-09-02 22:59:33 | [Mutex] isItemNotified: node_hyhnft0203:subscribe_node:success :: true 2020-09-02 22:59:33 | ===== publishing normal message (to online) 2020-09-02 22:59:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-02 22:59:33 | command: <data><node>node_hyhnft0203</node><entry><content>content_g5m9cl0204</content></entry></data> 2020-09-02 22:59:33 | target: http://localhost:8088 2020-09-02 22:59:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-02 22:59:33 | entity: <data><node>node_hyhnft0203</node><entry><content>content_g5m9cl0204</content></entry></data> 2020-09-02 22:59:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:59:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-02 22:59:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a2db4de9-fcad-4bb4-9ab3-1c6e7ea22d5b</value></item-id></result> 2020-09-02 22:59:33 | contains: true 2020-09-02 22:59:33 | [Mutex] received everything. 2020-09-02 22:59:33 | [Mutex] isItemNotified: user_regulartqwvos0202@test-domain.com:message:received:content_g5m9cl0204 :: true 2020-09-02 22:59:33 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-02 22:59:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-02 22:59:33 | command: <data><node>node_hyhnft0203</node><expire-at>2020-09-03T05:59:28Z</expire-at><entry><content>content_pz1f420205</content></entry></data> 2020-09-02 22:59:33 | target: http://localhost:8088 2020-09-02 22:59:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-02 22:59:33 | entity: <data><node>node_hyhnft0203</node><expire-at>2020-09-03T05:59:28Z</expire-at><entry><content>content_pz1f420205</content></entry></data> 2020-09-02 22:59:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:59:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-02 22:59:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>06dc2a3f-eda5-45e7-954e-c38c259f7a74</value></item-id></result> 2020-09-02 22:59:33 | contains: true 2020-09-02 22:59:33 | [Mutex] waiting for: [user_regulartqwvos0202@test-domain.com:message:received:content_pz1f420205] 2020-09-02 22:59:48 | [Mutex] timeout. Not received [user_regulartqwvos0202@test-domain.com:message:received:content_pz1f420205] 2020-09-02 22:59:48 | [Mutex] isItemNotified: user_regulartqwvos0202@test-domain.com:message:received:content_pz1f420205 :: false 2020-09-02 22:59:48 | ===== publishing normal message (to offline) 2020-09-02 22:59:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-02 22:59:48 | command: <data><node>node_hyhnft0203</node><entry><content>content_n177io0206</content></entry></data> 2020-09-02 22:59:48 | target: http://localhost:8088 2020-09-02 22:59:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-02 22:59:48 | entity: <data><node>node_hyhnft0203</node><entry><content>content_n177io0206</content></entry></data> 2020-09-02 22:59:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:59:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-02 22:59:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>140cf1c0-3cf0-4c05-b714-ecd76e3fb8c9</value></item-id></result> 2020-09-02 22:59:48 | contains: true 2020-09-02 22:59:53 | [Mutex] waiting for: [user_regulartqwvos0202@test-domain.com:message:received:content_n177io0206] 2020-09-02 22:59:53 | [Mutex] received everything. 2020-09-02 22:59:53 | [Mutex] isItemNotified: user_regulartqwvos0202@test-domain.com:message:received:content_n177io0206 :: true 2020-09-02 22:59:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-02 22:59:53 | [Mutex] received everything. 2020-09-02 22:59:53 | [Mutex] isItemNotified: node_hyhnft0203:subscribe_node:success :: true 2020-09-02 22:59:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-02 22:59:53 | command: <data><node>node_hyhnft0203</node><expire-at>2020-09-03T05:59:58Z</expire-at><entry><content>content_w4eubh0207</content></entry></data> 2020-09-02 22:59:53 | target: http://localhost:8088 2020-09-02 22:59:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-02 22:59:53 | entity: <data><node>node_hyhnft0203</node><expire-at>2020-09-03T05:59:58Z</expire-at><entry><content>content_w4eubh0207</content></entry></data> 2020-09-02 22:59:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:59:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-02 22:59:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fe373833-1477-41f3-9bb0-ca2214df13a6</value></item-id></result> 2020-09-02 22:59:53 | contains: true 2020-09-02 23:00:01 | [Mutex] waiting for: [user_regulartqwvos0202@test-domain.com:message:received:content_w4eubh0207] 2020-09-02 23:00:01 | [Mutex] waiting for: [user_regulartqwvos0202@test-domain.com:message:received:content_w4eubh0207] 2020-09-02 23:00:16 | [Mutex] timeout. Not received [user_regulartqwvos0202@test-domain.com:message:received:content_w4eubh0207] 2020-09-02 23:00:16 | [Mutex] received everything. 2020-09-02 23:00:16 | [Mutex] isItemNotified: user_regulartqwvos0202@test-domain.com:message:received:content_w4eubh0207 :: false 2020-09-02 23:00:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w4eubh0207 :: true |