Test duration : 44.748s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.684s |
2023-03-27 22:29:59 |
2023-03-27 22:29:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-27 22:29:59 | ------------------------------------ 2023-03-27 22:29:59 | [Mutex] isItemNotified: node_6kp4m10208:exists :: false 2023-03-27 22:29:59 | [Mutex] waiting for: [node_6kp4m10208:create_node] 2023-03-27 22:29:59 | [Mutex] received everything. 2023-03-27 22:29:59 | [Mutex] isItemNotified: node_6kp4m10208:create_node:success :: true 2023-03-27 22:29:59 | [Mutex] waiting for: [node_6kp4m10208:subscribe_node] 2023-03-27 22:29:59 | [Mutex] received everything. 2023-03-27 22:29:59 | [Mutex] isItemNotified: node_6kp4m10208:subscribe_node:success :: true 2023-03-27 22:29:59 | ===== publishing normal message (to online) 2023-03-27 22:29:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-27 22:29:59 | command: <data><node>node_6kp4m10208</node><entry><content>content_q7khdi0209</content></entry></data> 2023-03-27 22:29:59 | target: http://localhost:8088 2023-03-27 22:29:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-27 22:29:59 | entity: <data><node>node_6kp4m10208</node><entry><content>content_q7khdi0209</content></entry></data> 2023-03-27 22:29:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:29:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-27 22:29:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dd7c4eb6-772e-4a75-8795-eae3e80ba9c5</value></item-id></result> 2023-03-27 22:29:59 | contains: true 2023-03-27 22:29:59 | [Mutex] waiting for: [user_regularmxbi590207@test-domain.com:message:received:content_q7khdi0209] 2023-03-27 22:29:59 | [Mutex] received everything. 2023-03-27 22:29:59 | [Mutex] isItemNotified: user_regularmxbi590207@test-domain.com:message:received:content_q7khdi0209 :: true 2023-03-27 22:29:59 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-27 22:29:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-27 22:29:59 | command: <data><node>node_6kp4m10208</node><expire-at>2023-03-28T05:29:54Z</expire-at><entry><content>content_nm9dyk0210</content></entry></data> 2023-03-27 22:29:59 | target: http://localhost:8088 2023-03-27 22:29:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-27 22:29:59 | entity: <data><node>node_6kp4m10208</node><expire-at>2023-03-28T05:29:54Z</expire-at><entry><content>content_nm9dyk0210</content></entry></data> 2023-03-27 22:29:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:29:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-27 22:29:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c4138e82-0ec4-4fc5-b164-341c0bb26025</value></item-id></result> 2023-03-27 22:29:59 | contains: true 2023-03-27 22:29:59 | [Mutex] waiting for: [user_regularmxbi590207@test-domain.com:message:received:content_nm9dyk0210] 2023-03-27 22:30:14 | [Mutex] timeout. Not received [user_regularmxbi590207@test-domain.com:message:received:content_nm9dyk0210] 2023-03-27 22:30:14 | [Mutex] isItemNotified: user_regularmxbi590207@test-domain.com:message:received:content_nm9dyk0210 :: false 2023-03-27 22:30:14 | ===== publishing normal message (to offline) 2023-03-27 22:30:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-27 22:30:14 | command: <data><node>node_6kp4m10208</node><entry><content>content_kcnc7x0211</content></entry></data> 2023-03-27 22:30:14 | target: http://localhost:8088 2023-03-27 22:30:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-27 22:30:14 | entity: <data><node>node_6kp4m10208</node><entry><content>content_kcnc7x0211</content></entry></data> 2023-03-27 22:30:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:30:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-27 22:30:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc7f0145-0d4a-4523-b7a9-fa2c0e94a9ad</value></item-id></result> 2023-03-27 22:30:14 | contains: true 2023-03-27 22:30:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-27 22:30:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-27 22:30:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-27 22:30:20 | [Mutex] waiting for: [user_regularmxbi590207@test-domain.com:message:received:content_kcnc7x0211] 2023-03-27 22:30:20 | [Mutex] waiting for: [user_regularmxbi590207@test-domain.com:message:received:content_kcnc7x0211] 2023-03-27 22:30:20 | [Mutex] received everything. 2023-03-27 22:30:20 | [Mutex] isItemNotified: user_regularmxbi590207@test-domain.com:message:received:content_kcnc7x0211 :: true 2023-03-27 22:30:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-27 22:30:20 | [Mutex] received everything. 2023-03-27 22:30:20 | [Mutex] isItemNotified: node_6kp4m10208:subscribe_node:success :: true 2023-03-27 22:30:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-27 22:30:20 | command: <data><node>node_6kp4m10208</node><expire-at>2023-03-28T05:30:25Z</expire-at><entry><content>content_hrsydc0212</content></entry></data> 2023-03-27 22:30:20 | target: http://localhost:8088 2023-03-27 22:30:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-27 22:30:20 | entity: <data><node>node_6kp4m10208</node><expire-at>2023-03-28T05:30:25Z</expire-at><entry><content>content_hrsydc0212</content></entry></data> 2023-03-27 22:30:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 28 Mar 2023 05:30:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-27 22:30:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>15c5c914-6e94-4ccf-883d-5122d744a410</value></item-id></result> 2023-03-27 22:30:20 | contains: true 2023-03-27 22:30:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-27 22:30:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-27 22:30:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-27 22:30:28 | [Mutex] waiting for: [user_regularmxbi590207@test-domain.com:message:received:content_hrsydc0212] 2023-03-27 22:30:43 | [Mutex] timeout. Not received [user_regularmxbi590207@test-domain.com:message:received:content_hrsydc0212] 2023-03-27 22:30:43 | [Mutex] received everything. 2023-03-27 22:30:43 | [Mutex] isItemNotified: user_regularmxbi590207@test-domain.com:message:received:content_hrsydc0212 :: false 2023-03-27 22:30:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hrsydc0212 :: true |