Test duration : 44.850s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.601s |
2023-02-15 21:45:00 |
2023-02-15 21:45:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-02-15 21:45:00 | ------------------------------------ 2023-02-15 21:45:00 | [Mutex] isItemNotified: node_vvbm50204:exists :: false 2023-02-15 21:45:00 | [Mutex] waiting for: [node_vvbm50204:create_node] 2023-02-15 21:45:00 | [Mutex] received everything. 2023-02-15 21:45:00 | [Mutex] isItemNotified: node_vvbm50204:create_node:success :: true 2023-02-15 21:45:00 | [Mutex] waiting for: [node_vvbm50204:subscribe_node] 2023-02-15 21:45:00 | [Mutex] waiting for: [node_vvbm50204:subscribe_node] 2023-02-15 21:45:00 | [Mutex] received everything. 2023-02-15 21:45:00 | [Mutex] isItemNotified: node_vvbm50204:subscribe_node:success :: true 2023-02-15 21:45:00 | ===== publishing normal message (to online) 2023-02-15 21:45:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-15 21:45:00 | command: <data><node>node_vvbm50204</node><entry><content>content_lohnpr0205</content></entry></data> 2023-02-15 21:45:00 | target: http://localhost:8088 2023-02-15 21:45:00 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2023-02-15 21:45:00 | entity: <data><node>node_vvbm50204</node><entry><content>content_lohnpr0205</content></entry></data> 2023-02-15 21:45:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:45:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-15 21:45:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e23e5bb2-bc2b-469a-b7bf-8c06fdfc1786</value></item-id></result> 2023-02-15 21:45:00 | contains: true 2023-02-15 21:45:00 | [Mutex] waiting for: [user_regularh0bhvm0203@test-domain.com:message:received:content_lohnpr0205] 2023-02-15 21:45:00 | [Mutex] received everything. 2023-02-15 21:45:00 | [Mutex] isItemNotified: user_regularh0bhvm0203@test-domain.com:message:received:content_lohnpr0205 :: true 2023-02-15 21:45:00 | ===== publishing already old message - expecting message being filtered out (to online) 2023-02-15 21:45:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-15 21:45:00 | command: <data><node>node_vvbm50204</node><expire-at>2023-02-16T05:44:55Z</expire-at><entry><content>content_qgy8ny0206</content></entry></data> 2023-02-15 21:45:00 | target: http://localhost:8088 2023-02-15 21:45:00 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2023-02-15 21:45:00 | entity: <data><node>node_vvbm50204</node><expire-at>2023-02-16T05:44:55Z</expire-at><entry><content>content_qgy8ny0206</content></entry></data> 2023-02-15 21:45:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:45:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-15 21:45:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f7f9d792-1039-4f88-a521-ab6fb28ea55b</value></item-id></result> 2023-02-15 21:45:00 | contains: true 2023-02-15 21:45:00 | [Mutex] waiting for: [user_regularh0bhvm0203@test-domain.com:message:received:content_qgy8ny0206] 2023-02-15 21:45:15 | [Mutex] timeout. Not received [user_regularh0bhvm0203@test-domain.com:message:received:content_qgy8ny0206] 2023-02-15 21:45:15 | [Mutex] isItemNotified: user_regularh0bhvm0203@test-domain.com:message:received:content_qgy8ny0206 :: false 2023-02-15 21:45:15 | ===== publishing normal message (to offline) 2023-02-15 21:45:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-15 21:45:16 | command: <data><node>node_vvbm50204</node><entry><content>content_ipf6mn0207</content></entry></data> 2023-02-15 21:45:16 | target: http://localhost:8088 2023-02-15 21:45:16 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2023-02-15 21:45:16 | entity: <data><node>node_vvbm50204</node><entry><content>content_ipf6mn0207</content></entry></data> 2023-02-15 21:45:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:45:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-15 21:45:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4dbddcc6-8676-43de-aa7c-67894b9939e4</value></item-id></result> 2023-02-15 21:45:16 | contains: true 2023-02-15 21:45:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-15 21:45:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-02-15 21:45:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-15 21:45:21 | [Mutex] waiting for: [user_regularh0bhvm0203@test-domain.com:message:received:content_ipf6mn0207] 2023-02-15 21:45:21 | [Mutex] received everything. 2023-02-15 21:45:21 | [Mutex] isItemNotified: user_regularh0bhvm0203@test-domain.com:message:received:content_ipf6mn0207 :: true 2023-02-15 21:45:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-02-15 21:45:21 | [Mutex] received everything. 2023-02-15 21:45:21 | [Mutex] isItemNotified: node_vvbm50204:subscribe_node:success :: true 2023-02-15 21:45:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-15 21:45:21 | command: <data><node>node_vvbm50204</node><expire-at>2023-02-16T05:45:26Z</expire-at><entry><content>content_tru3ac0208</content></entry></data> 2023-02-15 21:45:21 | target: http://localhost:8088 2023-02-15 21:45:21 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2023-02-15 21:45:21 | entity: <data><node>node_vvbm50204</node><expire-at>2023-02-16T05:45:26Z</expire-at><entry><content>content_tru3ac0208</content></entry></data> 2023-02-15 21:45:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:45:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-15 21:45:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7b77c293-e943-4a7a-8bf7-a0bf62169e08</value></item-id></result> 2023-02-15 21:45:21 | contains: true 2023-02-15 21:45:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-15 21:45:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-02-15 21:45:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-15 21:45:29 | [Mutex] waiting for: [user_regularh0bhvm0203@test-domain.com:message:received:content_tru3ac0208] 2023-02-15 21:45:29 | [Mutex] waiting for: [user_regularh0bhvm0203@test-domain.com:message:received:content_tru3ac0208] 2023-02-15 21:45:44 | [Mutex] timeout. Not received [user_regularh0bhvm0203@test-domain.com:message:received:content_tru3ac0208] 2023-02-15 21:45:44 | [Mutex] received everything. 2023-02-15 21:45:44 | [Mutex] isItemNotified: user_regularh0bhvm0203@test-domain.com:message:received:content_tru3ac0208 :: false 2023-02-15 21:45:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tru3ac0208 :: true |