Test duration : 44.770s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.662s |
2023-07-07 22:31:19 |
2023-07-07 22:31:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-07 22:31:19 | ------------------------------------ 2023-07-07 22:31:19 | [Mutex] isItemNotified: node_1lf0iq0208:exists :: false 2023-07-07 22:31:19 | [Mutex] waiting for: [node_1lf0iq0208:create_node] 2023-07-07 22:31:19 | [Mutex] received everything. 2023-07-07 22:31:19 | [Mutex] isItemNotified: node_1lf0iq0208:create_node:success :: true 2023-07-07 22:31:19 | [Mutex] waiting for: [node_1lf0iq0208:subscribe_node] 2023-07-07 22:31:19 | [Mutex] waiting for: [node_1lf0iq0208:subscribe_node] 2023-07-07 22:31:19 | [Mutex] received everything. 2023-07-07 22:31:19 | [Mutex] isItemNotified: node_1lf0iq0208:subscribe_node:success :: true 2023-07-07 22:31:19 | ===== publishing normal message (to online) 2023-07-07 22:31:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 22:31:19 | command: <data><node>node_1lf0iq0208</node><entry><content>content_t8o0ih0209</content></entry></data> 2023-07-07 22:31:19 | target: http://localhost:8088 2023-07-07 22:31:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-07 22:31:19 | entity: <data><node>node_1lf0iq0208</node><entry><content>content_t8o0ih0209</content></entry></data> 2023-07-07 22:31:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:31:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 22:31:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bb4c5807-cffe-4754-86f4-c3fe91a9f245</value></item-id></result> 2023-07-07 22:31:19 | contains: true 2023-07-07 22:31:19 | [Mutex] received everything. 2023-07-07 22:31:19 | [Mutex] isItemNotified: user_regularhxct8r0207@test-domain.com:message:received:content_t8o0ih0209 :: true 2023-07-07 22:31:19 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-07 22:31:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 22:31:19 | command: <data><node>node_1lf0iq0208</node><expire-at>2023-07-08T05:31:14Z</expire-at><entry><content>content_xhpe0b0210</content></entry></data> 2023-07-07 22:31:19 | target: http://localhost:8088 2023-07-07 22:31:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-07 22:31:19 | entity: <data><node>node_1lf0iq0208</node><expire-at>2023-07-08T05:31:14Z</expire-at><entry><content>content_xhpe0b0210</content></entry></data> 2023-07-07 22:31:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:31:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 22:31:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b53088c2-a644-4b4f-b754-0936006bad8f</value></item-id></result> 2023-07-07 22:31:19 | contains: true 2023-07-07 22:31:19 | [Mutex] waiting for: [user_regularhxct8r0207@test-domain.com:message:received:content_xhpe0b0210] 2023-07-07 22:31:34 | [Mutex] timeout. Not received [user_regularhxct8r0207@test-domain.com:message:received:content_xhpe0b0210] 2023-07-07 22:31:34 | [Mutex] isItemNotified: user_regularhxct8r0207@test-domain.com:message:received:content_xhpe0b0210 :: false 2023-07-07 22:31:34 | ===== publishing normal message (to offline) 2023-07-07 22:31:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 22:31:34 | command: <data><node>node_1lf0iq0208</node><entry><content>content_1ied970211</content></entry></data> 2023-07-07 22:31:34 | target: http://localhost:8088 2023-07-07 22:31:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-07 22:31:34 | entity: <data><node>node_1lf0iq0208</node><entry><content>content_1ied970211</content></entry></data> 2023-07-07 22:31:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:31:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 22:31:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b9b0fbdf-7b9b-486b-a7b1-359f09425592</value></item-id></result> 2023-07-07 22:31:34 | contains: true 2023-07-07 22:31:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-07 22:31:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-07 22:31:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-07 22:31:40 | [Mutex] waiting for: [user_regularhxct8r0207@test-domain.com:message:received:content_1ied970211] 2023-07-07 22:31:40 | [Mutex] waiting for: [user_regularhxct8r0207@test-domain.com:message:received:content_1ied970211] 2023-07-07 22:31:40 | [Mutex] received everything. 2023-07-07 22:31:40 | [Mutex] isItemNotified: user_regularhxct8r0207@test-domain.com:message:received:content_1ied970211 :: true 2023-07-07 22:31:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-07 22:31:40 | [Mutex] received everything. 2023-07-07 22:31:40 | [Mutex] isItemNotified: node_1lf0iq0208:subscribe_node:success :: true 2023-07-07 22:31:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-07 22:31:40 | command: <data><node>node_1lf0iq0208</node><expire-at>2023-07-08T05:31:45Z</expire-at><entry><content>content_xgpgt20212</content></entry></data> 2023-07-07 22:31:40 | target: http://localhost:8088 2023-07-07 22:31:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-07 22:31:40 | entity: <data><node>node_1lf0iq0208</node><expire-at>2023-07-08T05:31:45Z</expire-at><entry><content>content_xgpgt20212</content></entry></data> 2023-07-07 22:31:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 08 Jul 2023 05:31:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-07 22:31:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1850e682-5e31-4df6-a4fd-fbf55f168efe</value></item-id></result> 2023-07-07 22:31:40 | contains: true 2023-07-07 22:31:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-07 22:31:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-07 22:31:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-07 22:31:48 | [Mutex] waiting for: [user_regularhxct8r0207@test-domain.com:message:received:content_xgpgt20212] 2023-07-07 22:31:48 | [Mutex] waiting for: [user_regularhxct8r0207@test-domain.com:message:received:content_xgpgt20212] 2023-07-07 22:31:48 | [Mutex] waiting for: [user_regularhxct8r0207@test-domain.com:message:received:content_xgpgt20212] 2023-07-07 22:32:03 | [Mutex] timeout. Not received [user_regularhxct8r0207@test-domain.com:message:received:content_xgpgt20212] 2023-07-07 22:32:03 | [Mutex] received everything. 2023-07-07 22:32:03 | [Mutex] isItemNotified: user_regularhxct8r0207@test-domain.com:message:received:content_xgpgt20212 :: false 2023-07-07 22:32:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xgpgt20212 :: true |