Test duration : 44.526s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.634s |
2022-11-14 22:07:03 |
2022-11-14 22:07:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-11-14 22:07:03 | ------------------------------------ 2022-11-14 22:07:03 | [Mutex] isItemNotified: node_ma5ll50204:exists :: false 2022-11-14 22:07:03 | [Mutex] waiting for: [node_ma5ll50204:create_node] 2022-11-14 22:07:03 | [Mutex] received everything. 2022-11-14 22:07:03 | [Mutex] isItemNotified: node_ma5ll50204:create_node:success :: true 2022-11-14 22:07:03 | [Mutex] waiting for: [node_ma5ll50204:subscribe_node] 2022-11-14 22:07:03 | [Mutex] received everything. 2022-11-14 22:07:03 | [Mutex] isItemNotified: node_ma5ll50204:subscribe_node:success :: true 2022-11-14 22:07:03 | ===== publishing normal message (to online) 2022-11-14 22:07:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 22:07:03 | command: <data><node>node_ma5ll50204</node><entry><content>content_lhrddh0205</content></entry></data> 2022-11-14 22:07:03 | target: http://localhost:8088 2022-11-14 22:07:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-14 22:07:03 | entity: <data><node>node_ma5ll50204</node><entry><content>content_lhrddh0205</content></entry></data> 2022-11-14 22:07:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 06:07:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 22:07:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1acffe78-87e2-4fb6-b1dd-c8cf0f76c354</value></item-id></result> 2022-11-14 22:07:03 | contains: true 2022-11-14 22:07:03 | [Mutex] received everything. 2022-11-14 22:07:03 | [Mutex] isItemNotified: user_regular97l4z30203@test-domain.com:message:received:content_lhrddh0205 :: true 2022-11-14 22:07:03 | ===== publishing already old message - expecting message being filtered out (to online) 2022-11-14 22:07:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 22:07:03 | command: <data><node>node_ma5ll50204</node><expire-at>2022-11-15T06:06:58Z</expire-at><entry><content>content_dio69a0206</content></entry></data> 2022-11-14 22:07:03 | target: http://localhost:8088 2022-11-14 22:07:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-14 22:07:03 | entity: <data><node>node_ma5ll50204</node><expire-at>2022-11-15T06:06:58Z</expire-at><entry><content>content_dio69a0206</content></entry></data> 2022-11-14 22:07:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 06:07:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 22:07:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f8c15d25-88c4-4077-8cac-f0fcf3ac548a</value></item-id></result> 2022-11-14 22:07:03 | contains: true 2022-11-14 22:07:03 | [Mutex] waiting for: [user_regular97l4z30203@test-domain.com:message:received:content_dio69a0206] 2022-11-14 22:07:18 | [Mutex] timeout. Not received [user_regular97l4z30203@test-domain.com:message:received:content_dio69a0206] 2022-11-14 22:07:18 | [Mutex] isItemNotified: user_regular97l4z30203@test-domain.com:message:received:content_dio69a0206 :: false 2022-11-14 22:07:18 | ===== publishing normal message (to offline) 2022-11-14 22:07:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 22:07:18 | command: <data><node>node_ma5ll50204</node><entry><content>content_wzs0ou0207</content></entry></data> 2022-11-14 22:07:18 | target: http://localhost:8088 2022-11-14 22:07:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-14 22:07:18 | entity: <data><node>node_ma5ll50204</node><entry><content>content_wzs0ou0207</content></entry></data> 2022-11-14 22:07:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 06:07:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 22:07:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ff5b9efa-5a3d-44ad-9112-ad529433821d</value></item-id></result> 2022-11-14 22:07:18 | contains: true 2022-11-14 22:07:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-14 22:07:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-11-14 22:07:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-14 22:07:23 | [Mutex] waiting for: [user_regular97l4z30203@test-domain.com:message:received:content_wzs0ou0207] 2022-11-14 22:07:23 | [Mutex] received everything. 2022-11-14 22:07:23 | [Mutex] isItemNotified: user_regular97l4z30203@test-domain.com:message:received:content_wzs0ou0207 :: true 2022-11-14 22:07:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-11-14 22:07:23 | [Mutex] received everything. 2022-11-14 22:07:23 | [Mutex] isItemNotified: node_ma5ll50204:subscribe_node:success :: true 2022-11-14 22:07:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-14 22:07:23 | command: <data><node>node_ma5ll50204</node><expire-at>2022-11-15T06:07:28Z</expire-at><entry><content>content_cxkkyf0208</content></entry></data> 2022-11-14 22:07:23 | target: http://localhost:8088 2022-11-14 22:07:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-14 22:07:23 | entity: <data><node>node_ma5ll50204</node><expire-at>2022-11-15T06:07:28Z</expire-at><entry><content>content_cxkkyf0208</content></entry></data> 2022-11-14 22:07:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 15 Nov 2022 06:07:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-14 22:07:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7e5090f9-fa9b-4e83-8237-4960ad1264ff</value></item-id></result> 2022-11-14 22:07:23 | contains: true 2022-11-14 22:07:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-14 22:07:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-11-14 22:07:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-14 22:07:32 | [Mutex] waiting for: [user_regular97l4z30203@test-domain.com:message:received:content_cxkkyf0208] 2022-11-14 22:07:32 | [Mutex] waiting for: [user_regular97l4z30203@test-domain.com:message:received:content_cxkkyf0208] 2022-11-14 22:07:47 | [Mutex] timeout. Not received [user_regular97l4z30203@test-domain.com:message:received:content_cxkkyf0208] 2022-11-14 22:07:47 | [Mutex] received everything. 2022-11-14 22:07:47 | [Mutex] isItemNotified: user_regular97l4z30203@test-domain.com:message:received:content_cxkkyf0208 :: false 2022-11-14 22:07:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cxkkyf0208 :: true |