Test duration : 44.672s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.637s |
2023-07-10 12:51:30 |
2023-07-10 12:51:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-10 12:51:30 | ------------------------------------ 2023-07-10 12:51:30 | [Mutex] isItemNotified: node_9tl4c60208:exists :: false 2023-07-10 12:51:30 | [Mutex] waiting for: [node_9tl4c60208:create_node] 2023-07-10 12:51:30 | [Mutex] received everything. 2023-07-10 12:51:30 | [Mutex] isItemNotified: node_9tl4c60208:create_node:success :: true 2023-07-10 12:51:30 | [Mutex] waiting for: [node_9tl4c60208:subscribe_node] 2023-07-10 12:51:30 | [Mutex] waiting for: [node_9tl4c60208:subscribe_node] 2023-07-10 12:51:30 | [Mutex] received everything. 2023-07-10 12:51:30 | [Mutex] isItemNotified: node_9tl4c60208:subscribe_node:success :: true 2023-07-10 12:51:30 | ===== publishing normal message (to online) 2023-07-10 12:51:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-10 12:51:30 | command: <data><node>node_9tl4c60208</node><entry><content>content_zeh0w0209</content></entry></data> 2023-07-10 12:51:30 | target: http://localhost:8088 2023-07-10 12:51:30 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2023-07-10 12:51:30 | entity: <data><node>node_9tl4c60208</node><entry><content>content_zeh0w0209</content></entry></data> 2023-07-10 12:51:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 19:51:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-10 12:51:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9e3392a9-46c9-466d-bed4-91903e31e302</value></item-id></result> 2023-07-10 12:51:31 | contains: true 2023-07-10 12:51:31 | [Mutex] waiting for: [user_regulardn6qbn0207@test-domain.com:message:received:content_zeh0w0209] 2023-07-10 12:51:31 | [Mutex] received everything. 2023-07-10 12:51:31 | [Mutex] isItemNotified: user_regulardn6qbn0207@test-domain.com:message:received:content_zeh0w0209 :: true 2023-07-10 12:51:31 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-10 12:51:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-10 12:51:31 | command: <data><node>node_9tl4c60208</node><expire-at>2023-07-10T19:51:26Z</expire-at><entry><content>content_alfmz0210</content></entry></data> 2023-07-10 12:51:31 | target: http://localhost:8088 2023-07-10 12:51:31 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2023-07-10 12:51:31 | entity: <data><node>node_9tl4c60208</node><expire-at>2023-07-10T19:51:26Z</expire-at><entry><content>content_alfmz0210</content></entry></data> 2023-07-10 12:51:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 19:51:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-10 12:51:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8e4ece27-4182-4211-9ac1-9c805698b5da</value></item-id></result> 2023-07-10 12:51:31 | contains: true 2023-07-10 12:51:31 | [Mutex] waiting for: [user_regulardn6qbn0207@test-domain.com:message:received:content_alfmz0210] 2023-07-10 12:51:46 | [Mutex] timeout. Not received [user_regulardn6qbn0207@test-domain.com:message:received:content_alfmz0210] 2023-07-10 12:51:46 | [Mutex] isItemNotified: user_regulardn6qbn0207@test-domain.com:message:received:content_alfmz0210 :: false 2023-07-10 12:51:46 | ===== publishing normal message (to offline) 2023-07-10 12:51:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-10 12:51:46 | command: <data><node>node_9tl4c60208</node><entry><content>content_hnyc6i0211</content></entry></data> 2023-07-10 12:51:46 | target: http://localhost:8088 2023-07-10 12:51:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-10 12:51:46 | entity: <data><node>node_9tl4c60208</node><entry><content>content_hnyc6i0211</content></entry></data> 2023-07-10 12:51:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 19:51:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-10 12:51:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>05541508-f880-4db2-94a9-c3881d1a9e2f</value></item-id></result> 2023-07-10 12:51:46 | contains: true 2023-07-10 12:51:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-10 12:51:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-10 12:51:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-10 12:51:51 | [Mutex] received everything. 2023-07-10 12:51:51 | [Mutex] isItemNotified: user_regulardn6qbn0207@test-domain.com:message:received:content_hnyc6i0211 :: true 2023-07-10 12:51:51 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-10 12:51:51 | [Mutex] received everything. 2023-07-10 12:51:51 | [Mutex] isItemNotified: node_9tl4c60208:subscribe_node:success :: true 2023-07-10 12:51:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-10 12:51:51 | command: <data><node>node_9tl4c60208</node><expire-at>2023-07-10T19:51:56Z</expire-at><entry><content>content_41w8ar0212</content></entry></data> 2023-07-10 12:51:51 | target: http://localhost:8088 2023-07-10 12:51:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-10 12:51:51 | entity: <data><node>node_9tl4c60208</node><expire-at>2023-07-10T19:51:56Z</expire-at><entry><content>content_41w8ar0212</content></entry></data> 2023-07-10 12:51:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 19:51:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-10 12:51:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>045882d3-525e-4c88-a533-d8dab3f0de7c</value></item-id></result> 2023-07-10 12:51:51 | contains: true 2023-07-10 12:51:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-10 12:51:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-10 12:51:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-10 12:51:59 | [Mutex] waiting for: [user_regulardn6qbn0207@test-domain.com:message:received:content_41w8ar0212] 2023-07-10 12:52:14 | [Mutex] timeout. Not received [user_regulardn6qbn0207@test-domain.com:message:received:content_41w8ar0212] 2023-07-10 12:52:14 | [Mutex] received everything. 2023-07-10 12:52:14 | [Mutex] isItemNotified: user_regulardn6qbn0207@test-domain.com:message:received:content_41w8ar0212 :: false 2023-07-10 12:52:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_41w8ar0212 :: true |