Test duration : 44.545s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.588s |
2022-10-25 04:28:52 |
2022-10-25 04:28:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-25 04:28:52 | ------------------------------------ 2022-10-25 04:28:52 | [Mutex] isItemNotified: node_r9z1y40204:exists :: false 2022-10-25 04:28:52 | [Mutex] waiting for: [node_r9z1y40204:create_node] 2022-10-25 04:28:52 | [Mutex] received everything. 2022-10-25 04:28:52 | [Mutex] isItemNotified: node_r9z1y40204:create_node:success :: true 2022-10-25 04:28:52 | [Mutex] waiting for: [node_r9z1y40204:subscribe_node] 2022-10-25 04:28:52 | [Mutex] received everything. 2022-10-25 04:28:52 | [Mutex] isItemNotified: node_r9z1y40204:subscribe_node:success :: true 2022-10-25 04:28:52 | ===== publishing normal message (to online) 2022-10-25 04:28:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-25 04:28:52 | command: <data><node>node_r9z1y40204</node><entry><content>content_gqpz2l0205</content></entry></data> 2022-10-25 04:28:52 | target: http://localhost:8088 2022-10-25 04:28:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-25 04:28:52 | entity: <data><node>node_r9z1y40204</node><entry><content>content_gqpz2l0205</content></entry></data> 2022-10-25 04:28:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:28:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-25 04:28:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0085bc11-8635-4b18-9ac3-b85b699ebc47</value></item-id></result> 2022-10-25 04:28:52 | contains: true 2022-10-25 04:28:52 | [Mutex] waiting for: [user_regularsv1qca0203@test-domain.com:message:received:content_gqpz2l0205] 2022-10-25 04:28:52 | [Mutex] received everything. 2022-10-25 04:28:52 | [Mutex] isItemNotified: user_regularsv1qca0203@test-domain.com:message:received:content_gqpz2l0205 :: true 2022-10-25 04:28:52 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-25 04:28:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-25 04:28:52 | command: <data><node>node_r9z1y40204</node><expire-at>2022-10-25T11:28:47Z</expire-at><entry><content>content_vmi0ia0206</content></entry></data> 2022-10-25 04:28:52 | target: http://localhost:8088 2022-10-25 04:28:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-25 04:28:52 | entity: <data><node>node_r9z1y40204</node><expire-at>2022-10-25T11:28:47Z</expire-at><entry><content>content_vmi0ia0206</content></entry></data> 2022-10-25 04:28:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:28:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-25 04:28:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d3f2d9bc-8fc3-4cf1-b51e-76f39f713241</value></item-id></result> 2022-10-25 04:28:52 | contains: true 2022-10-25 04:28:52 | [Mutex] waiting for: [user_regularsv1qca0203@test-domain.com:message:received:content_vmi0ia0206] 2022-10-25 04:29:07 | [Mutex] timeout. Not received [user_regularsv1qca0203@test-domain.com:message:received:content_vmi0ia0206] 2022-10-25 04:29:07 | [Mutex] isItemNotified: user_regularsv1qca0203@test-domain.com:message:received:content_vmi0ia0206 :: false 2022-10-25 04:29:07 | ===== publishing normal message (to offline) 2022-10-25 04:29:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-25 04:29:07 | command: <data><node>node_r9z1y40204</node><entry><content>content_ruiush0207</content></entry></data> 2022-10-25 04:29:07 | target: http://localhost:8088 2022-10-25 04:29:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-25 04:29:07 | entity: <data><node>node_r9z1y40204</node><entry><content>content_ruiush0207</content></entry></data> 2022-10-25 04:29:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:29:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-25 04:29:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f39e79ca-0daa-4d65-8e2a-c8fb55311330</value></item-id></result> 2022-10-25 04:29:07 | contains: true 2022-10-25 04:29:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-25 04:29:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-10-25 04:29:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-25 04:29:12 | [Mutex] waiting for: [user_regularsv1qca0203@test-domain.com:message:received:content_ruiush0207] 2022-10-25 04:29:12 | [Mutex] received everything. 2022-10-25 04:29:12 | [Mutex] isItemNotified: user_regularsv1qca0203@test-domain.com:message:received:content_ruiush0207 :: true 2022-10-25 04:29:12 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-25 04:29:12 | [Mutex] received everything. 2022-10-25 04:29:12 | [Mutex] isItemNotified: node_r9z1y40204:subscribe_node:success :: true 2022-10-25 04:29:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-25 04:29:12 | command: <data><node>node_r9z1y40204</node><expire-at>2022-10-25T11:29:17Z</expire-at><entry><content>content_8tfw40208</content></entry></data> 2022-10-25 04:29:12 | target: http://localhost:8088 2022-10-25 04:29:12 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-10-25 04:29:12 | entity: <data><node>node_r9z1y40204</node><expire-at>2022-10-25T11:29:17Z</expire-at><entry><content>content_8tfw40208</content></entry></data> 2022-10-25 04:29:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:29:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-25 04:29:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>df24a31c-1a7c-4013-9fb0-fa9e512b7435</value></item-id></result> 2022-10-25 04:29:12 | contains: true 2022-10-25 04:29:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-25 04:29:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-10-25 04:29:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-25 04:29:20 | [Mutex] waiting for: [user_regularsv1qca0203@test-domain.com:message:received:content_8tfw40208] 2022-10-25 04:29:35 | [Mutex] timeout. Not received [user_regularsv1qca0203@test-domain.com:message:received:content_8tfw40208] 2022-10-25 04:29:35 | [Mutex] received everything. 2022-10-25 04:29:35 | [Mutex] isItemNotified: user_regularsv1qca0203@test-domain.com:message:received:content_8tfw40208 :: false 2022-10-25 04:29:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8tfw40208 :: true |