Test duration : 44.631s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.501s |
2023-11-05 00:27:19 |
2023-11-05 00:27:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-11-05 00:27:19 | ------------------------------------ 2023-11-05 00:27:19 | [Mutex] isItemNotified: node_kzka0t0208:exists :: false 2023-11-05 00:27:19 | [Mutex] waiting for: [node_kzka0t0208:create_node] 2023-11-05 00:27:19 | [Mutex] received everything. 2023-11-05 00:27:19 | [Mutex] isItemNotified: node_kzka0t0208:create_node:success :: true 2023-11-05 00:27:19 | [Mutex] waiting for: [node_kzka0t0208:subscribe_node] 2023-11-05 00:27:19 | [Mutex] waiting for: [node_kzka0t0208:subscribe_node] 2023-11-05 00:27:19 | [Mutex] received everything. 2023-11-05 00:27:19 | [Mutex] isItemNotified: node_kzka0t0208:subscribe_node:success :: true 2023-11-05 00:27:19 | ===== publishing normal message (to online) 2023-11-05 00:27:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-05 00:27:19 | command: <data><node>node_kzka0t0208</node><entry><content>content_27lyw40209</content></entry></data> 2023-11-05 00:27:19 | target: http://localhost:8088 2023-11-05 00:27:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-11-05 00:27:19 | entity: <data><node>node_kzka0t0208</node><entry><content>content_27lyw40209</content></entry></data> 2023-11-05 00:27:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 07:27:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-05 00:27:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>19a4f692-fdc0-4811-bf23-e05824ccb82a</value></item-id></result> 2023-11-05 00:27:19 | contains: true 2023-11-05 00:27:19 | [Mutex] waiting for: [user_regularl69a710207@test-domain.com:message:received:content_27lyw40209] 2023-11-05 00:27:19 | [Mutex] received everything. 2023-11-05 00:27:19 | [Mutex] isItemNotified: user_regularl69a710207@test-domain.com:message:received:content_27lyw40209 :: true 2023-11-05 00:27:19 | ===== publishing already old message - expecting message being filtered out (to online) 2023-11-05 00:27:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-05 00:27:19 | command: <data><node>node_kzka0t0208</node><expire-at>2023-11-05T07:27:14Z</expire-at><entry><content>content_vxu8ga0210</content></entry></data> 2023-11-05 00:27:19 | target: http://localhost:8088 2023-11-05 00:27:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-11-05 00:27:19 | entity: <data><node>node_kzka0t0208</node><expire-at>2023-11-05T07:27:14Z</expire-at><entry><content>content_vxu8ga0210</content></entry></data> 2023-11-05 00:27:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 07:27:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-05 00:27:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6d982c26-5e70-4fc7-9a08-7a8050d54996</value></item-id></result> 2023-11-05 00:27:20 | contains: true 2023-11-05 00:27:20 | [Mutex] waiting for: [user_regularl69a710207@test-domain.com:message:received:content_vxu8ga0210] 2023-11-05 00:27:35 | [Mutex] timeout. Not received [user_regularl69a710207@test-domain.com:message:received:content_vxu8ga0210] 2023-11-05 00:27:35 | [Mutex] isItemNotified: user_regularl69a710207@test-domain.com:message:received:content_vxu8ga0210 :: false 2023-11-05 00:27:35 | ===== publishing normal message (to offline) 2023-11-05 00:27:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-05 00:27:35 | command: <data><node>node_kzka0t0208</node><entry><content>content_b8bh9y0211</content></entry></data> 2023-11-05 00:27:35 | target: http://localhost:8088 2023-11-05 00:27:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-11-05 00:27:35 | entity: <data><node>node_kzka0t0208</node><entry><content>content_b8bh9y0211</content></entry></data> 2023-11-05 00:27:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 07:27:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-05 00:27:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6acda523-40bb-4522-b510-fe13ffdee357</value></item-id></result> 2023-11-05 00:27:35 | contains: true 2023-11-05 00:27:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-11-05 00:27:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-11-05 00:27:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-11-05 00:27:40 | [Mutex] received everything. 2023-11-05 00:27:40 | [Mutex] isItemNotified: user_regularl69a710207@test-domain.com:message:received:content_b8bh9y0211 :: true 2023-11-05 00:27:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-11-05 00:27:40 | [Mutex] received everything. 2023-11-05 00:27:40 | [Mutex] isItemNotified: node_kzka0t0208:subscribe_node:success :: true 2023-11-05 00:27:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-05 00:27:40 | command: <data><node>node_kzka0t0208</node><expire-at>2023-11-05T07:27:45Z</expire-at><entry><content>content_87fj1d0212</content></entry></data> 2023-11-05 00:27:40 | target: http://localhost:8088 2023-11-05 00:27:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-11-05 00:27:40 | entity: <data><node>node_kzka0t0208</node><expire-at>2023-11-05T07:27:45Z</expire-at><entry><content>content_87fj1d0212</content></entry></data> 2023-11-05 00:27:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 07:27:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-05 00:27:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>469e855d-d437-4ad0-bd69-e5df1bd807d6</value></item-id></result> 2023-11-05 00:27:40 | contains: true 2023-11-05 00:27:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-11-05 00:27:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-11-05 00:27:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-11-05 00:27:48 | [Mutex] waiting for: [user_regularl69a710207@test-domain.com:message:received:content_87fj1d0212] 2023-11-05 00:28:03 | [Mutex] timeout. Not received [user_regularl69a710207@test-domain.com:message:received:content_87fj1d0212] 2023-11-05 00:28:03 | [Mutex] received everything. 2023-11-05 00:28:03 | [Mutex] isItemNotified: user_regularl69a710207@test-domain.com:message:received:content_87fj1d0212 :: false 2023-11-05 00:28:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_87fj1d0212 :: true |