Test duration : 44.778s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.653s |
2023-05-29 22:45:32 |
2023-05-29 22:45:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-05-29 22:45:32 | ------------------------------------ 2023-05-29 22:45:32 | [Mutex] isItemNotified: node_nzkiyp0208:exists :: false 2023-05-29 22:45:32 | [Mutex] waiting for: [node_nzkiyp0208:create_node] 2023-05-29 22:45:32 | [Mutex] received everything. 2023-05-29 22:45:32 | [Mutex] isItemNotified: node_nzkiyp0208:create_node:success :: true 2023-05-29 22:45:32 | [Mutex] waiting for: [node_nzkiyp0208:subscribe_node] 2023-05-29 22:45:32 | [Mutex] waiting for: [node_nzkiyp0208:subscribe_node] 2023-05-29 22:45:32 | [Mutex] received everything. 2023-05-29 22:45:32 | [Mutex] isItemNotified: node_nzkiyp0208:subscribe_node:success :: true 2023-05-29 22:45:32 | ===== publishing normal message (to online) 2023-05-29 22:45:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-29 22:45:32 | command: <data><node>node_nzkiyp0208</node><entry><content>content_xjghm10209</content></entry></data> 2023-05-29 22:45:32 | target: http://localhost:8088 2023-05-29 22:45:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-05-29 22:45:32 | entity: <data><node>node_nzkiyp0208</node><entry><content>content_xjghm10209</content></entry></data> 2023-05-29 22:45:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:45:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-29 22:45:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5cb45440-1483-48fd-8262-fd530189a9a5</value></item-id></result> 2023-05-29 22:45:32 | contains: true 2023-05-29 22:45:32 | [Mutex] waiting for: [user_regularbjsjrp0207@test-domain.com:message:received:content_xjghm10209] 2023-05-29 22:45:32 | [Mutex] received everything. 2023-05-29 22:45:32 | [Mutex] isItemNotified: user_regularbjsjrp0207@test-domain.com:message:received:content_xjghm10209 :: true 2023-05-29 22:45:32 | ===== publishing already old message - expecting message being filtered out (to online) 2023-05-29 22:45:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-29 22:45:32 | command: <data><node>node_nzkiyp0208</node><expire-at>2023-05-30T05:45:27Z</expire-at><entry><content>content_924wy30210</content></entry></data> 2023-05-29 22:45:32 | target: http://localhost:8088 2023-05-29 22:45:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-05-29 22:45:32 | entity: <data><node>node_nzkiyp0208</node><expire-at>2023-05-30T05:45:27Z</expire-at><entry><content>content_924wy30210</content></entry></data> 2023-05-29 22:45:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:45:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-29 22:45:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d715fc33-d095-4271-8237-efd6e02435ec</value></item-id></result> 2023-05-29 22:45:32 | contains: true 2023-05-29 22:45:32 | [Mutex] waiting for: [user_regularbjsjrp0207@test-domain.com:message:received:content_924wy30210] 2023-05-29 22:45:47 | [Mutex] timeout. Not received [user_regularbjsjrp0207@test-domain.com:message:received:content_924wy30210] 2023-05-29 22:45:47 | [Mutex] isItemNotified: user_regularbjsjrp0207@test-domain.com:message:received:content_924wy30210 :: false 2023-05-29 22:45:47 | ===== publishing normal message (to offline) 2023-05-29 22:45:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-29 22:45:47 | command: <data><node>node_nzkiyp0208</node><entry><content>content_rpwzb40211</content></entry></data> 2023-05-29 22:45:47 | target: http://localhost:8088 2023-05-29 22:45:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-05-29 22:45:47 | entity: <data><node>node_nzkiyp0208</node><entry><content>content_rpwzb40211</content></entry></data> 2023-05-29 22:45:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:45:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-29 22:45:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3ff03ddc-dde6-4625-a19d-fe50caf9fbff</value></item-id></result> 2023-05-29 22:45:47 | contains: true 2023-05-29 22:45:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-05-29 22:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-05-29 22:45:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-05-29 22:45:53 | [Mutex] waiting for: [user_regularbjsjrp0207@test-domain.com:message:received:content_rpwzb40211] 2023-05-29 22:45:53 | [Mutex] waiting for: [user_regularbjsjrp0207@test-domain.com:message:received:content_rpwzb40211] 2023-05-29 22:45:53 | [Mutex] received everything. 2023-05-29 22:45:53 | [Mutex] isItemNotified: user_regularbjsjrp0207@test-domain.com:message:received:content_rpwzb40211 :: true 2023-05-29 22:45:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-05-29 22:45:53 | [Mutex] received everything. 2023-05-29 22:45:53 | [Mutex] isItemNotified: node_nzkiyp0208:subscribe_node:success :: true 2023-05-29 22:45:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-29 22:45:53 | command: <data><node>node_nzkiyp0208</node><expire-at>2023-05-30T05:45:58Z</expire-at><entry><content>content_v6aefv0212</content></entry></data> 2023-05-29 22:45:53 | target: http://localhost:8088 2023-05-29 22:45:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-05-29 22:45:53 | entity: <data><node>node_nzkiyp0208</node><expire-at>2023-05-30T05:45:58Z</expire-at><entry><content>content_v6aefv0212</content></entry></data> 2023-05-29 22:45:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 05:45:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-29 22:45:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>de5fa734-b1a8-4213-81dc-2c3d75ae5600</value></item-id></result> 2023-05-29 22:45:53 | contains: true 2023-05-29 22:46:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-05-29 22:46:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-05-29 22:46:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-05-29 22:46:01 | [Mutex] waiting for: [user_regularbjsjrp0207@test-domain.com:message:received:content_v6aefv0212] 2023-05-29 22:46:16 | [Mutex] timeout. Not received [user_regularbjsjrp0207@test-domain.com:message:received:content_v6aefv0212] 2023-05-29 22:46:16 | [Mutex] received everything. 2023-05-29 22:46:16 | [Mutex] isItemNotified: user_regularbjsjrp0207@test-domain.com:message:received:content_v6aefv0212 :: false 2023-05-29 22:46:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_v6aefv0212 :: true |