Test duration : 44.604s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.592s |
2022-12-30 09:40:47 |
2022-12-30 09:40:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-30 09:40:47 | ------------------------------------ 2022-12-30 09:40:47 | [Mutex] isItemNotified: node_y0mwyn0204:exists :: false 2022-12-30 09:40:47 | [Mutex] waiting for: [node_y0mwyn0204:create_node] 2022-12-30 09:40:47 | [Mutex] waiting for: [node_y0mwyn0204:create_node] 2022-12-30 09:40:47 | [Mutex] received everything. 2022-12-30 09:40:47 | [Mutex] isItemNotified: node_y0mwyn0204:create_node:success :: true 2022-12-30 09:40:47 | [Mutex] waiting for: [node_y0mwyn0204:subscribe_node] 2022-12-30 09:40:47 | [Mutex] waiting for: [node_y0mwyn0204:subscribe_node] 2022-12-30 09:40:47 | [Mutex] received everything. 2022-12-30 09:40:47 | [Mutex] isItemNotified: node_y0mwyn0204:subscribe_node:success :: true 2022-12-30 09:40:47 | ===== publishing normal message (to online) 2022-12-30 09:40:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:40:47 | command: <data><node>node_y0mwyn0204</node><entry><content>content_rvabq90205</content></entry></data> 2022-12-30 09:40:47 | target: http://localhost:8088 2022-12-30 09:40:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 09:40:47 | entity: <data><node>node_y0mwyn0204</node><entry><content>content_rvabq90205</content></entry></data> 2022-12-30 09:40:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:40:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:40:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1e4d0125-92bc-4072-b69b-19f5e68d9e92</value></item-id></result> 2022-12-30 09:40:47 | contains: true 2022-12-30 09:40:47 | [Mutex] waiting for: [user_regularemc2pw0203@test-domain.com:message:received:content_rvabq90205] 2022-12-30 09:40:47 | [Mutex] received everything. 2022-12-30 09:40:47 | [Mutex] isItemNotified: user_regularemc2pw0203@test-domain.com:message:received:content_rvabq90205 :: true 2022-12-30 09:40:47 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-30 09:40:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:40:47 | command: <data><node>node_y0mwyn0204</node><expire-at>2022-12-30T17:40:42Z</expire-at><entry><content>content_1gido10206</content></entry></data> 2022-12-30 09:40:47 | target: http://localhost:8088 2022-12-30 09:40:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 09:40:47 | entity: <data><node>node_y0mwyn0204</node><expire-at>2022-12-30T17:40:42Z</expire-at><entry><content>content_1gido10206</content></entry></data> 2022-12-30 09:40:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:40:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:40:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>26a40035-b049-407d-9de7-0cef1384ba21</value></item-id></result> 2022-12-30 09:40:47 | contains: true 2022-12-30 09:40:47 | [Mutex] waiting for: [user_regularemc2pw0203@test-domain.com:message:received:content_1gido10206] 2022-12-30 09:41:02 | [Mutex] timeout. Not received [user_regularemc2pw0203@test-domain.com:message:received:content_1gido10206] 2022-12-30 09:41:02 | [Mutex] isItemNotified: user_regularemc2pw0203@test-domain.com:message:received:content_1gido10206 :: false 2022-12-30 09:41:02 | ===== publishing normal message (to offline) 2022-12-30 09:41:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:41:02 | command: <data><node>node_y0mwyn0204</node><entry><content>content_h88nyo0207</content></entry></data> 2022-12-30 09:41:02 | target: http://localhost:8088 2022-12-30 09:41:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-30 09:41:02 | entity: <data><node>node_y0mwyn0204</node><entry><content>content_h88nyo0207</content></entry></data> 2022-12-30 09:41:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:41:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:41:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>833b78ab-6ac7-4d34-8a90-1c1817a8d657</value></item-id></result> 2022-12-30 09:41:02 | contains: true 2022-12-30 09:41:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 09:41:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 09:41:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 09:41:07 | [Mutex] waiting for: [user_regularemc2pw0203@test-domain.com:message:received:content_h88nyo0207] 2022-12-30 09:41:07 | [Mutex] received everything. 2022-12-30 09:41:07 | [Mutex] isItemNotified: user_regularemc2pw0203@test-domain.com:message:received:content_h88nyo0207 :: true 2022-12-30 09:41:07 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-30 09:41:07 | [Mutex] received everything. 2022-12-30 09:41:07 | [Mutex] isItemNotified: node_y0mwyn0204:subscribe_node:success :: true 2022-12-30 09:41:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-30 09:41:07 | command: <data><node>node_y0mwyn0204</node><expire-at>2022-12-30T17:41:12Z</expire-at><entry><content>content_n9hmqp0208</content></entry></data> 2022-12-30 09:41:07 | target: http://localhost:8088 2022-12-30 09:41:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-30 09:41:07 | entity: <data><node>node_y0mwyn0204</node><expire-at>2022-12-30T17:41:12Z</expire-at><entry><content>content_n9hmqp0208</content></entry></data> 2022-12-30 09:41:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Dec 2022 17:41:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-30 09:41:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7209a31a-045c-430a-8947-46680ecc5b2a</value></item-id></result> 2022-12-30 09:41:07 | contains: true 2022-12-30 09:41:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-30 09:41:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-30 09:41:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-30 09:41:15 | [Mutex] waiting for: [user_regularemc2pw0203@test-domain.com:message:received:content_n9hmqp0208] 2022-12-30 09:41:30 | [Mutex] timeout. Not received [user_regularemc2pw0203@test-domain.com:message:received:content_n9hmqp0208] 2022-12-30 09:41:30 | [Mutex] received everything. 2022-12-30 09:41:30 | [Mutex] isItemNotified: user_regularemc2pw0203@test-domain.com:message:received:content_n9hmqp0208 :: false 2022-12-30 09:41:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_n9hmqp0208 :: true |