Test duration : 45.650s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.731s |
2020-09-07 00:38:57 |
2020-09-07 00:38:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-07 00:38:57 | ------------------------------------ 2020-09-07 00:38:57 | [Mutex] isItemNotified: node_bjwcuo0203:exists :: false 2020-09-07 00:38:57 | [Mutex] waiting for: [node_bjwcuo0203:create_node] 2020-09-07 00:38:57 | [Mutex] received everything. 2020-09-07 00:38:57 | [Mutex] isItemNotified: node_bjwcuo0203:create_node:success :: true 2020-09-07 00:38:57 | [Mutex] waiting for: [node_bjwcuo0203:subscribe_node] 2020-09-07 00:38:57 | [Mutex] waiting for: [node_bjwcuo0203:subscribe_node] 2020-09-07 00:38:57 | [Mutex] received everything. 2020-09-07 00:38:57 | [Mutex] isItemNotified: node_bjwcuo0203:subscribe_node:success :: true 2020-09-07 00:38:57 | ===== publishing normal message (to online) 2020-09-07 00:38:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-07 00:38:57 | command: <data><node>node_bjwcuo0203</node><entry><content>content_8izodf0204</content></entry></data> 2020-09-07 00:38:57 | target: http://localhost:8088 2020-09-07 00:38:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-07 00:38:57 | entity: <data><node>node_bjwcuo0203</node><entry><content>content_8izodf0204</content></entry></data> 2020-09-07 00:38:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 07:38:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-07 00:38:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2f0e9cff-4319-4984-874a-9a42c13ce6a5</value></item-id></result> 2020-09-07 00:38:57 | contains: true 2020-09-07 00:38:57 | [Mutex] waiting for: [user_regulara7kdkf0202@test-domain.com:message:received:content_8izodf0204] 2020-09-07 00:38:57 | [Mutex] received everything. 2020-09-07 00:38:57 | [Mutex] isItemNotified: user_regulara7kdkf0202@test-domain.com:message:received:content_8izodf0204 :: true 2020-09-07 00:38:57 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-07 00:38:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-07 00:38:57 | command: <data><node>node_bjwcuo0203</node><expire-at>2020-09-07T07:38:52Z</expire-at><entry><content>content_kn91wt0205</content></entry></data> 2020-09-07 00:38:57 | target: http://localhost:8088 2020-09-07 00:38:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-07 00:38:57 | entity: <data><node>node_bjwcuo0203</node><expire-at>2020-09-07T07:38:52Z</expire-at><entry><content>content_kn91wt0205</content></entry></data> 2020-09-07 00:38:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 07:38:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-07 00:38:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>581ee288-68f1-45ee-8b98-89a37d1f3f56</value></item-id></result> 2020-09-07 00:38:57 | contains: true 2020-09-07 00:38:57 | [Mutex] waiting for: [user_regulara7kdkf0202@test-domain.com:message:received:content_kn91wt0205] 2020-09-07 00:39:12 | [Mutex] timeout. Not received [user_regulara7kdkf0202@test-domain.com:message:received:content_kn91wt0205] 2020-09-07 00:39:12 | [Mutex] isItemNotified: user_regulara7kdkf0202@test-domain.com:message:received:content_kn91wt0205 :: false 2020-09-07 00:39:12 | ===== publishing normal message (to offline) 2020-09-07 00:39:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-07 00:39:12 | command: <data><node>node_bjwcuo0203</node><entry><content>content_iy1dl50206</content></entry></data> 2020-09-07 00:39:12 | target: http://localhost:8088 2020-09-07 00:39:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-07 00:39:12 | entity: <data><node>node_bjwcuo0203</node><entry><content>content_iy1dl50206</content></entry></data> 2020-09-07 00:39:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 07:39:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-07 00:39:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4ca22b38-4e86-4d8e-a58d-4a5d70f9ad99</value></item-id></result> 2020-09-07 00:39:12 | contains: true 2020-09-07 00:39:17 | [Mutex] waiting for: [user_regulara7kdkf0202@test-domain.com:message:received:content_iy1dl50206] 2020-09-07 00:39:17 | [Mutex] received everything. 2020-09-07 00:39:17 | [Mutex] isItemNotified: user_regulara7kdkf0202@test-domain.com:message:received:content_iy1dl50206 :: true 2020-09-07 00:39:17 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-07 00:39:17 | [Mutex] received everything. 2020-09-07 00:39:17 | [Mutex] isItemNotified: node_bjwcuo0203:subscribe_node:success :: true 2020-09-07 00:39:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-07 00:39:17 | command: <data><node>node_bjwcuo0203</node><expire-at>2020-09-07T07:39:22Z</expire-at><entry><content>content_1iuvhd0207</content></entry></data> 2020-09-07 00:39:17 | target: http://localhost:8088 2020-09-07 00:39:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-07 00:39:17 | entity: <data><node>node_bjwcuo0203</node><expire-at>2020-09-07T07:39:22Z</expire-at><entry><content>content_1iuvhd0207</content></entry></data> 2020-09-07 00:39:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 07 Sep 2020 07:39:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-07 00:39:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>19894a7b-9703-4c71-8dba-1fd3896fd271</value></item-id></result> 2020-09-07 00:39:17 | contains: true 2020-09-07 00:39:26 | [Mutex] waiting for: [user_regulara7kdkf0202@test-domain.com:message:received:content_1iuvhd0207] 2020-09-07 00:39:41 | [Mutex] timeout. Not received [user_regulara7kdkf0202@test-domain.com:message:received:content_1iuvhd0207] 2020-09-07 00:39:41 | [Mutex] received everything. 2020-09-07 00:39:41 | [Mutex] isItemNotified: user_regulara7kdkf0202@test-domain.com:message:received:content_1iuvhd0207 :: false 2020-09-07 00:39:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1iuvhd0207 :: true |