Test duration : 44.865s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.643s |
2022-05-02 22:51:10 |
2022-05-02 22:51:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-02 22:51:10 | ------------------------------------ 2022-05-02 22:51:10 | [Mutex] isItemNotified: node_cnu2890204:exists :: false 2022-05-02 22:51:10 | [Mutex] waiting for: [node_cnu2890204:create_node] 2022-05-02 22:51:10 | [Mutex] received everything. 2022-05-02 22:51:10 | [Mutex] isItemNotified: node_cnu2890204:create_node:success :: true 2022-05-02 22:51:10 | [Mutex] waiting for: [node_cnu2890204:subscribe_node] 2022-05-02 22:51:10 | [Mutex] received everything. 2022-05-02 22:51:10 | [Mutex] isItemNotified: node_cnu2890204:subscribe_node:success :: true 2022-05-02 22:51:10 | ===== publishing normal message (to online) 2022-05-02 22:51:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-02 22:51:10 | command: <data><node>node_cnu2890204</node><entry><content>content_j3lwof0205</content></entry></data> 2022-05-02 22:51:10 | target: http://localhost:8088 2022-05-02 22:51:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-02 22:51:10 | entity: <data><node>node_cnu2890204</node><entry><content>content_j3lwof0205</content></entry></data> 2022-05-02 22:51:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 03 May 2022 05:51:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-02 22:51:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f1f1868a-461d-451e-b924-55322e67e800</value></item-id></result> 2022-05-02 22:51:10 | contains: true 2022-05-02 22:51:10 | [Mutex] waiting for: [user_regularop4ez60203@test-domain.com:message:received:content_j3lwof0205] 2022-05-02 22:51:10 | [Mutex] received everything. 2022-05-02 22:51:10 | [Mutex] isItemNotified: user_regularop4ez60203@test-domain.com:message:received:content_j3lwof0205 :: true 2022-05-02 22:51:10 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-02 22:51:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-02 22:51:10 | command: <data><node>node_cnu2890204</node><expire-at>2022-05-03T05:51:05Z</expire-at><entry><content>content_ortixy0206</content></entry></data> 2022-05-02 22:51:10 | target: http://localhost:8088 2022-05-02 22:51:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-02 22:51:10 | entity: <data><node>node_cnu2890204</node><expire-at>2022-05-03T05:51:05Z</expire-at><entry><content>content_ortixy0206</content></entry></data> 2022-05-02 22:51:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 03 May 2022 05:51:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-02 22:51:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e1912e97-fbfe-4f83-9765-bcd45b11db94</value></item-id></result> 2022-05-02 22:51:10 | contains: true 2022-05-02 22:51:10 | [Mutex] waiting for: [user_regularop4ez60203@test-domain.com:message:received:content_ortixy0206] 2022-05-02 22:51:25 | [Mutex] timeout. Not received [user_regularop4ez60203@test-domain.com:message:received:content_ortixy0206] 2022-05-02 22:51:25 | [Mutex] isItemNotified: user_regularop4ez60203@test-domain.com:message:received:content_ortixy0206 :: false 2022-05-02 22:51:25 | ===== publishing normal message (to offline) 2022-05-02 22:51:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-02 22:51:25 | command: <data><node>node_cnu2890204</node><entry><content>content_jjy4wg0207</content></entry></data> 2022-05-02 22:51:25 | target: http://localhost:8088 2022-05-02 22:51:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-02 22:51:25 | entity: <data><node>node_cnu2890204</node><entry><content>content_jjy4wg0207</content></entry></data> 2022-05-02 22:51:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 03 May 2022 05:51:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-02 22:51:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2b159ef8-cf16-4bdc-90e7-7b3bee00b304</value></item-id></result> 2022-05-02 22:51:25 | contains: true 2022-05-02 22:51:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-02 22:51:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-02 22:51:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-02 22:51:31 | [Mutex] waiting for: [user_regularop4ez60203@test-domain.com:message:received:content_jjy4wg0207] 2022-05-02 22:51:31 | [Mutex] waiting for: [user_regularop4ez60203@test-domain.com:message:received:content_jjy4wg0207] 2022-05-02 22:51:31 | [Mutex] received everything. 2022-05-02 22:51:31 | [Mutex] isItemNotified: user_regularop4ez60203@test-domain.com:message:received:content_jjy4wg0207 :: true 2022-05-02 22:51:31 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-02 22:51:31 | [Mutex] received everything. 2022-05-02 22:51:31 | [Mutex] isItemNotified: node_cnu2890204:subscribe_node:success :: true 2022-05-02 22:51:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-02 22:51:31 | command: <data><node>node_cnu2890204</node><expire-at>2022-05-03T05:51:36Z</expire-at><entry><content>content_pfe2af0208</content></entry></data> 2022-05-02 22:51:31 | target: http://localhost:8088 2022-05-02 22:51:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-02 22:51:31 | entity: <data><node>node_cnu2890204</node><expire-at>2022-05-03T05:51:36Z</expire-at><entry><content>content_pfe2af0208</content></entry></data> 2022-05-02 22:51:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 03 May 2022 05:51:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-02 22:51:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3a5c682a-8ba9-4dfe-b608-e3087b85d742</value></item-id></result> 2022-05-02 22:51:31 | contains: true 2022-05-02 22:51:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-02 22:51:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-02 22:51:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-02 22:51:39 | [Mutex] waiting for: [user_regularop4ez60203@test-domain.com:message:received:content_pfe2af0208] 2022-05-02 22:51:54 | [Mutex] timeout. Not received [user_regularop4ez60203@test-domain.com:message:received:content_pfe2af0208] 2022-05-02 22:51:54 | [Mutex] received everything. 2022-05-02 22:51:54 | [Mutex] isItemNotified: user_regularop4ez60203@test-domain.com:message:received:content_pfe2af0208 :: false 2022-05-02 22:51:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pfe2af0208 :: true |