Test duration : 44.679s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.632s |
2023-08-27 22:32:05 |
2023-08-27 22:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-08-27 22:32:05 | ------------------------------------ 2023-08-27 22:32:05 | [Mutex] isItemNotified: node_ygzrxh0208:exists :: false 2023-08-27 22:32:05 | [Mutex] waiting for: [node_ygzrxh0208:create_node] 2023-08-27 22:32:05 | [Mutex] waiting for: [node_ygzrxh0208:create_node] 2023-08-27 22:32:05 | [Mutex] received everything. 2023-08-27 22:32:05 | [Mutex] isItemNotified: node_ygzrxh0208:create_node:success :: true 2023-08-27 22:32:05 | [Mutex] waiting for: [node_ygzrxh0208:subscribe_node] 2023-08-27 22:32:05 | [Mutex] waiting for: [node_ygzrxh0208:subscribe_node] 2023-08-27 22:32:05 | [Mutex] received everything. 2023-08-27 22:32:05 | [Mutex] isItemNotified: node_ygzrxh0208:subscribe_node:success :: true 2023-08-27 22:32:05 | ===== publishing normal message (to online) 2023-08-27 22:32:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 22:32:05 | command: <data><node>node_ygzrxh0208</node><entry><content>content_wl29qu0209</content></entry></data> 2023-08-27 22:32:05 | target: http://localhost:8088 2023-08-27 22:32:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-08-27 22:32:05 | entity: <data><node>node_ygzrxh0208</node><entry><content>content_wl29qu0209</content></entry></data> 2023-08-27 22:32:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:32:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 22:32:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>458436fd-220d-489e-8f71-05ae82ce0286</value></item-id></result> 2023-08-27 22:32:05 | contains: true 2023-08-27 22:32:05 | [Mutex] waiting for: [user_regularv4pzvh0207@test-domain.com:message:received:content_wl29qu0209] 2023-08-27 22:32:05 | [Mutex] received everything. 2023-08-27 22:32:05 | [Mutex] isItemNotified: user_regularv4pzvh0207@test-domain.com:message:received:content_wl29qu0209 :: true 2023-08-27 22:32:05 | ===== publishing already old message - expecting message being filtered out (to online) 2023-08-27 22:32:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 22:32:05 | command: <data><node>node_ygzrxh0208</node><expire-at>2023-08-28T05:32:00Z</expire-at><entry><content>content_1beevw0210</content></entry></data> 2023-08-27 22:32:05 | target: http://localhost:8088 2023-08-27 22:32:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-08-27 22:32:05 | entity: <data><node>node_ygzrxh0208</node><expire-at>2023-08-28T05:32:00Z</expire-at><entry><content>content_1beevw0210</content></entry></data> 2023-08-27 22:32:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:32:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 22:32:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>033d1bac-7479-48bc-b360-6c0434b35d0d</value></item-id></result> 2023-08-27 22:32:05 | contains: true 2023-08-27 22:32:05 | [Mutex] waiting for: [user_regularv4pzvh0207@test-domain.com:message:received:content_1beevw0210] 2023-08-27 22:32:20 | [Mutex] timeout. Not received [user_regularv4pzvh0207@test-domain.com:message:received:content_1beevw0210] 2023-08-27 22:32:20 | [Mutex] isItemNotified: user_regularv4pzvh0207@test-domain.com:message:received:content_1beevw0210 :: false 2023-08-27 22:32:20 | ===== publishing normal message (to offline) 2023-08-27 22:32:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 22:32:20 | command: <data><node>node_ygzrxh0208</node><entry><content>content_anbkrg0211</content></entry></data> 2023-08-27 22:32:20 | target: http://localhost:8088 2023-08-27 22:32:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-08-27 22:32:20 | entity: <data><node>node_ygzrxh0208</node><entry><content>content_anbkrg0211</content></entry></data> 2023-08-27 22:32:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:32:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 22:32:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0d0ed11b-286c-425e-8dd4-5be23bfe9ed8</value></item-id></result> 2023-08-27 22:32:20 | contains: true 2023-08-27 22:32:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-08-27 22:32:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-08-27 22:32:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-08-27 22:32:25 | [Mutex] waiting for: [user_regularv4pzvh0207@test-domain.com:message:received:content_anbkrg0211] 2023-08-27 22:32:25 | [Mutex] waiting for: [user_regularv4pzvh0207@test-domain.com:message:received:content_anbkrg0211] 2023-08-27 22:32:25 | [Mutex] received everything. 2023-08-27 22:32:25 | [Mutex] isItemNotified: user_regularv4pzvh0207@test-domain.com:message:received:content_anbkrg0211 :: true 2023-08-27 22:32:25 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-08-27 22:32:25 | [Mutex] received everything. 2023-08-27 22:32:25 | [Mutex] isItemNotified: node_ygzrxh0208:subscribe_node:success :: true 2023-08-27 22:32:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 22:32:25 | command: <data><node>node_ygzrxh0208</node><expire-at>2023-08-28T05:32:30Z</expire-at><entry><content>content_ln8w6f0212</content></entry></data> 2023-08-27 22:32:25 | target: http://localhost:8088 2023-08-27 22:32:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-08-27 22:32:25 | entity: <data><node>node_ygzrxh0208</node><expire-at>2023-08-28T05:32:30Z</expire-at><entry><content>content_ln8w6f0212</content></entry></data> 2023-08-27 22:32:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:32:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 22:32:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ac1665c8-07fa-4d72-8db6-d7d84c5e5a34</value></item-id></result> 2023-08-27 22:32:25 | contains: true 2023-08-27 22:32:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-08-27 22:32:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-08-27 22:32:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-08-27 22:32:33 | [Mutex] waiting for: [user_regularv4pzvh0207@test-domain.com:message:received:content_ln8w6f0212] 2023-08-27 22:32:33 | [Mutex] waiting for: [user_regularv4pzvh0207@test-domain.com:message:received:content_ln8w6f0212] 2023-08-27 22:32:48 | [Mutex] timeout. Not received [user_regularv4pzvh0207@test-domain.com:message:received:content_ln8w6f0212] 2023-08-27 22:32:48 | [Mutex] received everything. 2023-08-27 22:32:48 | [Mutex] isItemNotified: user_regularv4pzvh0207@test-domain.com:message:received:content_ln8w6f0212 :: false 2023-08-27 22:32:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ln8w6f0212 :: true |