Test duration : 44.842s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.594s |
2023-02-01 21:32:46 |
2023-02-01 21:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-02-01 21:32:46 | ------------------------------------ 2023-02-01 21:32:46 | [Mutex] isItemNotified: node_saw9v30204:exists :: false 2023-02-01 21:32:46 | [Mutex] waiting for: [node_saw9v30204:create_node] 2023-02-01 21:32:46 | [Mutex] waiting for: [node_saw9v30204:create_node] 2023-02-01 21:32:46 | [Mutex] received everything. 2023-02-01 21:32:46 | [Mutex] isItemNotified: node_saw9v30204:create_node:success :: true 2023-02-01 21:32:46 | [Mutex] waiting for: [node_saw9v30204:subscribe_node] 2023-02-01 21:32:46 | [Mutex] waiting for: [node_saw9v30204:subscribe_node] 2023-02-01 21:32:46 | [Mutex] received everything. 2023-02-01 21:32:46 | [Mutex] isItemNotified: node_saw9v30204:subscribe_node:success :: true 2023-02-01 21:32:46 | ===== publishing normal message (to online) 2023-02-01 21:32:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:32:46 | command: <data><node>node_saw9v30204</node><entry><content>content_grhzxa0205</content></entry></data> 2023-02-01 21:32:46 | target: http://localhost:8088 2023-02-01 21:32:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-01 21:32:46 | entity: <data><node>node_saw9v30204</node><entry><content>content_grhzxa0205</content></entry></data> 2023-02-01 21:32:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:32:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:32:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>653d99b6-020a-4ad5-b44a-943dbd5a5538</value></item-id></result> 2023-02-01 21:32:46 | contains: true 2023-02-01 21:32:46 | [Mutex] received everything. 2023-02-01 21:32:46 | [Mutex] isItemNotified: user_regularo1j27g0203@test-domain.com:message:received:content_grhzxa0205 :: true 2023-02-01 21:32:46 | ===== publishing already old message - expecting message being filtered out (to online) 2023-02-01 21:32:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:32:46 | command: <data><node>node_saw9v30204</node><expire-at>2023-02-02T05:32:41Z</expire-at><entry><content>content_711p6c0206</content></entry></data> 2023-02-01 21:32:46 | target: http://localhost:8088 2023-02-01 21:32:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-01 21:32:46 | entity: <data><node>node_saw9v30204</node><expire-at>2023-02-02T05:32:41Z</expire-at><entry><content>content_711p6c0206</content></entry></data> 2023-02-01 21:32:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:32:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:32:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>12f5c3d9-1772-4f69-b2f0-c0afc809824f</value></item-id></result> 2023-02-01 21:32:46 | contains: true 2023-02-01 21:32:46 | [Mutex] waiting for: [user_regularo1j27g0203@test-domain.com:message:received:content_711p6c0206] 2023-02-01 21:33:01 | [Mutex] timeout. Not received [user_regularo1j27g0203@test-domain.com:message:received:content_711p6c0206] 2023-02-01 21:33:01 | [Mutex] isItemNotified: user_regularo1j27g0203@test-domain.com:message:received:content_711p6c0206 :: false 2023-02-01 21:33:01 | ===== publishing normal message (to offline) 2023-02-01 21:33:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:33:01 | command: <data><node>node_saw9v30204</node><entry><content>content_19izuj0207</content></entry></data> 2023-02-01 21:33:01 | target: http://localhost:8088 2023-02-01 21:33:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-01 21:33:01 | entity: <data><node>node_saw9v30204</node><entry><content>content_19izuj0207</content></entry></data> 2023-02-01 21:33:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:33:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:33:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>abc27542-7570-417a-8411-81e6456a7fa6</value></item-id></result> 2023-02-01 21:33:01 | contains: true 2023-02-01 21:33:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-01 21:33:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-02-01 21:33:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-01 21:33:06 | [Mutex] received everything. 2023-02-01 21:33:06 | [Mutex] isItemNotified: user_regularo1j27g0203@test-domain.com:message:received:content_19izuj0207 :: true 2023-02-01 21:33:06 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-02-01 21:33:06 | [Mutex] received everything. 2023-02-01 21:33:06 | [Mutex] isItemNotified: node_saw9v30204:subscribe_node:success :: true 2023-02-01 21:33:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:33:06 | command: <data><node>node_saw9v30204</node><expire-at>2023-02-02T05:33:11Z</expire-at><entry><content>content_2hsnzn0208</content></entry></data> 2023-02-01 21:33:06 | target: http://localhost:8088 2023-02-01 21:33:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-01 21:33:06 | entity: <data><node>node_saw9v30204</node><expire-at>2023-02-02T05:33:11Z</expire-at><entry><content>content_2hsnzn0208</content></entry></data> 2023-02-01 21:33:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:33:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:33:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>13c81b95-b6ba-4332-b084-4cc3b6ddb743</value></item-id></result> 2023-02-01 21:33:06 | contains: true 2023-02-01 21:33:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-01 21:33:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-02-01 21:33:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-01 21:33:15 | [Mutex] waiting for: [user_regularo1j27g0203@test-domain.com:message:received:content_2hsnzn0208] 2023-02-01 21:33:15 | [Mutex] waiting for: [user_regularo1j27g0203@test-domain.com:message:received:content_2hsnzn0208] 2023-02-01 21:33:15 | [Mutex] waiting for: [user_regularo1j27g0203@test-domain.com:message:received:content_2hsnzn0208] 2023-02-01 21:33:30 | [Mutex] timeout. Not received [user_regularo1j27g0203@test-domain.com:message:received:content_2hsnzn0208] 2023-02-01 21:33:30 | [Mutex] received everything. 2023-02-01 21:33:30 | [Mutex] isItemNotified: user_regularo1j27g0203@test-domain.com:message:received:content_2hsnzn0208 :: false 2023-02-01 21:33:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2hsnzn0208 :: true |