Test duration : 44.885s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.585s |
2022-11-24 21:37:44 |
2022-11-24 21:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-11-24 21:37:44 | ------------------------------------ 2022-11-24 21:37:44 | [Mutex] isItemNotified: node_7k4jy80204:exists :: false 2022-11-24 21:37:44 | [Mutex] waiting for: [node_7k4jy80204:create_node] 2022-11-24 21:37:44 | [Mutex] received everything. 2022-11-24 21:37:44 | [Mutex] isItemNotified: node_7k4jy80204:create_node:success :: true 2022-11-24 21:37:44 | [Mutex] waiting for: [node_7k4jy80204:subscribe_node] 2022-11-24 21:37:44 | [Mutex] received everything. 2022-11-24 21:37:44 | [Mutex] isItemNotified: node_7k4jy80204:subscribe_node:success :: true 2022-11-24 21:37:44 | ===== publishing normal message (to online) 2022-11-24 21:37:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:37:44 | command: <data><node>node_7k4jy80204</node><entry><content>content_b6yg670205</content></entry></data> 2022-11-24 21:37:44 | target: http://localhost:8088 2022-11-24 21:37:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-24 21:37:44 | entity: <data><node>node_7k4jy80204</node><entry><content>content_b6yg670205</content></entry></data> 2022-11-24 21:37:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:37:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:37:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>96eb928b-b662-43f4-a59f-9ab33b7f5bb1</value></item-id></result> 2022-11-24 21:37:44 | contains: true 2022-11-24 21:37:44 | [Mutex] received everything. 2022-11-24 21:37:44 | [Mutex] isItemNotified: user_regularrbqv880203@test-domain.com:message:received:content_b6yg670205 :: true 2022-11-24 21:37:44 | ===== publishing already old message - expecting message being filtered out (to online) 2022-11-24 21:37:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:37:44 | command: <data><node>node_7k4jy80204</node><expire-at>2022-11-25T05:37:39Z</expire-at><entry><content>content_zi17cp0206</content></entry></data> 2022-11-24 21:37:44 | target: http://localhost:8088 2022-11-24 21:37:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-24 21:37:44 | entity: <data><node>node_7k4jy80204</node><expire-at>2022-11-25T05:37:39Z</expire-at><entry><content>content_zi17cp0206</content></entry></data> 2022-11-24 21:37:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:37:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:37:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc1642a5-ce9a-43d9-85d8-c672582eab35</value></item-id></result> 2022-11-24 21:37:44 | contains: true 2022-11-24 21:37:44 | [Mutex] waiting for: [user_regularrbqv880203@test-domain.com:message:received:content_zi17cp0206] 2022-11-24 21:37:59 | [Mutex] timeout. Not received [user_regularrbqv880203@test-domain.com:message:received:content_zi17cp0206] 2022-11-24 21:37:59 | [Mutex] isItemNotified: user_regularrbqv880203@test-domain.com:message:received:content_zi17cp0206 :: false 2022-11-24 21:37:59 | ===== publishing normal message (to offline) 2022-11-24 21:37:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:37:59 | command: <data><node>node_7k4jy80204</node><entry><content>content_z8h5wg0207</content></entry></data> 2022-11-24 21:37:59 | target: http://localhost:8088 2022-11-24 21:37:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-24 21:37:59 | entity: <data><node>node_7k4jy80204</node><entry><content>content_z8h5wg0207</content></entry></data> 2022-11-24 21:37:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:37:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:37:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>36a68a30-08c4-43a2-8197-b47ea7c6dc05</value></item-id></result> 2022-11-24 21:37:59 | contains: true 2022-11-24 21:38:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-24 21:38:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-11-24 21:38:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-24 21:38:04 | [Mutex] waiting for: [user_regularrbqv880203@test-domain.com:message:received:content_z8h5wg0207] 2022-11-24 21:38:04 | [Mutex] received everything. 2022-11-24 21:38:04 | [Mutex] isItemNotified: user_regularrbqv880203@test-domain.com:message:received:content_z8h5wg0207 :: true 2022-11-24 21:38:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-11-24 21:38:04 | [Mutex] received everything. 2022-11-24 21:38:04 | [Mutex] isItemNotified: node_7k4jy80204:subscribe_node:success :: true 2022-11-24 21:38:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:38:04 | command: <data><node>node_7k4jy80204</node><expire-at>2022-11-25T05:38:09Z</expire-at><entry><content>content_h9wjn10208</content></entry></data> 2022-11-24 21:38:04 | target: http://localhost:8088 2022-11-24 21:38:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-24 21:38:04 | entity: <data><node>node_7k4jy80204</node><expire-at>2022-11-25T05:38:09Z</expire-at><entry><content>content_h9wjn10208</content></entry></data> 2022-11-24 21:38:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:38:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:38:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b5f7297a-ac74-48f5-b403-70f94263c153</value></item-id></result> 2022-11-24 21:38:04 | contains: true 2022-11-24 21:38:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-24 21:38:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-11-24 21:38:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-24 21:38:12 | [Mutex] waiting for: [user_regularrbqv880203@test-domain.com:message:received:content_h9wjn10208] 2022-11-24 21:38:12 | [Mutex] waiting for: [user_regularrbqv880203@test-domain.com:message:received:content_h9wjn10208] 2022-11-24 21:38:27 | [Mutex] timeout. Not received [user_regularrbqv880203@test-domain.com:message:received:content_h9wjn10208] 2022-11-24 21:38:27 | [Mutex] received everything. 2022-11-24 21:38:27 | [Mutex] isItemNotified: user_regularrbqv880203@test-domain.com:message:received:content_h9wjn10208 :: false 2022-11-24 21:38:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_h9wjn10208 :: true |