Test duration: 44.817s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.668s |
2020-05-26 22:46:25 |
2020-05-26 22:46:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-05-26 22:46:25 | ------------------------------------ 2020-05-26 22:46:25 | [Mutex] isItemNotified: node_p34vbn0206:exists :: false 2020-05-26 22:46:25 | [Mutex] waiting for: [node_p34vbn0206:create_node] 2020-05-26 22:46:26 | [Mutex] received everything. 2020-05-26 22:46:26 | [Mutex] isItemNotified: node_p34vbn0206:create_node:success :: true 2020-05-26 22:46:26 | [Mutex] waiting for: [node_p34vbn0206:subscribe_node] 2020-05-26 22:46:26 | [Mutex] received everything. 2020-05-26 22:46:26 | [Mutex] isItemNotified: node_p34vbn0206:subscribe_node:success :: true 2020-05-26 22:46:26 | ===== publishing normal message (to online) 2020-05-26 22:46:26 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-26 22:46:26 | command: <data><node>node_p34vbn0206</node><entry><content>content_q96fgu0207</content></entry></data> 2020-05-26 22:46:26 | target: http://localhost:8088 2020-05-26 22:46:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-05-26 22:46:26 | entity: <data><node>node_p34vbn0206</node><entry><content>content_q96fgu0207</content></entry></data> 2020-05-26 22:46:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 05:46:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-26 22:46:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>79538613-d2aa-4e93-87ee-757366819ffc</value></item-id></result> 2020-05-26 22:46:26 | contains: true 2020-05-26 22:46:26 | [Mutex] received everything. 2020-05-26 22:46:26 | [Mutex] isItemNotified: user_regulary79x8n0205@localhost:message:received:content_q96fgu0207 :: true 2020-05-26 22:46:26 | ===== publishing already old message - expecting message being filtered out (to online) 2020-05-26 22:46:26 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-26 22:46:26 | command: <data><node>node_p34vbn0206</node><expire-at>2020-05-27T05:46:21Z</expire-at><entry><content>content_5a9bhi0208</content></entry></data> 2020-05-26 22:46:26 | target: http://localhost:8088 2020-05-26 22:46:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-05-26 22:46:26 | entity: <data><node>node_p34vbn0206</node><expire-at>2020-05-27T05:46:21Z</expire-at><entry><content>content_5a9bhi0208</content></entry></data> 2020-05-26 22:46:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 05:46:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-26 22:46:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b5a0dd2-dc65-4f28-b9c3-3c8fffb8c0ff</value></item-id></result> 2020-05-26 22:46:26 | contains: true 2020-05-26 22:46:26 | [Mutex] waiting for: [user_regulary79x8n0205@localhost:message:received:content_5a9bhi0208] 2020-05-26 22:46:41 | [Mutex] timeout. Not received [user_regulary79x8n0205@localhost:message:received:content_5a9bhi0208] 2020-05-26 22:46:41 | [Mutex] isItemNotified: user_regulary79x8n0205@localhost:message:received:content_5a9bhi0208 :: false 2020-05-26 22:46:41 | ===== publishing normal message (to offline) 2020-05-26 22:46:41 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-26 22:46:41 | command: <data><node>node_p34vbn0206</node><entry><content>content_dxuwyo0209</content></entry></data> 2020-05-26 22:46:41 | target: http://localhost:8088 2020-05-26 22:46:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-05-26 22:46:41 | entity: <data><node>node_p34vbn0206</node><entry><content>content_dxuwyo0209</content></entry></data> 2020-05-26 22:46:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 05:46:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-26 22:46:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1d98c030-7e6f-41ae-82ce-a9a18ae75514</value></item-id></result> 2020-05-26 22:46:41 | contains: true 2020-05-26 22:46:46 | [Mutex] waiting for: [user_regulary79x8n0205@localhost:message:received:content_dxuwyo0209] 2020-05-26 22:46:46 | [Mutex] waiting for: [user_regulary79x8n0205@localhost:message:received:content_dxuwyo0209] 2020-05-26 22:46:46 | [Mutex] received everything. 2020-05-26 22:46:46 | [Mutex] isItemNotified: user_regulary79x8n0205@localhost:message:received:content_dxuwyo0209 :: true 2020-05-26 22:46:46 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-05-26 22:46:46 | [Mutex] received everything. 2020-05-26 22:46:46 | [Mutex] isItemNotified: node_p34vbn0206:subscribe_node:success :: true 2020-05-26 22:46:46 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-26 22:46:46 | command: <data><node>node_p34vbn0206</node><expire-at>2020-05-27T05:46:51Z</expire-at><entry><content>content_xnpecj0210</content></entry></data> 2020-05-26 22:46:46 | target: http://localhost:8088 2020-05-26 22:46:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-05-26 22:46:46 | entity: <data><node>node_p34vbn0206</node><expire-at>2020-05-27T05:46:51Z</expire-at><entry><content>content_xnpecj0210</content></entry></data> 2020-05-26 22:46:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 05:46:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-26 22:46:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0801a950-5bef-41bc-b768-7c70ab926470</value></item-id></result> 2020-05-26 22:46:46 | contains: true 2020-05-26 22:46:54 | [Mutex] waiting for: [user_regulary79x8n0205@localhost:message:received:content_xnpecj0210] 2020-05-26 22:46:54 | [Mutex] waiting for: [user_regulary79x8n0205@localhost:message:received:content_xnpecj0210] 2020-05-26 22:46:54 | [Mutex] waiting for: [user_regulary79x8n0205@localhost:message:received:content_xnpecj0210] 2020-05-26 22:47:09 | [Mutex] timeout. Not received [user_regulary79x8n0205@localhost:message:received:content_xnpecj0210] 2020-05-26 22:47:09 | [Mutex] received everything. 2020-05-26 22:47:09 | [Mutex] isItemNotified: user_regulary79x8n0205@localhost:message:received:content_xnpecj0210 :: false 2020-05-26 22:47:09 | [Mutex] isItemNotified: admin@localhost:message:received:content_xnpecj0210 :: true |