Test duration : 44.811s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.691s |
2023-09-29 00:29:56 |
2023-09-29 00:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-09-29 00:29:56 | ------------------------------------ 2023-09-29 00:29:56 | [Mutex] isItemNotified: node_j44cxf0208:exists :: false 2023-09-29 00:29:56 | [Mutex] waiting for: [node_j44cxf0208:create_node] 2023-09-29 00:29:56 | [Mutex] received everything. 2023-09-29 00:29:56 | [Mutex] isItemNotified: node_j44cxf0208:create_node:success :: true 2023-09-29 00:29:56 | [Mutex] waiting for: [node_j44cxf0208:subscribe_node] 2023-09-29 00:29:56 | [Mutex] waiting for: [node_j44cxf0208:subscribe_node] 2023-09-29 00:29:56 | [Mutex] received everything. 2023-09-29 00:29:56 | [Mutex] isItemNotified: node_j44cxf0208:subscribe_node:success :: true 2023-09-29 00:29:56 | ===== publishing normal message (to online) 2023-09-29 00:29:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-09-29 00:29:56 | command: <data><node>node_j44cxf0208</node><entry><content>content_34d1po0209</content></entry></data> 2023-09-29 00:29:56 | target: http://localhost:8088 2023-09-29 00:29:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-09-29 00:29:56 | entity: <data><node>node_j44cxf0208</node><entry><content>content_34d1po0209</content></entry></data> 2023-09-29 00:29:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 07:29:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-09-29 00:29:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7e6d57c2-aa13-4bc0-9b0b-12ec2fb62984</value></item-id></result> 2023-09-29 00:29:56 | contains: true 2023-09-29 00:29:56 | [Mutex] received everything. 2023-09-29 00:29:56 | [Mutex] isItemNotified: user_regularramd4e0207@test-domain.com:message:received:content_34d1po0209 :: true 2023-09-29 00:29:56 | ===== publishing already old message - expecting message being filtered out (to online) 2023-09-29 00:29:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-09-29 00:29:56 | command: <data><node>node_j44cxf0208</node><expire-at>2023-09-29T07:29:51Z</expire-at><entry><content>content_dkbsjm0210</content></entry></data> 2023-09-29 00:29:56 | target: http://localhost:8088 2023-09-29 00:29:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-09-29 00:29:56 | entity: <data><node>node_j44cxf0208</node><expire-at>2023-09-29T07:29:51Z</expire-at><entry><content>content_dkbsjm0210</content></entry></data> 2023-09-29 00:29:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 07:29:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-09-29 00:29:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>60cc5151-aebd-49c0-aeed-3594fe0a2d35</value></item-id></result> 2023-09-29 00:29:56 | contains: true 2023-09-29 00:29:56 | [Mutex] waiting for: [user_regularramd4e0207@test-domain.com:message:received:content_dkbsjm0210] 2023-09-29 00:30:11 | [Mutex] timeout. Not received [user_regularramd4e0207@test-domain.com:message:received:content_dkbsjm0210] 2023-09-29 00:30:11 | [Mutex] isItemNotified: user_regularramd4e0207@test-domain.com:message:received:content_dkbsjm0210 :: false 2023-09-29 00:30:11 | ===== publishing normal message (to offline) 2023-09-29 00:30:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-09-29 00:30:11 | command: <data><node>node_j44cxf0208</node><entry><content>content_guxy4o0211</content></entry></data> 2023-09-29 00:30:11 | target: http://localhost:8088 2023-09-29 00:30:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-09-29 00:30:11 | entity: <data><node>node_j44cxf0208</node><entry><content>content_guxy4o0211</content></entry></data> 2023-09-29 00:30:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 07:30:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-09-29 00:30:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d6145792-3013-45fd-a110-e08455c3ae61</value></item-id></result> 2023-09-29 00:30:11 | contains: true 2023-09-29 00:30:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-09-29 00:30:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-09-29 00:30:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-09-29 00:30:17 | [Mutex] waiting for: [user_regularramd4e0207@test-domain.com:message:received:content_guxy4o0211] 2023-09-29 00:30:17 | [Mutex] waiting for: [user_regularramd4e0207@test-domain.com:message:received:content_guxy4o0211] 2023-09-29 00:30:17 | [Mutex] received everything. 2023-09-29 00:30:17 | [Mutex] isItemNotified: user_regularramd4e0207@test-domain.com:message:received:content_guxy4o0211 :: true 2023-09-29 00:30:17 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-09-29 00:30:17 | [Mutex] received everything. 2023-09-29 00:30:17 | [Mutex] isItemNotified: node_j44cxf0208:subscribe_node:success :: true 2023-09-29 00:30:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-09-29 00:30:17 | command: <data><node>node_j44cxf0208</node><expire-at>2023-09-29T07:30:22Z</expire-at><entry><content>content_z3l34u0212</content></entry></data> 2023-09-29 00:30:17 | target: http://localhost:8088 2023-09-29 00:30:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-09-29 00:30:17 | entity: <data><node>node_j44cxf0208</node><expire-at>2023-09-29T07:30:22Z</expire-at><entry><content>content_z3l34u0212</content></entry></data> 2023-09-29 00:30:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 07:30:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-09-29 00:30:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b9dc24a8-ca8c-42e2-b0ac-ebda3252d093</value></item-id></result> 2023-09-29 00:30:17 | contains: true 2023-09-29 00:30:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-09-29 00:30:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-09-29 00:30:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-09-29 00:30:25 | [Mutex] waiting for: [user_regularramd4e0207@test-domain.com:message:received:content_z3l34u0212] 2023-09-29 00:30:25 | [Mutex] waiting for: [user_regularramd4e0207@test-domain.com:message:received:content_z3l34u0212] 2023-09-29 00:30:25 | [Mutex] waiting for: [user_regularramd4e0207@test-domain.com:message:received:content_z3l34u0212] 2023-09-29 00:30:40 | [Mutex] timeout. Not received [user_regularramd4e0207@test-domain.com:message:received:content_z3l34u0212] 2023-09-29 00:30:40 | [Mutex] received everything. 2023-09-29 00:30:40 | [Mutex] isItemNotified: user_regularramd4e0207@test-domain.com:message:received:content_z3l34u0212 :: false 2023-09-29 00:30:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z3l34u0212 :: true |