Test duration : 45.682s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.747s |
2020-12-29 21:57:46 |
2020-12-29 21:57:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-12-29 21:57:46 | ------------------------------------ 2020-12-29 21:57:46 | [Mutex] isItemNotified: node_amfkhe0203:exists :: false 2020-12-29 21:57:46 | [Mutex] waiting for: [node_amfkhe0203:create_node] 2020-12-29 21:57:46 | [Mutex] received everything. 2020-12-29 21:57:46 | [Mutex] isItemNotified: node_amfkhe0203:create_node:success :: true 2020-12-29 21:57:46 | [Mutex] waiting for: [node_amfkhe0203:subscribe_node] 2020-12-29 21:57:46 | [Mutex] waiting for: [node_amfkhe0203:subscribe_node] 2020-12-29 21:57:46 | [Mutex] received everything. 2020-12-29 21:57:46 | [Mutex] isItemNotified: node_amfkhe0203:subscribe_node:success :: true 2020-12-29 21:57:46 | ===== publishing normal message (to online) 2020-12-29 21:57:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:57:46 | command: <data><node>node_amfkhe0203</node><entry><content>content_gqqiu80204</content></entry></data> 2020-12-29 21:57:46 | target: http://localhost:8088 2020-12-29 21:57:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-29 21:57:46 | entity: <data><node>node_amfkhe0203</node><entry><content>content_gqqiu80204</content></entry></data> 2020-12-29 21:57:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:57:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:57:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fff56928-387d-4b42-a5fe-42a9b96efbd1</value></item-id></result> 2020-12-29 21:57:46 | contains: true 2020-12-29 21:57:46 | [Mutex] waiting for: [user_regularvqg7o90202@test-domain.com:message:received:content_gqqiu80204] 2020-12-29 21:57:46 | [Mutex] received everything. 2020-12-29 21:57:46 | [Mutex] isItemNotified: user_regularvqg7o90202@test-domain.com:message:received:content_gqqiu80204 :: true 2020-12-29 21:57:46 | ===== publishing already old message - expecting message being filtered out (to online) 2020-12-29 21:57:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:57:46 | command: <data><node>node_amfkhe0203</node><expire-at>2020-12-30T05:57:41Z</expire-at><entry><content>content_et32gv0205</content></entry></data> 2020-12-29 21:57:46 | target: http://localhost:8088 2020-12-29 21:57:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-29 21:57:46 | entity: <data><node>node_amfkhe0203</node><expire-at>2020-12-30T05:57:41Z</expire-at><entry><content>content_et32gv0205</content></entry></data> 2020-12-29 21:57:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:57:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:57:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ad790af4-366b-4a29-aa96-1bf330ed93b4</value></item-id></result> 2020-12-29 21:57:46 | contains: true 2020-12-29 21:57:46 | [Mutex] waiting for: [user_regularvqg7o90202@test-domain.com:message:received:content_et32gv0205] 2020-12-29 21:58:01 | [Mutex] timeout. Not received [user_regularvqg7o90202@test-domain.com:message:received:content_et32gv0205] 2020-12-29 21:58:01 | [Mutex] isItemNotified: user_regularvqg7o90202@test-domain.com:message:received:content_et32gv0205 :: false 2020-12-29 21:58:01 | ===== publishing normal message (to offline) 2020-12-29 21:58:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:58:01 | command: <data><node>node_amfkhe0203</node><entry><content>content_ixxnt60206</content></entry></data> 2020-12-29 21:58:01 | target: http://localhost:8088 2020-12-29 21:58:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-12-29 21:58:01 | entity: <data><node>node_amfkhe0203</node><entry><content>content_ixxnt60206</content></entry></data> 2020-12-29 21:58:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:58:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:58:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2ebb1ebf-2f3b-4bce-a001-dc880e9d6be3</value></item-id></result> 2020-12-29 21:58:01 | contains: true 2020-12-29 21:58:07 | [Mutex] waiting for: [user_regularvqg7o90202@test-domain.com:message:received:content_ixxnt60206] 2020-12-29 21:58:07 | [Mutex] received everything. 2020-12-29 21:58:07 | [Mutex] isItemNotified: user_regularvqg7o90202@test-domain.com:message:received:content_ixxnt60206 :: true 2020-12-29 21:58:07 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-12-29 21:58:07 | [Mutex] received everything. 2020-12-29 21:58:07 | [Mutex] isItemNotified: node_amfkhe0203:subscribe_node:success :: true 2020-12-29 21:58:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-12-29 21:58:07 | command: <data><node>node_amfkhe0203</node><expire-at>2020-12-30T05:58:12Z</expire-at><entry><content>content_jyl1e90207</content></entry></data> 2020-12-29 21:58:07 | target: http://localhost:8088 2020-12-29 21:58:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-12-29 21:58:07 | entity: <data><node>node_amfkhe0203</node><expire-at>2020-12-30T05:58:12Z</expire-at><entry><content>content_jyl1e90207</content></entry></data> 2020-12-29 21:58:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Dec 2020 05:58:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-12-29 21:58:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>88715e29-5a96-46eb-a225-65484e0b469d</value></item-id></result> 2020-12-29 21:58:07 | contains: true 2020-12-29 21:58:15 | [Mutex] waiting for: [user_regularvqg7o90202@test-domain.com:message:received:content_jyl1e90207] 2020-12-29 21:58:30 | [Mutex] timeout. Not received [user_regularvqg7o90202@test-domain.com:message:received:content_jyl1e90207] 2020-12-29 21:58:30 | [Mutex] received everything. 2020-12-29 21:58:30 | [Mutex] isItemNotified: user_regularvqg7o90202@test-domain.com:message:received:content_jyl1e90207 :: false 2020-12-29 21:58:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jyl1e90207 :: true |