Test duration : 44.776s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.708s |
2022-09-15 22:41:55 |
2022-09-15 22:41:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-15 22:41:55 | ------------------------------------ 2022-09-15 22:41:55 | [Mutex] isItemNotified: node_9sdwi40204:exists :: false 2022-09-15 22:41:55 | [Mutex] waiting for: [node_9sdwi40204:create_node] 2022-09-15 22:41:55 | [Mutex] received everything. 2022-09-15 22:41:55 | [Mutex] isItemNotified: node_9sdwi40204:create_node:success :: true 2022-09-15 22:41:55 | [Mutex] waiting for: [node_9sdwi40204:subscribe_node] 2022-09-15 22:41:55 | [Mutex] received everything. 2022-09-15 22:41:55 | [Mutex] isItemNotified: node_9sdwi40204:subscribe_node:success :: true 2022-09-15 22:41:55 | ===== publishing normal message (to online) 2022-09-15 22:41:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 22:41:55 | command: <data><node>node_9sdwi40204</node><entry><content>content_34gvkm0205</content></entry></data> 2022-09-15 22:41:55 | target: http://localhost:8088 2022-09-15 22:41:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-15 22:41:55 | entity: <data><node>node_9sdwi40204</node><entry><content>content_34gvkm0205</content></entry></data> 2022-09-15 22:41:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 05:41:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 22:41:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3af2bec0-103d-48ac-8637-a73bea9cf349</value></item-id></result> 2022-09-15 22:41:55 | contains: true 2022-09-15 22:41:55 | [Mutex] received everything. 2022-09-15 22:41:55 | [Mutex] isItemNotified: user_regularosaqtr0203@test-domain.com:message:received:content_34gvkm0205 :: true 2022-09-15 22:41:55 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-15 22:41:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 22:41:55 | command: <data><node>node_9sdwi40204</node><expire-at>2022-09-16T05:41:50Z</expire-at><entry><content>content_yi9q890206</content></entry></data> 2022-09-15 22:41:55 | target: http://localhost:8088 2022-09-15 22:41:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-15 22:41:55 | entity: <data><node>node_9sdwi40204</node><expire-at>2022-09-16T05:41:50Z</expire-at><entry><content>content_yi9q890206</content></entry></data> 2022-09-15 22:41:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 05:41:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 22:41:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>05b747b1-3f2b-4318-9064-b8efe16c7404</value></item-id></result> 2022-09-15 22:41:55 | contains: true 2022-09-15 22:41:55 | [Mutex] waiting for: [user_regularosaqtr0203@test-domain.com:message:received:content_yi9q890206] 2022-09-15 22:42:10 | [Mutex] timeout. Not received [user_regularosaqtr0203@test-domain.com:message:received:content_yi9q890206] 2022-09-15 22:42:10 | [Mutex] isItemNotified: user_regularosaqtr0203@test-domain.com:message:received:content_yi9q890206 :: false 2022-09-15 22:42:10 | ===== publishing normal message (to offline) 2022-09-15 22:42:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 22:42:10 | command: <data><node>node_9sdwi40204</node><entry><content>content_mh930x0207</content></entry></data> 2022-09-15 22:42:10 | target: http://localhost:8088 2022-09-15 22:42:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-15 22:42:10 | entity: <data><node>node_9sdwi40204</node><entry><content>content_mh930x0207</content></entry></data> 2022-09-15 22:42:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 05:42:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 22:42:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>272045b3-c822-4948-9347-bfb2504bf1b6</value></item-id></result> 2022-09-15 22:42:10 | contains: true 2022-09-15 22:42:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-15 22:42:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-15 22:42:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-15 22:42:16 | [Mutex] waiting for: [user_regularosaqtr0203@test-domain.com:message:received:content_mh930x0207] 2022-09-15 22:42:16 | [Mutex] received everything. 2022-09-15 22:42:16 | [Mutex] isItemNotified: user_regularosaqtr0203@test-domain.com:message:received:content_mh930x0207 :: true 2022-09-15 22:42:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-15 22:42:16 | [Mutex] received everything. 2022-09-15 22:42:16 | [Mutex] isItemNotified: node_9sdwi40204:subscribe_node:success :: true 2022-09-15 22:42:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 22:42:16 | command: <data><node>node_9sdwi40204</node><expire-at>2022-09-16T05:42:21Z</expire-at><entry><content>content_yw8bq00208</content></entry></data> 2022-09-15 22:42:16 | target: http://localhost:8088 2022-09-15 22:42:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-15 22:42:16 | entity: <data><node>node_9sdwi40204</node><expire-at>2022-09-16T05:42:21Z</expire-at><entry><content>content_yw8bq00208</content></entry></data> 2022-09-15 22:42:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 05:42:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 22:42:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>429cdc56-5f05-4b1f-b8e3-2314b5e4f128</value></item-id></result> 2022-09-15 22:42:16 | contains: true 2022-09-15 22:42:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-15 22:42:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-15 22:42:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-15 22:42:24 | [Mutex] waiting for: [user_regularosaqtr0203@test-domain.com:message:received:content_yw8bq00208] 2022-09-15 22:42:24 | [Mutex] waiting for: [user_regularosaqtr0203@test-domain.com:message:received:content_yw8bq00208] 2022-09-15 22:42:39 | [Mutex] timeout. Not received [user_regularosaqtr0203@test-domain.com:message:received:content_yw8bq00208] 2022-09-15 22:42:39 | [Mutex] received everything. 2022-09-15 22:42:39 | [Mutex] isItemNotified: user_regularosaqtr0203@test-domain.com:message:received:content_yw8bq00208 :: false 2022-09-15 22:42:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yw8bq00208 :: true |