Test duration : 44.453s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.557s |
2023-03-27 22:29:58 |
2023-03-27 22:29:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-27 22:29:58 | ------------------------------------ 2023-03-27 22:29:58 | [Mutex] isItemNotified: node_z45b6l0208:exists :: false 2023-03-27 22:29:58 | [Mutex] waiting for: [node_z45b6l0208:create_node] 2023-03-27 22:29:58 | [Mutex] waiting for: [node_z45b6l0208:create_node] 2023-03-27 22:29:58 | [Mutex] received everything. 2023-03-27 22:29:58 | [Mutex] isItemNotified: node_z45b6l0208:create_node:success :: true 2023-03-27 22:29:58 | [Mutex] waiting for: [node_z45b6l0208:subscribe_node] 2023-03-27 22:29:58 | [Mutex] waiting for: [node_z45b6l0208:subscribe_node] 2023-03-27 22:29:58 | [Mutex] received everything. 2023-03-27 22:29:58 | [Mutex] isItemNotified: node_z45b6l0208:subscribe_node:success :: true 2023-03-27 22:29:58 | ===== publishing normal message (to online) 2023-03-27 22:29:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-27 22:29:58 | command: <data><node>node_z45b6l0208</node><entry><content>content_pi8bgq0209</content></entry></data> 2023-03-27 22:29:58 | target: http://localhost:8088 2023-03-27 22:29:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-27 22:29:58 | entity: <data><node>node_z45b6l0208</node><entry><content>content_pi8bgq0209</content></entry></data> 2023-03-27 22:29:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:29:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-27 22:29:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dd386491-c340-4e9a-ad76-45cfe33a92c2</value></item-id></result> 2023-03-27 22:29:58 | contains: true 2023-03-27 22:29:58 | [Mutex] waiting for: [user_regularfr6g6n0207@test-domain.com:message:received:content_pi8bgq0209] 2023-03-27 22:29:58 | [Mutex] received everything. 2023-03-27 22:29:58 | [Mutex] isItemNotified: user_regularfr6g6n0207@test-domain.com:message:received:content_pi8bgq0209 :: true 2023-03-27 22:29:58 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-27 22:29:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-27 22:29:58 | command: <data><node>node_z45b6l0208</node><expire-at>2023-03-28T05:29:53Z</expire-at><entry><content>content_ckwu5d0210</content></entry></data> 2023-03-27 22:29:58 | target: http://localhost:8088 2023-03-27 22:29:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-27 22:29:58 | entity: <data><node>node_z45b6l0208</node><expire-at>2023-03-28T05:29:53Z</expire-at><entry><content>content_ckwu5d0210</content></entry></data> 2023-03-27 22:29:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:29:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-27 22:29:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>af531893-d9db-4e3a-91fb-484c205a76f6</value></item-id></result> 2023-03-27 22:29:58 | contains: true 2023-03-27 22:29:58 | [Mutex] waiting for: [user_regularfr6g6n0207@test-domain.com:message:received:content_ckwu5d0210] 2023-03-27 22:30:13 | [Mutex] timeout. Not received [user_regularfr6g6n0207@test-domain.com:message:received:content_ckwu5d0210] 2023-03-27 22:30:13 | [Mutex] isItemNotified: user_regularfr6g6n0207@test-domain.com:message:received:content_ckwu5d0210 :: false 2023-03-27 22:30:13 | ===== publishing normal message (to offline) 2023-03-27 22:30:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-27 22:30:14 | command: <data><node>node_z45b6l0208</node><entry><content>content_9l5qln0211</content></entry></data> 2023-03-27 22:30:14 | target: http://localhost:8088 2023-03-27 22:30:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-27 22:30:14 | entity: <data><node>node_z45b6l0208</node><entry><content>content_9l5qln0211</content></entry></data> 2023-03-27 22:30:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:30:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-27 22:30:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c6dafd13-1c22-4393-8acd-15ba38f81eee</value></item-id></result> 2023-03-27 22:30:14 | contains: true 2023-03-27 22:30:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-27 22:30:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-27 22:30:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-27 22:30:19 | [Mutex] waiting for: [user_regularfr6g6n0207@test-domain.com:message:received:content_9l5qln0211] 2023-03-27 22:30:19 | [Mutex] received everything. 2023-03-27 22:30:19 | [Mutex] isItemNotified: user_regularfr6g6n0207@test-domain.com:message:received:content_9l5qln0211 :: true 2023-03-27 22:30:19 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-27 22:30:19 | [Mutex] received everything. 2023-03-27 22:30:19 | [Mutex] isItemNotified: node_z45b6l0208:subscribe_node:success :: true 2023-03-27 22:30:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-27 22:30:19 | command: <data><node>node_z45b6l0208</node><expire-at>2023-03-28T05:30:24Z</expire-at><entry><content>content_eg2v2d0212</content></entry></data> 2023-03-27 22:30:19 | target: http://localhost:8088 2023-03-27 22:30:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-27 22:30:19 | entity: <data><node>node_z45b6l0208</node><expire-at>2023-03-28T05:30:24Z</expire-at><entry><content>content_eg2v2d0212</content></entry></data> 2023-03-27 22:30:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:30:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-27 22:30:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>489fb624-82f4-4e98-97b8-46e19cd0b54d</value></item-id></result> 2023-03-27 22:30:19 | contains: true 2023-03-27 22:30:27 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-27 22:30:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-27 22:30:27 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-27 22:30:27 | [Mutex] waiting for: [user_regularfr6g6n0207@test-domain.com:message:received:content_eg2v2d0212] 2023-03-27 22:30:42 | [Mutex] timeout. Not received [user_regularfr6g6n0207@test-domain.com:message:received:content_eg2v2d0212] 2023-03-27 22:30:42 | [Mutex] received everything. 2023-03-27 22:30:42 | [Mutex] isItemNotified: user_regularfr6g6n0207@test-domain.com:message:received:content_eg2v2d0212 :: false 2023-03-27 22:30:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_eg2v2d0212 :: true |