Test duration : 44.934s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.728s |
2022-09-23 06:37:32 |
2022-09-23 06:37:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-23 06:37:32 | ------------------------------------ 2022-09-23 06:37:32 | [Mutex] isItemNotified: node_29y2pj0204:exists :: false 2022-09-23 06:37:32 | [Mutex] waiting for: [node_29y2pj0204:create_node] 2022-09-23 06:37:32 | [Mutex] received everything. 2022-09-23 06:37:32 | [Mutex] isItemNotified: node_29y2pj0204:create_node:success :: true 2022-09-23 06:37:32 | [Mutex] waiting for: [node_29y2pj0204:subscribe_node] 2022-09-23 06:37:32 | [Mutex] waiting for: [node_29y2pj0204:subscribe_node] 2022-09-23 06:37:32 | [Mutex] received everything. 2022-09-23 06:37:32 | [Mutex] isItemNotified: node_29y2pj0204:subscribe_node:success :: true 2022-09-23 06:37:32 | ===== publishing normal message (to online) 2022-09-23 06:37:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:37:32 | command: <data><node>node_29y2pj0204</node><entry><content>content_qaieu10205</content></entry></data> 2022-09-23 06:37:32 | target: http://localhost:8088 2022-09-23 06:37:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-23 06:37:32 | entity: <data><node>node_29y2pj0204</node><entry><content>content_qaieu10205</content></entry></data> 2022-09-23 06:37:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:37:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:37:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5098249c-06ab-4b3f-b02c-47ce021a8c5a</value></item-id></result> 2022-09-23 06:37:32 | contains: true 2022-09-23 06:37:32 | [Mutex] received everything. 2022-09-23 06:37:32 | [Mutex] isItemNotified: user_regularehyvhe0203@test-domain.com:message:received:content_qaieu10205 :: true 2022-09-23 06:37:32 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-23 06:37:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:37:32 | command: <data><node>node_29y2pj0204</node><expire-at>2022-09-23T13:37:27Z</expire-at><entry><content>content_h45ske0206</content></entry></data> 2022-09-23 06:37:32 | target: http://localhost:8088 2022-09-23 06:37:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-23 06:37:32 | entity: <data><node>node_29y2pj0204</node><expire-at>2022-09-23T13:37:27Z</expire-at><entry><content>content_h45ske0206</content></entry></data> 2022-09-23 06:37:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:37:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:37:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8ed51219-cc63-4d32-8824-673fe189ab8e</value></item-id></result> 2022-09-23 06:37:32 | contains: true 2022-09-23 06:37:32 | [Mutex] waiting for: [user_regularehyvhe0203@test-domain.com:message:received:content_h45ske0206] 2022-09-23 06:37:47 | [Mutex] timeout. Not received [user_regularehyvhe0203@test-domain.com:message:received:content_h45ske0206] 2022-09-23 06:37:47 | [Mutex] isItemNotified: user_regularehyvhe0203@test-domain.com:message:received:content_h45ske0206 :: false 2022-09-23 06:37:47 | ===== publishing normal message (to offline) 2022-09-23 06:37:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:37:47 | command: <data><node>node_29y2pj0204</node><entry><content>content_vs87hn0207</content></entry></data> 2022-09-23 06:37:47 | target: http://localhost:8088 2022-09-23 06:37:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-23 06:37:47 | entity: <data><node>node_29y2pj0204</node><entry><content>content_vs87hn0207</content></entry></data> 2022-09-23 06:37:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:37:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:37:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eae3ac17-6d8c-41c3-a7cf-b9c21a0a76c8</value></item-id></result> 2022-09-23 06:37:47 | contains: true 2022-09-23 06:37:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-23 06:37:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-23 06:37:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-23 06:37:53 | [Mutex] waiting for: [user_regularehyvhe0203@test-domain.com:message:received:content_vs87hn0207] 2022-09-23 06:37:53 | [Mutex] waiting for: [user_regularehyvhe0203@test-domain.com:message:received:content_vs87hn0207] 2022-09-23 06:37:53 | [Mutex] received everything. 2022-09-23 06:37:53 | [Mutex] isItemNotified: user_regularehyvhe0203@test-domain.com:message:received:content_vs87hn0207 :: true 2022-09-23 06:37:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-23 06:37:53 | [Mutex] received everything. 2022-09-23 06:37:53 | [Mutex] isItemNotified: node_29y2pj0204:subscribe_node:success :: true 2022-09-23 06:37:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-23 06:37:53 | command: <data><node>node_29y2pj0204</node><expire-at>2022-09-23T13:37:58Z</expire-at><entry><content>content_2xt0jo0208</content></entry></data> 2022-09-23 06:37:53 | target: http://localhost:8088 2022-09-23 06:37:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-23 06:37:53 | entity: <data><node>node_29y2pj0204</node><expire-at>2022-09-23T13:37:58Z</expire-at><entry><content>content_2xt0jo0208</content></entry></data> 2022-09-23 06:37:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 13:37:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-23 06:37:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>79c454bc-2741-4358-80f9-6fe1cdd6c401</value></item-id></result> 2022-09-23 06:37:53 | contains: true 2022-09-23 06:38:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-23 06:38:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-23 06:38:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-23 06:38:01 | [Mutex] waiting for: [user_regularehyvhe0203@test-domain.com:message:received:content_2xt0jo0208] 2022-09-23 06:38:01 | [Mutex] waiting for: [user_regularehyvhe0203@test-domain.com:message:received:content_2xt0jo0208] 2022-09-23 06:38:16 | [Mutex] timeout. Not received [user_regularehyvhe0203@test-domain.com:message:received:content_2xt0jo0208] 2022-09-23 06:38:16 | [Mutex] received everything. 2022-09-23 06:38:16 | [Mutex] isItemNotified: user_regularehyvhe0203@test-domain.com:message:received:content_2xt0jo0208 :: false 2022-09-23 06:38:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2xt0jo0208 :: true |