Test duration : 44.714s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.628s |
2023-06-04 22:59:38 |
2023-06-04 22:59:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-06-04 22:59:38 | ------------------------------------ 2023-06-04 22:59:38 | [Mutex] isItemNotified: node_9txb9m0208:exists :: false 2023-06-04 22:59:38 | [Mutex] waiting for: [node_9txb9m0208:create_node] 2023-06-04 22:59:38 | [Mutex] received everything. 2023-06-04 22:59:38 | [Mutex] isItemNotified: node_9txb9m0208:create_node:success :: true 2023-06-04 22:59:38 | [Mutex] waiting for: [node_9txb9m0208:subscribe_node] 2023-06-04 22:59:38 | [Mutex] received everything. 2023-06-04 22:59:38 | [Mutex] isItemNotified: node_9txb9m0208:subscribe_node:success :: true 2023-06-04 22:59:38 | ===== publishing normal message (to online) 2023-06-04 22:59:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-04 22:59:38 | command: <data><node>node_9txb9m0208</node><entry><content>content_3391nc0209</content></entry></data> 2023-06-04 22:59:38 | target: http://localhost:8088 2023-06-04 22:59:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-06-04 22:59:38 | entity: <data><node>node_9txb9m0208</node><entry><content>content_3391nc0209</content></entry></data> 2023-06-04 22:59:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 05:59:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-04 22:59:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d95557b8-191f-4d22-ae89-82dbcf2d830b</value></item-id></result> 2023-06-04 22:59:38 | contains: true 2023-06-04 22:59:38 | [Mutex] waiting for: [user_regulartyayqf0207@test-domain.com:message:received:content_3391nc0209] 2023-06-04 22:59:38 | [Mutex] received everything. 2023-06-04 22:59:38 | [Mutex] isItemNotified: user_regulartyayqf0207@test-domain.com:message:received:content_3391nc0209 :: true 2023-06-04 22:59:38 | ===== publishing already old message - expecting message being filtered out (to online) 2023-06-04 22:59:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-04 22:59:38 | command: <data><node>node_9txb9m0208</node><expire-at>2023-06-05T05:59:33Z</expire-at><entry><content>content_1ln9a30210</content></entry></data> 2023-06-04 22:59:38 | target: http://localhost:8088 2023-06-04 22:59:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-06-04 22:59:38 | entity: <data><node>node_9txb9m0208</node><expire-at>2023-06-05T05:59:33Z</expire-at><entry><content>content_1ln9a30210</content></entry></data> 2023-06-04 22:59:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 05:59:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-04 22:59:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>42050ea0-897e-4ef9-8288-698f247422dc</value></item-id></result> 2023-06-04 22:59:38 | contains: true 2023-06-04 22:59:38 | [Mutex] waiting for: [user_regulartyayqf0207@test-domain.com:message:received:content_1ln9a30210] 2023-06-04 22:59:53 | [Mutex] timeout. Not received [user_regulartyayqf0207@test-domain.com:message:received:content_1ln9a30210] 2023-06-04 22:59:53 | [Mutex] isItemNotified: user_regulartyayqf0207@test-domain.com:message:received:content_1ln9a30210 :: false 2023-06-04 22:59:53 | ===== publishing normal message (to offline) 2023-06-04 22:59:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-04 22:59:53 | command: <data><node>node_9txb9m0208</node><entry><content>content_vxl2ua0211</content></entry></data> 2023-06-04 22:59:53 | target: http://localhost:8088 2023-06-04 22:59:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-06-04 22:59:53 | entity: <data><node>node_9txb9m0208</node><entry><content>content_vxl2ua0211</content></entry></data> 2023-06-04 22:59:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 05:59:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-04 22:59:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ba42806e-2574-40d8-a8ff-b9c81d327778</value></item-id></result> 2023-06-04 22:59:53 | contains: true 2023-06-04 22:59:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-06-04 22:59:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-06-04 22:59:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-06-04 22:59:58 | [Mutex] received everything. 2023-06-04 22:59:58 | [Mutex] isItemNotified: user_regulartyayqf0207@test-domain.com:message:received:content_vxl2ua0211 :: true 2023-06-04 22:59:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-06-04 22:59:58 | [Mutex] received everything. 2023-06-04 22:59:58 | [Mutex] isItemNotified: node_9txb9m0208:subscribe_node:success :: true 2023-06-04 22:59:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-06-04 22:59:59 | command: <data><node>node_9txb9m0208</node><expire-at>2023-06-05T06:00:04Z</expire-at><entry><content>content_ktaf750212</content></entry></data> 2023-06-04 22:59:59 | target: http://localhost:8088 2023-06-04 22:59:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-06-04 22:59:59 | entity: <data><node>node_9txb9m0208</node><expire-at>2023-06-05T06:00:04Z</expire-at><entry><content>content_ktaf750212</content></entry></data> 2023-06-04 22:59:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Jun 2023 05:59:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-06-04 22:59:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>823e9347-6f22-4197-b1b1-63bb73abc066</value></item-id></result> 2023-06-04 22:59:59 | contains: true 2023-06-04 23:00:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-06-04 23:00:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-06-04 23:00:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-06-04 23:00:07 | [Mutex] waiting for: [user_regulartyayqf0207@test-domain.com:message:received:content_ktaf750212] 2023-06-04 23:00:07 | [Mutex] waiting for: [user_regulartyayqf0207@test-domain.com:message:received:content_ktaf750212] 2023-06-04 23:00:07 | [Mutex] waiting for: [user_regulartyayqf0207@test-domain.com:message:received:content_ktaf750212] 2023-06-04 23:00:22 | [Mutex] timeout. Not received [user_regulartyayqf0207@test-domain.com:message:received:content_ktaf750212] 2023-06-04 23:00:22 | [Mutex] received everything. 2023-06-04 23:00:22 | [Mutex] isItemNotified: user_regulartyayqf0207@test-domain.com:message:received:content_ktaf750212 :: false 2023-06-04 23:00:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ktaf750212 :: true |