Test duration : 44.509s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.558s |
2022-03-29 05:10:52 |
2022-03-29 05:10:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-03-29 05:10:52 | ------------------------------------ 2022-03-29 05:10:52 | [Mutex] isItemNotified: node_ipnibj0202:exists :: false 2022-03-29 05:10:52 | [Mutex] waiting for: [node_ipnibj0202:create_node] 2022-03-29 05:10:52 | [Mutex] received everything. 2022-03-29 05:10:52 | [Mutex] isItemNotified: node_ipnibj0202:create_node:success :: true 2022-03-29 05:10:52 | [Mutex] waiting for: [node_ipnibj0202:subscribe_node] 2022-03-29 05:10:52 | [Mutex] received everything. 2022-03-29 05:10:52 | [Mutex] isItemNotified: node_ipnibj0202:subscribe_node:success :: true 2022-03-29 05:10:52 | ===== publishing normal message (to online) 2022-03-29 05:10:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-29 05:10:52 | command: <data><node>node_ipnibj0202</node><entry><content>content_cv8cc10203</content></entry></data> 2022-03-29 05:10:52 | target: http://localhost:8088 2022-03-29 05:10:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-29 05:10:52 | entity: <data><node>node_ipnibj0202</node><entry><content>content_cv8cc10203</content></entry></data> 2022-03-29 05:10:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Mar 2022 12:10:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-29 05:10:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ce464b9f-e112-4ffe-ace8-01621e336a16</value></item-id></result> 2022-03-29 05:10:52 | contains: true 2022-03-29 05:10:52 | [Mutex] received everything. 2022-03-29 05:10:52 | [Mutex] isItemNotified: user_regularsoo0i00201@test-domain.com:message:received:content_cv8cc10203 :: true 2022-03-29 05:10:52 | ===== publishing already old message - expecting message being filtered out (to online) 2022-03-29 05:10:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-29 05:10:52 | command: <data><node>node_ipnibj0202</node><expire-at>2022-03-29T12:10:47Z</expire-at><entry><content>content_s6d7ub0204</content></entry></data> 2022-03-29 05:10:52 | target: http://localhost:8088 2022-03-29 05:10:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-29 05:10:52 | entity: <data><node>node_ipnibj0202</node><expire-at>2022-03-29T12:10:47Z</expire-at><entry><content>content_s6d7ub0204</content></entry></data> 2022-03-29 05:10:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Mar 2022 12:10:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-29 05:10:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>544861e3-6942-444f-98eb-13add380aae1</value></item-id></result> 2022-03-29 05:10:52 | contains: true 2022-03-29 05:10:52 | [Mutex] waiting for: [user_regularsoo0i00201@test-domain.com:message:received:content_s6d7ub0204] 2022-03-29 05:11:07 | [Mutex] timeout. Not received [user_regularsoo0i00201@test-domain.com:message:received:content_s6d7ub0204] 2022-03-29 05:11:07 | [Mutex] isItemNotified: user_regularsoo0i00201@test-domain.com:message:received:content_s6d7ub0204 :: false 2022-03-29 05:11:07 | ===== publishing normal message (to offline) 2022-03-29 05:11:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-29 05:11:07 | command: <data><node>node_ipnibj0202</node><entry><content>content_dim05e0205</content></entry></data> 2022-03-29 05:11:07 | target: http://localhost:8088 2022-03-29 05:11:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-29 05:11:07 | entity: <data><node>node_ipnibj0202</node><entry><content>content_dim05e0205</content></entry></data> 2022-03-29 05:11:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Mar 2022 12:11:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-29 05:11:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>82b79b97-f597-41b9-813f-ca69aab62463</value></item-id></result> 2022-03-29 05:11:07 | contains: true 2022-03-29 05:11:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-03-29 05:11:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] DNS entry stored in session object: localhost:5222 2022-03-29 05:11:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-03-29 05:11:13 | [Mutex] waiting for: [user_regularsoo0i00201@test-domain.com:message:received:content_dim05e0205] 2022-03-29 05:11:13 | [Mutex] received everything. 2022-03-29 05:11:13 | [Mutex] isItemNotified: user_regularsoo0i00201@test-domain.com:message:received:content_dim05e0205 :: true 2022-03-29 05:11:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-03-29 05:11:13 | [Mutex] received everything. 2022-03-29 05:11:13 | [Mutex] isItemNotified: node_ipnibj0202:subscribe_node:success :: true 2022-03-29 05:11:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-29 05:11:13 | command: <data><node>node_ipnibj0202</node><expire-at>2022-03-29T12:11:18Z</expire-at><entry><content>content_tiewli0206</content></entry></data> 2022-03-29 05:11:13 | target: http://localhost:8088 2022-03-29 05:11:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-29 05:11:13 | entity: <data><node>node_ipnibj0202</node><expire-at>2022-03-29T12:11:18Z</expire-at><entry><content>content_tiewli0206</content></entry></data> 2022-03-29 05:11:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 29 Mar 2022 12:11:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-29 05:11:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c2b9430-2d78-4f9f-a710-276c56e0da61</value></item-id></result> 2022-03-29 05:11:13 | contains: true 2022-03-29 05:11:21 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-03-29 05:11:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222 2022-03-29 05:11:21 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-03-29 05:11:21 | [Mutex] waiting for: [user_regularsoo0i00201@test-domain.com:message:received:content_tiewli0206] 2022-03-29 05:11:21 | [Mutex] waiting for: [user_regularsoo0i00201@test-domain.com:message:received:content_tiewli0206] 2022-03-29 05:11:36 | [Mutex] timeout. Not received [user_regularsoo0i00201@test-domain.com:message:received:content_tiewli0206] 2022-03-29 05:11:36 | [Mutex] received everything. 2022-03-29 05:11:36 | [Mutex] isItemNotified: user_regularsoo0i00201@test-domain.com:message:received:content_tiewli0206 :: false 2022-03-29 05:11:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tiewli0206 :: true |