Test duration: 44.824s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.653s |
2020-03-29 22:45:20 |
2020-03-29 22:45:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-03-29 22:45:20 | ------------------------------------ 2020-03-29 22:45:20 | [Mutex] isItemNotified: node_ocxfbp0205:exists :: false 2020-03-29 22:45:20 | [Mutex] waiting for: [node_ocxfbp0205:create_node] 2020-03-29 22:45:20 | [Mutex] received everything. 2020-03-29 22:45:20 | [Mutex] isItemNotified: node_ocxfbp0205:create_node:success :: true 2020-03-29 22:45:20 | [Mutex] waiting for: [node_ocxfbp0205:subscribe_node] 2020-03-29 22:45:20 | [Mutex] received everything. 2020-03-29 22:45:20 | [Mutex] isItemNotified: node_ocxfbp0205:subscribe_node:success :: true 2020-03-29 22:45:20 | ===== publishing normal message (to online) 2020-03-29 22:45:20 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-03-29 22:45:20 | command: <data><node>node_ocxfbp0205</node><entry><content>content_umeusr0206</content></entry></data> 2020-03-29 22:45:20 | target: http://localhost:8088 2020-03-29 22:45:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-03-29 22:45:20 | entity: <data><node>node_ocxfbp0205</node><entry><content>content_umeusr0206</content></entry></data> 2020-03-29 22:45:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Mar 2020 05:45:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-03-29 22:45:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>af177f23-33a9-41db-8aae-fa9c02296868</value></item-id></result> 2020-03-29 22:45:20 | contains: true 2020-03-29 22:45:20 | [Mutex] received everything. 2020-03-29 22:45:20 | [Mutex] isItemNotified: user_regular8lm9850204@localhost:message:received:content_umeusr0206 :: true 2020-03-29 22:45:20 | ===== publishing already old message - expecting message being filtered out (to online) 2020-03-29 22:45:20 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-03-29 22:45:20 | command: <data><node>node_ocxfbp0205</node><expire-at>2020-03-30T05:45:15Z</expire-at><entry><content>content_h8a5y90207</content></entry></data> 2020-03-29 22:45:20 | target: http://localhost:8088 2020-03-29 22:45:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-03-29 22:45:20 | entity: <data><node>node_ocxfbp0205</node><expire-at>2020-03-30T05:45:15Z</expire-at><entry><content>content_h8a5y90207</content></entry></data> 2020-03-29 22:45:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Mar 2020 05:45:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-03-29 22:45:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f558f461-7623-4d73-82e8-6dbda348f95f</value></item-id></result> 2020-03-29 22:45:20 | contains: true 2020-03-29 22:45:20 | [Mutex] waiting for: [user_regular8lm9850204@localhost:message:received:content_h8a5y90207] 2020-03-29 22:45:35 | [Mutex] timeout. Not received [user_regular8lm9850204@localhost:message:received:content_h8a5y90207] 2020-03-29 22:45:35 | [Mutex] isItemNotified: user_regular8lm9850204@localhost:message:received:content_h8a5y90207 :: false 2020-03-29 22:45:35 | ===== publishing normal message (to offline) 2020-03-29 22:45:35 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-03-29 22:45:35 | command: <data><node>node_ocxfbp0205</node><entry><content>content_e588ia0208</content></entry></data> 2020-03-29 22:45:35 | target: http://localhost:8088 2020-03-29 22:45:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-03-29 22:45:35 | entity: <data><node>node_ocxfbp0205</node><entry><content>content_e588ia0208</content></entry></data> 2020-03-29 22:45:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Mar 2020 05:45:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-03-29 22:45:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>777ffc86-0562-479b-b604-5bcf69b89dbf</value></item-id></result> 2020-03-29 22:45:35 | contains: true 2020-03-29 22:45:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-03-29 22:45:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] DNS entry stored in session object: localhost:5222 2020-03-29 22:45:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=489 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-03-29 22:45:41 | [Mutex] waiting for: [user_regular8lm9850204@localhost:message:received:content_e588ia0208] 2020-03-29 22:45:41 | [Mutex] waiting for: [user_regular8lm9850204@localhost:message:received:content_e588ia0208] 2020-03-29 22:45:41 | [Mutex] received everything. 2020-03-29 22:45:41 | [Mutex] isItemNotified: user_regular8lm9850204@localhost:message:received:content_e588ia0208 :: true 2020-03-29 22:45:41 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-03-29 22:45:41 | [Mutex] received everything. 2020-03-29 22:45:41 | [Mutex] isItemNotified: node_ocxfbp0205:subscribe_node:success :: true 2020-03-29 22:45:41 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-03-29 22:45:41 | command: <data><node>node_ocxfbp0205</node><expire-at>2020-03-30T05:45:46Z</expire-at><entry><content>content_tduibc0209</content></entry></data> 2020-03-29 22:45:41 | target: http://localhost:8088 2020-03-29 22:45:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-03-29 22:45:41 | entity: <data><node>node_ocxfbp0205</node><expire-at>2020-03-30T05:45:46Z</expire-at><entry><content>content_tduibc0209</content></entry></data> 2020-03-29 22:45:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 Mar 2020 05:45:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-03-29 22:45:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>10375fd2-9d72-4353-bd7f-3eba3c6f257d</value></item-id></result> 2020-03-29 22:45:41 | contains: true 2020-03-29 22:45:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2020-03-29 22:45:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] DNS entry stored in session object: localhost:5222 2020-03-29 22:45:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=490 thread=1] Opening connection to localhost/127.0.0.1:5222 2020-03-29 22:45:49 | [Mutex] waiting for: [user_regular8lm9850204@localhost:message:received:content_tduibc0209] 2020-03-29 22:45:49 | [Mutex] waiting for: [user_regular8lm9850204@localhost:message:received:content_tduibc0209] 2020-03-29 22:45:49 | [Mutex] waiting for: [user_regular8lm9850204@localhost:message:received:content_tduibc0209] 2020-03-29 22:46:04 | [Mutex] timeout. Not received [user_regular8lm9850204@localhost:message:received:content_tduibc0209] 2020-03-29 22:46:04 | [Mutex] received everything. 2020-03-29 22:46:04 | [Mutex] isItemNotified: user_regular8lm9850204@localhost:message:received:content_tduibc0209 :: false 2020-03-29 22:46:04 | [Mutex] isItemNotified: admin@localhost:message:received:content_tduibc0209 :: true |