Test duration : 44.746s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.492s |
2022-10-17 23:17:04 |
2022-10-17 23:17:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-17 23:17:04 | ------------------------------------ 2022-10-17 23:17:04 | [Mutex] isItemNotified: node_bcxs3w0204:exists :: false 2022-10-17 23:17:04 | [Mutex] waiting for: [node_bcxs3w0204:create_node] 2022-10-17 23:17:04 | [Mutex] waiting for: [node_bcxs3w0204:create_node] 2022-10-17 23:17:04 | [Mutex] received everything. 2022-10-17 23:17:04 | [Mutex] isItemNotified: node_bcxs3w0204:create_node:success :: true 2022-10-17 23:17:04 | [Mutex] waiting for: [node_bcxs3w0204:subscribe_node] 2022-10-17 23:17:04 | [Mutex] received everything. 2022-10-17 23:17:04 | [Mutex] isItemNotified: node_bcxs3w0204:subscribe_node:success :: true 2022-10-17 23:17:04 | ===== publishing normal message (to online) 2022-10-17 23:17:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-17 23:17:04 | command: <data><node>node_bcxs3w0204</node><entry><content>content_86gl6n0205</content></entry></data> 2022-10-17 23:17:04 | target: http://localhost:8088 2022-10-17 23:17:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-17 23:17:04 | entity: <data><node>node_bcxs3w0204</node><entry><content>content_86gl6n0205</content></entry></data> 2022-10-17 23:17:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 06:17:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-17 23:17:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f964bd3c-b43b-4250-8e0e-c1ae51b5b556</value></item-id></result> 2022-10-17 23:17:04 | contains: true 2022-10-17 23:17:04 | [Mutex] received everything. 2022-10-17 23:17:04 | [Mutex] isItemNotified: user_regular8ibpr40203@test-domain.com:message:received:content_86gl6n0205 :: true 2022-10-17 23:17:04 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-17 23:17:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-17 23:17:04 | command: <data><node>node_bcxs3w0204</node><expire-at>2022-10-18T06:16:59Z</expire-at><entry><content>content_efs4i10206</content></entry></data> 2022-10-17 23:17:04 | target: http://localhost:8088 2022-10-17 23:17:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-17 23:17:04 | entity: <data><node>node_bcxs3w0204</node><expire-at>2022-10-18T06:16:59Z</expire-at><entry><content>content_efs4i10206</content></entry></data> 2022-10-17 23:17:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 06:17:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-17 23:17:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cb2d767e-73aa-43e3-a88b-ce756fc7c1d0</value></item-id></result> 2022-10-17 23:17:04 | contains: true 2022-10-17 23:17:04 | [Mutex] waiting for: [user_regular8ibpr40203@test-domain.com:message:received:content_efs4i10206] 2022-10-17 23:17:19 | [Mutex] timeout. Not received [user_regular8ibpr40203@test-domain.com:message:received:content_efs4i10206] 2022-10-17 23:17:19 | [Mutex] isItemNotified: user_regular8ibpr40203@test-domain.com:message:received:content_efs4i10206 :: false 2022-10-17 23:17:19 | ===== publishing normal message (to offline) 2022-10-17 23:17:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-17 23:17:19 | command: <data><node>node_bcxs3w0204</node><entry><content>content_oa1xo80207</content></entry></data> 2022-10-17 23:17:19 | target: http://localhost:8088 2022-10-17 23:17:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-17 23:17:19 | entity: <data><node>node_bcxs3w0204</node><entry><content>content_oa1xo80207</content></entry></data> 2022-10-17 23:17:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 06:17:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-17 23:17:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>06029b3d-3c27-4f1b-b737-5f374d0dca8b</value></item-id></result> 2022-10-17 23:17:19 | contains: true 2022-10-17 23:17:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-17 23:17:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-10-17 23:17:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-17 23:17:24 | [Mutex] waiting for: [user_regular8ibpr40203@test-domain.com:message:received:content_oa1xo80207] 2022-10-17 23:17:24 | [Mutex] received everything. 2022-10-17 23:17:24 | [Mutex] isItemNotified: user_regular8ibpr40203@test-domain.com:message:received:content_oa1xo80207 :: true 2022-10-17 23:17:24 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-17 23:17:24 | [Mutex] received everything. 2022-10-17 23:17:24 | [Mutex] isItemNotified: node_bcxs3w0204:subscribe_node:success :: true 2022-10-17 23:17:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-17 23:17:24 | command: <data><node>node_bcxs3w0204</node><expire-at>2022-10-18T06:17:29Z</expire-at><entry><content>content_k4kcr60208</content></entry></data> 2022-10-17 23:17:24 | target: http://localhost:8088 2022-10-17 23:17:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-17 23:17:24 | entity: <data><node>node_bcxs3w0204</node><expire-at>2022-10-18T06:17:29Z</expire-at><entry><content>content_k4kcr60208</content></entry></data> 2022-10-17 23:17:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 18 Oct 2022 06:17:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-17 23:17:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f84ec9cd-b64b-468b-af6f-8b6aa3f5eec4</value></item-id></result> 2022-10-17 23:17:24 | contains: true 2022-10-17 23:17:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-17 23:17:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-10-17 23:17:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-17 23:17:32 | [Mutex] waiting for: [user_regular8ibpr40203@test-domain.com:message:received:content_k4kcr60208] 2022-10-17 23:17:47 | [Mutex] timeout. Not received [user_regular8ibpr40203@test-domain.com:message:received:content_k4kcr60208] 2022-10-17 23:17:47 | [Mutex] received everything. 2022-10-17 23:17:47 | [Mutex] isItemNotified: user_regular8ibpr40203@test-domain.com:message:received:content_k4kcr60208 :: false 2022-10-17 23:17:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k4kcr60208 :: true |