Test duration : 44.763s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.633s |
2023-07-06 22:31:06 |
2023-07-06 22:31:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-06 22:31:06 | ------------------------------------ 2023-07-06 22:31:06 | [Mutex] isItemNotified: node_l9fagb0208:exists :: false 2023-07-06 22:31:06 | [Mutex] waiting for: [node_l9fagb0208:create_node] 2023-07-06 22:31:06 | [Mutex] received everything. 2023-07-06 22:31:06 | [Mutex] isItemNotified: node_l9fagb0208:create_node:success :: true 2023-07-06 22:31:06 | [Mutex] waiting for: [node_l9fagb0208:subscribe_node] 2023-07-06 22:31:06 | [Mutex] waiting for: [node_l9fagb0208:subscribe_node] 2023-07-06 22:31:06 | [Mutex] received everything. 2023-07-06 22:31:06 | [Mutex] isItemNotified: node_l9fagb0208:subscribe_node:success :: true 2023-07-06 22:31:06 | ===== publishing normal message (to online) 2023-07-06 22:31:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 22:31:06 | command: <data><node>node_l9fagb0208</node><entry><content>content_s7qtmc0209</content></entry></data> 2023-07-06 22:31:06 | target: http://localhost:8088 2023-07-06 22:31:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-06 22:31:06 | entity: <data><node>node_l9fagb0208</node><entry><content>content_s7qtmc0209</content></entry></data> 2023-07-06 22:31:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 05:31:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 22:31:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9f1f7568-e84e-4c81-8a47-b068f0991c8b</value></item-id></result> 2023-07-06 22:31:06 | contains: true 2023-07-06 22:31:06 | [Mutex] received everything. 2023-07-06 22:31:06 | [Mutex] isItemNotified: user_regularfss58l0207@test-domain.com:message:received:content_s7qtmc0209 :: true 2023-07-06 22:31:06 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-06 22:31:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 22:31:06 | command: <data><node>node_l9fagb0208</node><expire-at>2023-07-07T05:31:01Z</expire-at><entry><content>content_obs7cr0210</content></entry></data> 2023-07-06 22:31:06 | target: http://localhost:8088 2023-07-06 22:31:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-06 22:31:06 | entity: <data><node>node_l9fagb0208</node><expire-at>2023-07-07T05:31:01Z</expire-at><entry><content>content_obs7cr0210</content></entry></data> 2023-07-06 22:31:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 05:31:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 22:31:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bc06e0ac-b17c-4a63-b69e-b7c5c4593626</value></item-id></result> 2023-07-06 22:31:06 | contains: true 2023-07-06 22:31:06 | [Mutex] waiting for: [user_regularfss58l0207@test-domain.com:message:received:content_obs7cr0210] 2023-07-06 22:31:21 | [Mutex] timeout. Not received [user_regularfss58l0207@test-domain.com:message:received:content_obs7cr0210] 2023-07-06 22:31:21 | [Mutex] isItemNotified: user_regularfss58l0207@test-domain.com:message:received:content_obs7cr0210 :: false 2023-07-06 22:31:21 | ===== publishing normal message (to offline) 2023-07-06 22:31:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 22:31:21 | command: <data><node>node_l9fagb0208</node><entry><content>content_1vq7xv0211</content></entry></data> 2023-07-06 22:31:21 | target: http://localhost:8088 2023-07-06 22:31:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-06 22:31:21 | entity: <data><node>node_l9fagb0208</node><entry><content>content_1vq7xv0211</content></entry></data> 2023-07-06 22:31:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 05:31:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 22:31:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2945b6af-0c01-46e3-98c3-ce59e89cb8a8</value></item-id></result> 2023-07-06 22:31:21 | contains: true 2023-07-06 22:31:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-06 22:31:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-06 22:31:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-06 22:31:26 | [Mutex] waiting for: [user_regularfss58l0207@test-domain.com:message:received:content_1vq7xv0211] 2023-07-06 22:31:26 | [Mutex] waiting for: [user_regularfss58l0207@test-domain.com:message:received:content_1vq7xv0211] 2023-07-06 22:31:26 | [Mutex] received everything. 2023-07-06 22:31:26 | [Mutex] isItemNotified: user_regularfss58l0207@test-domain.com:message:received:content_1vq7xv0211 :: true 2023-07-06 22:31:26 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-06 22:31:26 | [Mutex] received everything. 2023-07-06 22:31:26 | [Mutex] isItemNotified: node_l9fagb0208:subscribe_node:success :: true 2023-07-06 22:31:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 22:31:26 | command: <data><node>node_l9fagb0208</node><expire-at>2023-07-07T05:31:31Z</expire-at><entry><content>content_jicrf10212</content></entry></data> 2023-07-06 22:31:26 | target: http://localhost:8088 2023-07-06 22:31:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-06 22:31:26 | entity: <data><node>node_l9fagb0208</node><expire-at>2023-07-07T05:31:31Z</expire-at><entry><content>content_jicrf10212</content></entry></data> 2023-07-06 22:31:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 05:31:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 22:31:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3e92380a-ec2b-43cc-b10b-365e8974901f</value></item-id></result> 2023-07-06 22:31:26 | contains: true 2023-07-06 22:31:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-06 22:31:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-06 22:31:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-06 22:31:35 | [Mutex] waiting for: [user_regularfss58l0207@test-domain.com:message:received:content_jicrf10212] 2023-07-06 22:31:35 | [Mutex] waiting for: [user_regularfss58l0207@test-domain.com:message:received:content_jicrf10212] 2023-07-06 22:31:35 | [Mutex] waiting for: [user_regularfss58l0207@test-domain.com:message:received:content_jicrf10212] 2023-07-06 22:31:50 | [Mutex] timeout. Not received [user_regularfss58l0207@test-domain.com:message:received:content_jicrf10212] 2023-07-06 22:31:50 | [Mutex] received everything. 2023-07-06 22:31:50 | [Mutex] isItemNotified: user_regularfss58l0207@test-domain.com:message:received:content_jicrf10212 :: false 2023-07-06 22:31:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jicrf10212 :: true |