Test duration : 45.396s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.748s |
2020-09-26 22:48:58 |
2020-09-26 22:48:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-26 22:48:58 | ------------------------------------ 2020-09-26 22:48:58 | [Mutex] isItemNotified: node_o5i7th0203:exists :: false 2020-09-26 22:48:58 | [Mutex] waiting for: [node_o5i7th0203:create_node] 2020-09-26 22:48:58 | [Mutex] received everything. 2020-09-26 22:48:58 | [Mutex] isItemNotified: node_o5i7th0203:create_node:success :: true 2020-09-26 22:48:58 | [Mutex] waiting for: [node_o5i7th0203:subscribe_node] 2020-09-26 22:48:58 | [Mutex] received everything. 2020-09-26 22:48:58 | [Mutex] isItemNotified: node_o5i7th0203:subscribe_node:success :: true 2020-09-26 22:48:58 | ===== publishing normal message (to online) 2020-09-26 22:48:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-26 22:48:58 | command: <data><node>node_o5i7th0203</node><entry><content>content_xhhf3v0204</content></entry></data> 2020-09-26 22:48:58 | target: http://localhost:8088 2020-09-26 22:48:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-26 22:48:58 | entity: <data><node>node_o5i7th0203</node><entry><content>content_xhhf3v0204</content></entry></data> 2020-09-26 22:48:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:48:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-26 22:48:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>022c786e-417d-4d36-990d-2a11e6598447</value></item-id></result> 2020-09-26 22:48:58 | contains: true 2020-09-26 22:48:58 | [Mutex] received everything. 2020-09-26 22:48:58 | [Mutex] isItemNotified: user_regularkrsn920202@test-domain.com:message:received:content_xhhf3v0204 :: true 2020-09-26 22:48:58 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-26 22:48:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-26 22:48:58 | command: <data><node>node_o5i7th0203</node><expire-at>2020-09-27T05:48:53Z</expire-at><entry><content>content_qya6gy0205</content></entry></data> 2020-09-26 22:48:58 | target: http://localhost:8088 2020-09-26 22:48:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-26 22:48:58 | entity: <data><node>node_o5i7th0203</node><expire-at>2020-09-27T05:48:53Z</expire-at><entry><content>content_qya6gy0205</content></entry></data> 2020-09-26 22:48:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:48:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-26 22:48:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0abb4494-dd8c-40ac-b763-05c59b46e8b2</value></item-id></result> 2020-09-26 22:48:58 | contains: true 2020-09-26 22:48:58 | [Mutex] waiting for: [user_regularkrsn920202@test-domain.com:message:received:content_qya6gy0205] 2020-09-26 22:49:13 | [Mutex] timeout. Not received [user_regularkrsn920202@test-domain.com:message:received:content_qya6gy0205] 2020-09-26 22:49:13 | [Mutex] isItemNotified: user_regularkrsn920202@test-domain.com:message:received:content_qya6gy0205 :: false 2020-09-26 22:49:13 | ===== publishing normal message (to offline) 2020-09-26 22:49:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-26 22:49:13 | command: <data><node>node_o5i7th0203</node><entry><content>content_240wt70206</content></entry></data> 2020-09-26 22:49:13 | target: http://localhost:8088 2020-09-26 22:49:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-26 22:49:13 | entity: <data><node>node_o5i7th0203</node><entry><content>content_240wt70206</content></entry></data> 2020-09-26 22:49:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:49:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-26 22:49:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c1e47c84-0ad8-40dd-bef0-a6b958dd98be</value></item-id></result> 2020-09-26 22:49:13 | contains: true 2020-09-26 22:49:18 | [Mutex] waiting for: [user_regularkrsn920202@test-domain.com:message:received:content_240wt70206] 2020-09-26 22:49:18 | [Mutex] received everything. 2020-09-26 22:49:18 | [Mutex] isItemNotified: user_regularkrsn920202@test-domain.com:message:received:content_240wt70206 :: true 2020-09-26 22:49:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-26 22:49:18 | [Mutex] received everything. 2020-09-26 22:49:18 | [Mutex] isItemNotified: node_o5i7th0203:subscribe_node:success :: true 2020-09-26 22:49:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-26 22:49:18 | command: <data><node>node_o5i7th0203</node><expire-at>2020-09-27T05:49:23Z</expire-at><entry><content>content_a0bzsw0207</content></entry></data> 2020-09-26 22:49:18 | target: http://localhost:8088 2020-09-26 22:49:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-26 22:49:18 | entity: <data><node>node_o5i7th0203</node><expire-at>2020-09-27T05:49:23Z</expire-at><entry><content>content_a0bzsw0207</content></entry></data> 2020-09-26 22:49:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 27 Sep 2020 05:49:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-26 22:49:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7e8d8b2e-48dc-40f2-8182-a867d6463186</value></item-id></result> 2020-09-26 22:49:18 | contains: true 2020-09-26 22:49:26 | [Mutex] waiting for: [user_regularkrsn920202@test-domain.com:message:received:content_a0bzsw0207] 2020-09-26 22:49:26 | [Mutex] waiting for: [user_regularkrsn920202@test-domain.com:message:received:content_a0bzsw0207] 2020-09-26 22:49:41 | [Mutex] timeout. Not received [user_regularkrsn920202@test-domain.com:message:received:content_a0bzsw0207] 2020-09-26 22:49:41 | [Mutex] received everything. 2020-09-26 22:49:41 | [Mutex] isItemNotified: user_regularkrsn920202@test-domain.com:message:received:content_a0bzsw0207 :: false 2020-09-26 22:49:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_a0bzsw0207 :: true |