Test duration : 45.258s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.783s |
2020-11-19 21:36:40 |
2020-11-19 21:36:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-19 21:36:40 | ------------------------------------ 2020-11-19 21:36:40 | [Mutex] isItemNotified: node_mp1rv40203:exists :: false 2020-11-19 21:36:40 | [Mutex] waiting for: [node_mp1rv40203:create_node] 2020-11-19 21:36:40 | [Mutex] received everything. 2020-11-19 21:36:40 | [Mutex] isItemNotified: node_mp1rv40203:create_node:success :: true 2020-11-19 21:36:40 | [Mutex] waiting for: [node_mp1rv40203:subscribe_node] 2020-11-19 21:36:40 | [Mutex] waiting for: [node_mp1rv40203:subscribe_node] 2020-11-19 21:36:40 | [Mutex] received everything. 2020-11-19 21:36:40 | [Mutex] isItemNotified: node_mp1rv40203:subscribe_node:success :: true 2020-11-19 21:36:40 | ===== publishing normal message (to online) 2020-11-19 21:36:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 21:36:40 | command: <data><node>node_mp1rv40203</node><entry><content>content_5zsan0204</content></entry></data> 2020-11-19 21:36:40 | target: http://localhost:8088 2020-11-19 21:36:40 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2020-11-19 21:36:40 | entity: <data><node>node_mp1rv40203</node><entry><content>content_5zsan0204</content></entry></data> 2020-11-19 21:36:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 05:36:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 21:36:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eb335321-04ac-431b-b51a-e47f66570502</value></item-id></result> 2020-11-19 21:36:40 | contains: true 2020-11-19 21:36:40 | [Mutex] received everything. 2020-11-19 21:36:40 | [Mutex] isItemNotified: user_regulard27f160202@test-domain.com:message:received:content_5zsan0204 :: true 2020-11-19 21:36:40 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-19 21:36:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 21:36:40 | command: <data><node>node_mp1rv40203</node><expire-at>2020-11-20T05:36:35Z</expire-at><entry><content>content_pcwi110205</content></entry></data> 2020-11-19 21:36:40 | target: http://localhost:8088 2020-11-19 21:36:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-19 21:36:40 | entity: <data><node>node_mp1rv40203</node><expire-at>2020-11-20T05:36:35Z</expire-at><entry><content>content_pcwi110205</content></entry></data> 2020-11-19 21:36:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 05:36:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 21:36:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c06f061-d314-4c1c-ab44-585ecc0893f4</value></item-id></result> 2020-11-19 21:36:40 | contains: true 2020-11-19 21:36:40 | [Mutex] waiting for: [user_regulard27f160202@test-domain.com:message:received:content_pcwi110205] 2020-11-19 21:36:55 | [Mutex] timeout. Not received [user_regulard27f160202@test-domain.com:message:received:content_pcwi110205] 2020-11-19 21:36:55 | [Mutex] isItemNotified: user_regulard27f160202@test-domain.com:message:received:content_pcwi110205 :: false 2020-11-19 21:36:55 | ===== publishing normal message (to offline) 2020-11-19 21:36:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 21:36:55 | command: <data><node>node_mp1rv40203</node><entry><content>content_qocjra0206</content></entry></data> 2020-11-19 21:36:55 | target: http://localhost:8088 2020-11-19 21:36:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-19 21:36:55 | entity: <data><node>node_mp1rv40203</node><entry><content>content_qocjra0206</content></entry></data> 2020-11-19 21:36:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 05:36:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 21:36:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>973c7bc4-abb6-49dc-96ad-b1d02b7f2176</value></item-id></result> 2020-11-19 21:36:55 | contains: true 2020-11-19 21:37:00 | [Mutex] waiting for: [user_regulard27f160202@test-domain.com:message:received:content_qocjra0206] 2020-11-19 21:37:00 | [Mutex] waiting for: [user_regulard27f160202@test-domain.com:message:received:content_qocjra0206] 2020-11-19 21:37:00 | [Mutex] received everything. 2020-11-19 21:37:00 | [Mutex] isItemNotified: user_regulard27f160202@test-domain.com:message:received:content_qocjra0206 :: true 2020-11-19 21:37:00 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-19 21:37:00 | [Mutex] received everything. 2020-11-19 21:37:00 | [Mutex] isItemNotified: node_mp1rv40203:subscribe_node:success :: true 2020-11-19 21:37:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 21:37:00 | command: <data><node>node_mp1rv40203</node><expire-at>2020-11-20T05:37:05Z</expire-at><entry><content>content_x0b3qd0207</content></entry></data> 2020-11-19 21:37:00 | target: http://localhost:8088 2020-11-19 21:37:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-19 21:37:00 | entity: <data><node>node_mp1rv40203</node><expire-at>2020-11-20T05:37:05Z</expire-at><entry><content>content_x0b3qd0207</content></entry></data> 2020-11-19 21:37:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 05:37:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 21:37:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5d348fe4-307a-4932-a25e-ddd9fa945808</value></item-id></result> 2020-11-19 21:37:00 | contains: true 2020-11-19 21:37:09 | [Mutex] waiting for: [user_regulard27f160202@test-domain.com:message:received:content_x0b3qd0207] 2020-11-19 21:37:24 | [Mutex] timeout. Not received [user_regulard27f160202@test-domain.com:message:received:content_x0b3qd0207] 2020-11-19 21:37:24 | [Mutex] received everything. 2020-11-19 21:37:24 | [Mutex] isItemNotified: user_regulard27f160202@test-domain.com:message:received:content_x0b3qd0207 :: false 2020-11-19 21:37:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_x0b3qd0207 :: true |