Test duration : 44.818s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.609s |
2022-10-06 23:00:30 |
2022-10-06 23:00:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-06 23:00:30 | ------------------------------------ 2022-10-06 23:00:30 | [Mutex] isItemNotified: node_3boseb0204:exists :: false 2022-10-06 23:00:30 | [Mutex] waiting for: [node_3boseb0204:create_node] 2022-10-06 23:00:30 | [Mutex] waiting for: [node_3boseb0204:create_node] 2022-10-06 23:00:30 | [Mutex] received everything. 2022-10-06 23:00:30 | [Mutex] isItemNotified: node_3boseb0204:create_node:success :: true 2022-10-06 23:00:30 | [Mutex] waiting for: [node_3boseb0204:subscribe_node] 2022-10-06 23:00:30 | [Mutex] waiting for: [node_3boseb0204:subscribe_node] 2022-10-06 23:00:30 | [Mutex] received everything. 2022-10-06 23:00:30 | [Mutex] isItemNotified: node_3boseb0204:subscribe_node:success :: true 2022-10-06 23:00:30 | ===== publishing normal message (to online) 2022-10-06 23:00:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-06 23:00:30 | command: <data><node>node_3boseb0204</node><entry><content>content_mxxz7k0205</content></entry></data> 2022-10-06 23:00:30 | target: http://localhost:8088 2022-10-06 23:00:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-06 23:00:30 | entity: <data><node>node_3boseb0204</node><entry><content>content_mxxz7k0205</content></entry></data> 2022-10-06 23:00:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Oct 2022 06:00:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-06 23:00:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5d32be6b-f5cb-4786-ac2d-866eab184568</value></item-id></result> 2022-10-06 23:00:30 | contains: true 2022-10-06 23:00:30 | [Mutex] received everything. 2022-10-06 23:00:30 | [Mutex] isItemNotified: user_regularytmdpo0203@test-domain.com:message:received:content_mxxz7k0205 :: true 2022-10-06 23:00:30 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-06 23:00:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-06 23:00:30 | command: <data><node>node_3boseb0204</node><expire-at>2022-10-07T06:00:25Z</expire-at><entry><content>content_qx2g6s0206</content></entry></data> 2022-10-06 23:00:30 | target: http://localhost:8088 2022-10-06 23:00:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-06 23:00:30 | entity: <data><node>node_3boseb0204</node><expire-at>2022-10-07T06:00:25Z</expire-at><entry><content>content_qx2g6s0206</content></entry></data> 2022-10-06 23:00:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Oct 2022 06:00:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-06 23:00:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>33ba828f-031e-48fb-a5b1-7df70a2f9ec0</value></item-id></result> 2022-10-06 23:00:30 | contains: true 2022-10-06 23:00:30 | [Mutex] waiting for: [user_regularytmdpo0203@test-domain.com:message:received:content_qx2g6s0206] 2022-10-06 23:00:45 | [Mutex] timeout. Not received [user_regularytmdpo0203@test-domain.com:message:received:content_qx2g6s0206] 2022-10-06 23:00:45 | [Mutex] isItemNotified: user_regularytmdpo0203@test-domain.com:message:received:content_qx2g6s0206 :: false 2022-10-06 23:00:45 | ===== publishing normal message (to offline) 2022-10-06 23:00:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-06 23:00:45 | command: <data><node>node_3boseb0204</node><entry><content>content_w9wy6b0207</content></entry></data> 2022-10-06 23:00:45 | target: http://localhost:8088 2022-10-06 23:00:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-06 23:00:45 | entity: <data><node>node_3boseb0204</node><entry><content>content_w9wy6b0207</content></entry></data> 2022-10-06 23:00:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Oct 2022 06:00:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-06 23:00:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9d43f3ce-5d88-4d89-b260-41d37261352e</value></item-id></result> 2022-10-06 23:00:45 | contains: true 2022-10-06 23:00:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-06 23:00:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-10-06 23:00:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-06 23:00:50 | [Mutex] waiting for: [user_regularytmdpo0203@test-domain.com:message:received:content_w9wy6b0207] 2022-10-06 23:00:50 | [Mutex] waiting for: [user_regularytmdpo0203@test-domain.com:message:received:content_w9wy6b0207] 2022-10-06 23:00:50 | [Mutex] received everything. 2022-10-06 23:00:50 | [Mutex] isItemNotified: user_regularytmdpo0203@test-domain.com:message:received:content_w9wy6b0207 :: true 2022-10-06 23:00:50 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-06 23:00:50 | [Mutex] received everything. 2022-10-06 23:00:50 | [Mutex] isItemNotified: node_3boseb0204:subscribe_node:success :: true 2022-10-06 23:00:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-06 23:00:50 | command: <data><node>node_3boseb0204</node><expire-at>2022-10-07T06:00:55Z</expire-at><entry><content>content_ny4yts0208</content></entry></data> 2022-10-06 23:00:50 | target: http://localhost:8088 2022-10-06 23:00:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-06 23:00:50 | entity: <data><node>node_3boseb0204</node><expire-at>2022-10-07T06:00:55Z</expire-at><entry><content>content_ny4yts0208</content></entry></data> 2022-10-06 23:00:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Oct 2022 06:00:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-06 23:00:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fe0431fc-bde3-4001-a406-a27df2662176</value></item-id></result> 2022-10-06 23:00:50 | contains: true 2022-10-06 23:00:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-06 23:00:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-10-06 23:00:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-06 23:00:59 | [Mutex] waiting for: [user_regularytmdpo0203@test-domain.com:message:received:content_ny4yts0208] 2022-10-06 23:01:14 | [Mutex] timeout. Not received [user_regularytmdpo0203@test-domain.com:message:received:content_ny4yts0208] 2022-10-06 23:01:14 | [Mutex] received everything. 2022-10-06 23:01:14 | [Mutex] isItemNotified: user_regularytmdpo0203@test-domain.com:message:received:content_ny4yts0208 :: false 2022-10-06 23:01:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ny4yts0208 :: true |