Test duration : 45.948s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.816s |
2020-11-03 21:41:13 |
2020-11-03 21:41:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-03 21:41:13 | ------------------------------------ 2020-11-03 21:41:13 | [Mutex] isItemNotified: node_of20j00203:exists :: false 2020-11-03 21:41:13 | [Mutex] waiting for: [node_of20j00203:create_node] 2020-11-03 21:41:13 | [Mutex] received everything. 2020-11-03 21:41:13 | [Mutex] isItemNotified: node_of20j00203:create_node:success :: true 2020-11-03 21:41:13 | [Mutex] waiting for: [node_of20j00203:subscribe_node] 2020-11-03 21:41:13 | [Mutex] waiting for: [node_of20j00203:subscribe_node] 2020-11-03 21:41:13 | [Mutex] received everything. 2020-11-03 21:41:13 | [Mutex] isItemNotified: node_of20j00203:subscribe_node:success :: true 2020-11-03 21:41:13 | ===== publishing normal message (to online) 2020-11-03 21:41:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-03 21:41:13 | command: <data><node>node_of20j00203</node><entry><content>content_qq3ro90204</content></entry></data> 2020-11-03 21:41:13 | target: http://localhost:8088 2020-11-03 21:41:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-03 21:41:13 | entity: <data><node>node_of20j00203</node><entry><content>content_qq3ro90204</content></entry></data> 2020-11-03 21:41:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:41:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-03 21:41:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>963f5bad-fe1b-4745-b208-2c85af6c50a8</value></item-id></result> 2020-11-03 21:41:13 | contains: true 2020-11-03 21:41:13 | [Mutex] received everything. 2020-11-03 21:41:13 | [Mutex] isItemNotified: user_regularfjguoz0202@test-domain.com:message:received:content_qq3ro90204 :: true 2020-11-03 21:41:13 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-03 21:41:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-03 21:41:13 | command: <data><node>node_of20j00203</node><expire-at>2020-11-04T05:41:08Z</expire-at><entry><content>content_9jtf7t0205</content></entry></data> 2020-11-03 21:41:13 | target: http://localhost:8088 2020-11-03 21:41:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-03 21:41:13 | entity: <data><node>node_of20j00203</node><expire-at>2020-11-04T05:41:08Z</expire-at><entry><content>content_9jtf7t0205</content></entry></data> 2020-11-03 21:41:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:41:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-03 21:41:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e4b8e1c6-9a1b-43ef-94b0-3ed771f7281c</value></item-id></result> 2020-11-03 21:41:13 | contains: true 2020-11-03 21:41:13 | [Mutex] waiting for: [user_regularfjguoz0202@test-domain.com:message:received:content_9jtf7t0205] 2020-11-03 21:41:28 | [Mutex] timeout. Not received [user_regularfjguoz0202@test-domain.com:message:received:content_9jtf7t0205] 2020-11-03 21:41:28 | [Mutex] isItemNotified: user_regularfjguoz0202@test-domain.com:message:received:content_9jtf7t0205 :: false 2020-11-03 21:41:28 | ===== publishing normal message (to offline) 2020-11-03 21:41:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-03 21:41:28 | command: <data><node>node_of20j00203</node><entry><content>content_55v8m00206</content></entry></data> 2020-11-03 21:41:28 | target: http://localhost:8088 2020-11-03 21:41:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-03 21:41:28 | entity: <data><node>node_of20j00203</node><entry><content>content_55v8m00206</content></entry></data> 2020-11-03 21:41:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:41:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-03 21:41:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c1e2288-15ea-4885-9c4b-496fb57e1754</value></item-id></result> 2020-11-03 21:41:28 | contains: true 2020-11-03 21:41:33 | [Mutex] waiting for: [user_regularfjguoz0202@test-domain.com:message:received:content_55v8m00206] 2020-11-03 21:41:33 | [Mutex] waiting for: [user_regularfjguoz0202@test-domain.com:message:received:content_55v8m00206] 2020-11-03 21:41:33 | [Mutex] received everything. 2020-11-03 21:41:33 | [Mutex] isItemNotified: user_regularfjguoz0202@test-domain.com:message:received:content_55v8m00206 :: true 2020-11-03 21:41:33 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-03 21:41:33 | [Mutex] received everything. 2020-11-03 21:41:33 | [Mutex] isItemNotified: node_of20j00203:subscribe_node:success :: true 2020-11-03 21:41:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-03 21:41:33 | command: <data><node>node_of20j00203</node><expire-at>2020-11-04T05:41:38Z</expire-at><entry><content>content_9frhvm0207</content></entry></data> 2020-11-03 21:41:33 | target: http://localhost:8088 2020-11-03 21:41:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-03 21:41:33 | entity: <data><node>node_of20j00203</node><expire-at>2020-11-04T05:41:38Z</expire-at><entry><content>content_9frhvm0207</content></entry></data> 2020-11-03 21:41:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Nov 2020 05:41:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-03 21:41:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>22ec34b4-cda6-4fe2-afae-f10ad08ea665</value></item-id></result> 2020-11-03 21:41:33 | contains: true 2020-11-03 21:41:41 | [Mutex] waiting for: [user_regularfjguoz0202@test-domain.com:message:received:content_9frhvm0207] 2020-11-03 21:41:56 | [Mutex] timeout. Not received [user_regularfjguoz0202@test-domain.com:message:received:content_9frhvm0207] 2020-11-03 21:41:56 | [Mutex] received everything. 2020-11-03 21:41:56 | [Mutex] isItemNotified: user_regularfjguoz0202@test-domain.com:message:received:content_9frhvm0207 :: false 2020-11-03 21:41:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9frhvm0207 :: true |