Test duration: 43.988s
| Passed Tests | ||
|---|---|---|
| tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
| testMessageExpiration | 43.350s |
2019-03-02 14:44:53 |
2019-03-02 14:44:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2019-03-02 14:44:53 | ------------------------------------ 2019-03-02 14:44:53 | [Mutex] isItemNotified: node_eixwlo0139:exists :: false 2019-03-02 14:44:53 | [Mutex] waiting for: [node_eixwlo0139:create_node] 2019-03-02 14:44:53 | [Mutex] received everything. 2019-03-02 14:44:53 | [Mutex] isItemNotified: node_eixwlo0139:create_node:success :: true 2019-03-02 14:44:53 | [Mutex] waiting for: [node_eixwlo0139:subscribe_node] 2019-03-02 14:44:53 | [Mutex] received everything. 2019-03-02 14:44:53 | [Mutex] isItemNotified: node_eixwlo0139:subscribe_node:success :: true 2019-03-02 14:44:53 | ===== publishing normal message (to online) 2019-03-02 14:44:53 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-03-02 14:44:53 | command: <data><node>node_eixwlo0139</node><entry><content>content_9577ei0140</content></entry></data> 2019-03-02 14:44:53 | target: http://localhost:8088 2019-03-02 14:44:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-03-02 14:44:53 | entity: <data><node>node_eixwlo0139</node><entry><content>content_9577ei0140</content></entry></data> 2019-03-02 14:44:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Mar 2019 17:44:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-03-02 14:44:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>95a99fac-3582-4b08-b029-6d946f07a984</value></item-id></result> 2019-03-02 14:44:53 | contains: true 2019-03-02 14:44:53 | [Mutex] received everything. 2019-03-02 14:44:53 | [Mutex] isItemNotified: user_regular1gjl0e0138@localhost:message:received:content_9577ei0140 :: true 2019-03-02 14:44:53 | ===== publishing already old message - expecting message being filtered out (to online) 2019-03-02 14:44:54 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-03-02 14:44:54 | command: <data><node>node_eixwlo0139</node><expire-at>2019-03-02T17:44:48Z</expire-at><entry><content>content_8nrqcf0141</content></entry></data> 2019-03-02 14:44:54 | target: http://localhost:8088 2019-03-02 14:44:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-03-02 14:44:54 | entity: <data><node>node_eixwlo0139</node><expire-at>2019-03-02T17:44:48Z</expire-at><entry><content>content_8nrqcf0141</content></entry></data> 2019-03-02 14:44:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Mar 2019 17:44:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-03-02 14:44:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>adcd747a-9e83-4069-a09b-b56ba75a62de</value></item-id></result> 2019-03-02 14:44:54 | contains: true 2019-03-02 14:44:54 | [Mutex] waiting for: [user_regular1gjl0e0138@localhost:message:received:content_8nrqcf0141] 2019-03-02 14:45:09 | [Mutex] timeout. Not received [user_regular1gjl0e0138@localhost:message:received:content_8nrqcf0141] 2019-03-02 14:45:09 | [Mutex] isItemNotified: user_regular1gjl0e0138@localhost:message:received:content_8nrqcf0141 :: false 2019-03-02 14:45:09 | ===== publishing normal message (to offline) 2019-03-02 14:45:09 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-03-02 14:45:09 | command: <data><node>node_eixwlo0139</node><entry><content>content_s7i45b0142</content></entry></data> 2019-03-02 14:45:09 | target: http://localhost:8088 2019-03-02 14:45:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-03-02 14:45:09 | entity: <data><node>node_eixwlo0139</node><entry><content>content_s7i45b0142</content></entry></data> 2019-03-02 14:45:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Mar 2019 17:45:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-03-02 14:45:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8232b4d6-d8ef-4378-a7f3-2a011dcb51e0</value></item-id></result> 2019-03-02 14:45:09 | contains: true 2019-03-02 14:45:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-03-02 14:45:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.start: DNS entry stored in session object: localhost:5222 2019-03-02 14:45:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.createSocket: Opening connection to localhost/127.0.0.1:5222 2019-03-02 14:45:14 | [Mutex] received everything. 2019-03-02 14:45:14 | [Mutex] isItemNotified: user_regular1gjl0e0138@localhost:message:received:content_s7i45b0142 :: true 2019-03-02 14:45:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2019-03-02 14:45:14 | [Mutex] received everything. 2019-03-02 14:45:14 | [Mutex] isItemNotified: node_eixwlo0139:subscribe_node:success :: true 2019-03-02 14:45:14 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-03-02 14:45:14 | command: <data><node>node_eixwlo0139</node><expire-at>2019-03-02T17:45:19Z</expire-at><entry><content>content_rkaro00143</content></entry></data> 2019-03-02 14:45:14 | target: http://localhost:8088 2019-03-02 14:45:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-03-02 14:45:14 | entity: <data><node>node_eixwlo0139</node><expire-at>2019-03-02T17:45:19Z</expire-at><entry><content>content_rkaro00143</content></entry></data> 2019-03-02 14:45:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Mar 2019 17:45:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-03-02 14:45:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>65d52949-466d-4340-b406-75ef5f63fa6e</value></item-id></result> 2019-03-02 14:45:14 | contains: true 2019-03-02 14:45:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-03-02 14:45:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.start: DNS entry stored in session object: localhost:5222 2019-03-02 14:45:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.createSocket: Opening connection to localhost/127.0.0.1:5222 2019-03-02 14:45:22 | [Mutex] waiting for: [user_regular1gjl0e0138@localhost:message:received:content_rkaro00143] 2019-03-02 14:45:37 | [Mutex] timeout. Not received [user_regular1gjl0e0138@localhost:message:received:content_rkaro00143] 2019-03-02 14:45:37 | [Mutex] received everything. 2019-03-02 14:45:37 | [Mutex] isItemNotified: user_regular1gjl0e0138@localhost:message:received:content_rkaro00143 :: false 2019-03-02 14:45:37 | [Mutex] isItemNotified: admin@localhost:message:received:content_rkaro00143 :: true |