Test duration : 45.448s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.901s |
2020-10-29 22:28:27 |
2020-10-29 22:28:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-29 22:28:27 | ------------------------------------ 2020-10-29 22:28:27 | [Mutex] isItemNotified: node_n6maea0203:exists :: false 2020-10-29 22:28:27 | [Mutex] waiting for: [node_n6maea0203:create_node] 2020-10-29 22:28:27 | [Mutex] received everything. 2020-10-29 22:28:27 | [Mutex] isItemNotified: node_n6maea0203:create_node:success :: true 2020-10-29 22:28:27 | [Mutex] waiting for: [node_n6maea0203:subscribe_node] 2020-10-29 22:28:27 | [Mutex] waiting for: [node_n6maea0203:subscribe_node] 2020-10-29 22:28:27 | [Mutex] received everything. 2020-10-29 22:28:27 | [Mutex] isItemNotified: node_n6maea0203:subscribe_node:success :: true 2020-10-29 22:28:27 | ===== publishing normal message (to online) 2020-10-29 22:28:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-29 22:28:27 | command: <data><node>node_n6maea0203</node><entry><content>content_5j2a0r0204</content></entry></data> 2020-10-29 22:28:27 | target: http://localhost:8088 2020-10-29 22:28:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-29 22:28:27 | entity: <data><node>node_n6maea0203</node><entry><content>content_5j2a0r0204</content></entry></data> 2020-10-29 22:28:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 05:28:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-29 22:28:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>074be87f-b847-4d0f-bc52-84c5ab068791</value></item-id></result> 2020-10-29 22:28:27 | contains: true 2020-10-29 22:28:27 | [Mutex] received everything. 2020-10-29 22:28:27 | [Mutex] isItemNotified: user_regularwzaa9b0202@test-domain.com:message:received:content_5j2a0r0204 :: true 2020-10-29 22:28:27 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-29 22:28:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-29 22:28:27 | command: <data><node>node_n6maea0203</node><expire-at>2020-10-30T05:28:22Z</expire-at><entry><content>content_t59iug0205</content></entry></data> 2020-10-29 22:28:27 | target: http://localhost:8088 2020-10-29 22:28:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-29 22:28:27 | entity: <data><node>node_n6maea0203</node><expire-at>2020-10-30T05:28:22Z</expire-at><entry><content>content_t59iug0205</content></entry></data> 2020-10-29 22:28:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 05:28:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-29 22:28:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0becfbe9-4316-497b-aa25-b9c2564b3d58</value></item-id></result> 2020-10-29 22:28:27 | contains: true 2020-10-29 22:28:27 | [Mutex] waiting for: [user_regularwzaa9b0202@test-domain.com:message:received:content_t59iug0205] 2020-10-29 22:28:42 | [Mutex] timeout. Not received [user_regularwzaa9b0202@test-domain.com:message:received:content_t59iug0205] 2020-10-29 22:28:42 | [Mutex] isItemNotified: user_regularwzaa9b0202@test-domain.com:message:received:content_t59iug0205 :: false 2020-10-29 22:28:42 | ===== publishing normal message (to offline) 2020-10-29 22:28:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-29 22:28:43 | command: <data><node>node_n6maea0203</node><entry><content>content_pr94690206</content></entry></data> 2020-10-29 22:28:43 | target: http://localhost:8088 2020-10-29 22:28:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-29 22:28:43 | entity: <data><node>node_n6maea0203</node><entry><content>content_pr94690206</content></entry></data> 2020-10-29 22:28:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 05:28:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-29 22:28:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>35d41eb6-34af-481f-93bd-3e15a4b572fa</value></item-id></result> 2020-10-29 22:28:43 | contains: true 2020-10-29 22:28:48 | [Mutex] waiting for: [user_regularwzaa9b0202@test-domain.com:message:received:content_pr94690206] 2020-10-29 22:28:48 | [Mutex] received everything. 2020-10-29 22:28:48 | [Mutex] isItemNotified: user_regularwzaa9b0202@test-domain.com:message:received:content_pr94690206 :: true 2020-10-29 22:28:48 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-29 22:28:48 | [Mutex] received everything. 2020-10-29 22:28:48 | [Mutex] isItemNotified: node_n6maea0203:subscribe_node:success :: true 2020-10-29 22:28:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-29 22:28:48 | command: <data><node>node_n6maea0203</node><expire-at>2020-10-30T05:28:53Z</expire-at><entry><content>content_i9qz8l0207</content></entry></data> 2020-10-29 22:28:48 | target: http://localhost:8088 2020-10-29 22:28:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-29 22:28:48 | entity: <data><node>node_n6maea0203</node><expire-at>2020-10-30T05:28:53Z</expire-at><entry><content>content_i9qz8l0207</content></entry></data> 2020-10-29 22:28:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 05:28:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-29 22:28:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>80f1726c-2ff8-4b51-b991-39191404df75</value></item-id></result> 2020-10-29 22:28:48 | contains: true 2020-10-29 22:28:56 | [Mutex] waiting for: [user_regularwzaa9b0202@test-domain.com:message:received:content_i9qz8l0207] 2020-10-29 22:28:56 | [Mutex] waiting for: [user_regularwzaa9b0202@test-domain.com:message:received:content_i9qz8l0207] 2020-10-29 22:28:56 | [Mutex] waiting for: [user_regularwzaa9b0202@test-domain.com:message:received:content_i9qz8l0207] 2020-10-29 22:29:11 | [Mutex] timeout. Not received [user_regularwzaa9b0202@test-domain.com:message:received:content_i9qz8l0207] 2020-10-29 22:29:11 | [Mutex] received everything. 2020-10-29 22:29:11 | [Mutex] isItemNotified: user_regularwzaa9b0202@test-domain.com:message:received:content_i9qz8l0207 :: false 2020-10-29 22:29:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_i9qz8l0207 :: true |