Test duration : 45.527s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.785s |
2020-11-26 21:28:50 |
2020-11-26 21:28:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-26 21:28:50 | ------------------------------------ 2020-11-26 21:28:50 | [Mutex] isItemNotified: node_awmakb0203:exists :: false 2020-11-26 21:28:50 | [Mutex] waiting for: [node_awmakb0203:create_node] 2020-11-26 21:28:50 | [Mutex] received everything. 2020-11-26 21:28:50 | [Mutex] isItemNotified: node_awmakb0203:create_node:success :: true 2020-11-26 21:28:50 | [Mutex] waiting for: [node_awmakb0203:subscribe_node] 2020-11-26 21:28:50 | [Mutex] waiting for: [node_awmakb0203:subscribe_node] 2020-11-26 21:28:50 | [Mutex] received everything. 2020-11-26 21:28:50 | [Mutex] isItemNotified: node_awmakb0203:subscribe_node:success :: true 2020-11-26 21:28:50 | ===== publishing normal message (to online) 2020-11-26 21:28:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:28:50 | command: <data><node>node_awmakb0203</node><entry><content>content_ejuir40204</content></entry></data> 2020-11-26 21:28:50 | target: http://localhost:8088 2020-11-26 21:28:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-26 21:28:50 | entity: <data><node>node_awmakb0203</node><entry><content>content_ejuir40204</content></entry></data> 2020-11-26 21:28:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:28:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:28:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3977e4d1-7aee-4938-87b6-0ebf85dabf45</value></item-id></result> 2020-11-26 21:28:50 | contains: true 2020-11-26 21:28:50 | [Mutex] waiting for: [user_regulard0bsd00202@test-domain.com:message:received:content_ejuir40204] 2020-11-26 21:28:50 | [Mutex] received everything. 2020-11-26 21:28:50 | [Mutex] isItemNotified: user_regulard0bsd00202@test-domain.com:message:received:content_ejuir40204 :: true 2020-11-26 21:28:50 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-26 21:28:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:28:50 | command: <data><node>node_awmakb0203</node><expire-at>2020-11-27T05:28:45Z</expire-at><entry><content>content_5gyel90205</content></entry></data> 2020-11-26 21:28:50 | target: http://localhost:8088 2020-11-26 21:28:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-26 21:28:50 | entity: <data><node>node_awmakb0203</node><expire-at>2020-11-27T05:28:45Z</expire-at><entry><content>content_5gyel90205</content></entry></data> 2020-11-26 21:28:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:28:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:28:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>564f8f6c-3c38-4069-8997-05dbd30a4c3a</value></item-id></result> 2020-11-26 21:28:50 | contains: true 2020-11-26 21:28:50 | [Mutex] waiting for: [user_regulard0bsd00202@test-domain.com:message:received:content_5gyel90205] 2020-11-26 21:29:05 | [Mutex] timeout. Not received [user_regulard0bsd00202@test-domain.com:message:received:content_5gyel90205] 2020-11-26 21:29:05 | [Mutex] isItemNotified: user_regulard0bsd00202@test-domain.com:message:received:content_5gyel90205 :: false 2020-11-26 21:29:05 | ===== publishing normal message (to offline) 2020-11-26 21:29:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:29:05 | command: <data><node>node_awmakb0203</node><entry><content>content_fb1wc10206</content></entry></data> 2020-11-26 21:29:05 | target: http://localhost:8088 2020-11-26 21:29:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-26 21:29:05 | entity: <data><node>node_awmakb0203</node><entry><content>content_fb1wc10206</content></entry></data> 2020-11-26 21:29:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:29:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:29:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>66062184-0146-47bc-a213-97d4ba03bc2c</value></item-id></result> 2020-11-26 21:29:05 | contains: true 2020-11-26 21:29:11 | [Mutex] received everything. 2020-11-26 21:29:11 | [Mutex] isItemNotified: user_regulard0bsd00202@test-domain.com:message:received:content_fb1wc10206 :: true 2020-11-26 21:29:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-26 21:29:11 | [Mutex] received everything. 2020-11-26 21:29:11 | [Mutex] isItemNotified: node_awmakb0203:subscribe_node:success :: true 2020-11-26 21:29:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-26 21:29:11 | command: <data><node>node_awmakb0203</node><expire-at>2020-11-27T05:29:16Z</expire-at><entry><content>content_x5uxkm0207</content></entry></data> 2020-11-26 21:29:11 | target: http://localhost:8088 2020-11-26 21:29:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-26 21:29:11 | entity: <data><node>node_awmakb0203</node><expire-at>2020-11-27T05:29:16Z</expire-at><entry><content>content_x5uxkm0207</content></entry></data> 2020-11-26 21:29:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 Nov 2020 05:29:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-26 21:29:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b817c971-7f0a-4387-bfff-58b6241e6011</value></item-id></result> 2020-11-26 21:29:11 | contains: true 2020-11-26 21:29:19 | [Mutex] waiting for: [user_regulard0bsd00202@test-domain.com:message:received:content_x5uxkm0207] 2020-11-26 21:29:19 | [Mutex] waiting for: [user_regulard0bsd00202@test-domain.com:message:received:content_x5uxkm0207] 2020-11-26 21:29:34 | [Mutex] timeout. Not received [user_regulard0bsd00202@test-domain.com:message:received:content_x5uxkm0207] 2020-11-26 21:29:34 | [Mutex] received everything. 2020-11-26 21:29:34 | [Mutex] isItemNotified: user_regulard0bsd00202@test-domain.com:message:received:content_x5uxkm0207 :: false 2020-11-26 21:29:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_x5uxkm0207 :: true |