Test duration : 44.927s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.652s |
2023-03-17 22:44:18 |
2023-03-17 22:44:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-17 22:44:18 | ------------------------------------ 2023-03-17 22:44:18 | [Mutex] isItemNotified: node_2vluwf0208:exists :: false 2023-03-17 22:44:18 | [Mutex] waiting for: [node_2vluwf0208:create_node] 2023-03-17 22:44:18 | [Mutex] received everything. 2023-03-17 22:44:18 | [Mutex] isItemNotified: node_2vluwf0208:create_node:success :: true 2023-03-17 22:44:18 | [Mutex] waiting for: [node_2vluwf0208:subscribe_node] 2023-03-17 22:44:18 | [Mutex] waiting for: [node_2vluwf0208:subscribe_node] 2023-03-17 22:44:18 | [Mutex] received everything. 2023-03-17 22:44:18 | [Mutex] isItemNotified: node_2vluwf0208:subscribe_node:success :: true 2023-03-17 22:44:18 | ===== publishing normal message (to online) 2023-03-17 22:44:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 22:44:18 | command: <data><node>node_2vluwf0208</node><entry><content>content_blcuo0209</content></entry></data> 2023-03-17 22:44:18 | target: http://localhost:8088 2023-03-17 22:44:18 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2023-03-17 22:44:18 | entity: <data><node>node_2vluwf0208</node><entry><content>content_blcuo0209</content></entry></data> 2023-03-17 22:44:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 05:44:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 22:44:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4355594c-3c6c-42b0-a62e-a0b14ddae230</value></item-id></result> 2023-03-17 22:44:18 | contains: true 2023-03-17 22:44:18 | [Mutex] waiting for: [user_regularp0liua0207@test-domain.com:message:received:content_blcuo0209] 2023-03-17 22:44:18 | [Mutex] received everything. 2023-03-17 22:44:18 | [Mutex] isItemNotified: user_regularp0liua0207@test-domain.com:message:received:content_blcuo0209 :: true 2023-03-17 22:44:18 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-17 22:44:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 22:44:18 | command: <data><node>node_2vluwf0208</node><expire-at>2023-03-18T05:44:13Z</expire-at><entry><content>content_g4crc50210</content></entry></data> 2023-03-17 22:44:18 | target: http://localhost:8088 2023-03-17 22:44:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-17 22:44:18 | entity: <data><node>node_2vluwf0208</node><expire-at>2023-03-18T05:44:13Z</expire-at><entry><content>content_g4crc50210</content></entry></data> 2023-03-17 22:44:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 05:44:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 22:44:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>458eb9c2-069b-4394-86af-458fb3ae3f74</value></item-id></result> 2023-03-17 22:44:18 | contains: true 2023-03-17 22:44:18 | [Mutex] waiting for: [user_regularp0liua0207@test-domain.com:message:received:content_g4crc50210] 2023-03-17 22:44:33 | [Mutex] timeout. Not received [user_regularp0liua0207@test-domain.com:message:received:content_g4crc50210] 2023-03-17 22:44:33 | [Mutex] isItemNotified: user_regularp0liua0207@test-domain.com:message:received:content_g4crc50210 :: false 2023-03-17 22:44:33 | ===== publishing normal message (to offline) 2023-03-17 22:44:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 22:44:33 | command: <data><node>node_2vluwf0208</node><entry><content>content_b7go6j0211</content></entry></data> 2023-03-17 22:44:33 | target: http://localhost:8088 2023-03-17 22:44:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-17 22:44:33 | entity: <data><node>node_2vluwf0208</node><entry><content>content_b7go6j0211</content></entry></data> 2023-03-17 22:44:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 05:44:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 22:44:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5b78c9b8-82fd-428e-86b8-a8a896f564b7</value></item-id></result> 2023-03-17 22:44:33 | contains: true 2023-03-17 22:44:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-17 22:44:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-17 22:44:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-17 22:44:38 | [Mutex] waiting for: [user_regularp0liua0207@test-domain.com:message:received:content_b7go6j0211] 2023-03-17 22:44:38 | [Mutex] waiting for: [user_regularp0liua0207@test-domain.com:message:received:content_b7go6j0211] 2023-03-17 22:44:38 | [Mutex] received everything. 2023-03-17 22:44:38 | [Mutex] isItemNotified: user_regularp0liua0207@test-domain.com:message:received:content_b7go6j0211 :: true 2023-03-17 22:44:38 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-17 22:44:38 | [Mutex] received everything. 2023-03-17 22:44:38 | [Mutex] isItemNotified: node_2vluwf0208:subscribe_node:success :: true 2023-03-17 22:44:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 22:44:38 | command: <data><node>node_2vluwf0208</node><expire-at>2023-03-18T05:44:43Z</expire-at><entry><content>content_gt3sdk0212</content></entry></data> 2023-03-17 22:44:38 | target: http://localhost:8088 2023-03-17 22:44:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-17 22:44:38 | entity: <data><node>node_2vluwf0208</node><expire-at>2023-03-18T05:44:43Z</expire-at><entry><content>content_gt3sdk0212</content></entry></data> 2023-03-17 22:44:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 05:44:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 22:44:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a3715d9f-b96a-4fe1-8830-953407d1fca3</value></item-id></result> 2023-03-17 22:44:38 | contains: true 2023-03-17 22:44:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-17 22:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-17 22:44:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-17 22:44:46 | [Mutex] waiting for: [user_regularp0liua0207@test-domain.com:message:received:content_gt3sdk0212] 2023-03-17 22:44:46 | [Mutex] waiting for: [user_regularp0liua0207@test-domain.com:message:received:content_gt3sdk0212] 2023-03-17 22:44:46 | [Mutex] waiting for: [user_regularp0liua0207@test-domain.com:message:received:content_gt3sdk0212] 2023-03-17 22:45:01 | [Mutex] timeout. Not received [user_regularp0liua0207@test-domain.com:message:received:content_gt3sdk0212] 2023-03-17 22:45:01 | [Mutex] received everything. 2023-03-17 22:45:01 | [Mutex] isItemNotified: user_regularp0liua0207@test-domain.com:message:received:content_gt3sdk0212 :: false 2023-03-17 22:45:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gt3sdk0212 :: true |