Test duration : 44.805s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.623s |
2022-08-02 23:07:29 |
2022-08-02 23:07:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-02 23:07:29 | ------------------------------------ 2022-08-02 23:07:29 | [Mutex] isItemNotified: node_jds3ks0204:exists :: false 2022-08-02 23:07:29 | [Mutex] waiting for: [node_jds3ks0204:create_node] 2022-08-02 23:07:29 | [Mutex] received everything. 2022-08-02 23:07:29 | [Mutex] isItemNotified: node_jds3ks0204:create_node:success :: true 2022-08-02 23:07:29 | [Mutex] waiting for: [node_jds3ks0204:subscribe_node] 2022-08-02 23:07:29 | [Mutex] received everything. 2022-08-02 23:07:29 | [Mutex] isItemNotified: node_jds3ks0204:subscribe_node:success :: true 2022-08-02 23:07:29 | ===== publishing normal message (to online) 2022-08-02 23:07:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-02 23:07:29 | command: <data><node>node_jds3ks0204</node><entry><content>content_t72dwz0205</content></entry></data> 2022-08-02 23:07:29 | target: http://localhost:8088 2022-08-02 23:07:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-02 23:07:29 | entity: <data><node>node_jds3ks0204</node><entry><content>content_t72dwz0205</content></entry></data> 2022-08-02 23:07:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 06:07:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-02 23:07:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a2e6d63f-ade2-4795-92ff-c66251af2bd2</value></item-id></result> 2022-08-02 23:07:29 | contains: true 2022-08-02 23:07:29 | [Mutex] received everything. 2022-08-02 23:07:29 | [Mutex] isItemNotified: user_regular9ug20y0203@test-domain.com:message:received:content_t72dwz0205 :: true 2022-08-02 23:07:29 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-02 23:07:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-02 23:07:29 | command: <data><node>node_jds3ks0204</node><expire-at>2022-08-03T06:07:24Z</expire-at><entry><content>content_xbebdd0206</content></entry></data> 2022-08-02 23:07:29 | target: http://localhost:8088 2022-08-02 23:07:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-02 23:07:29 | entity: <data><node>node_jds3ks0204</node><expire-at>2022-08-03T06:07:24Z</expire-at><entry><content>content_xbebdd0206</content></entry></data> 2022-08-02 23:07:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 06:07:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-02 23:07:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0620fb39-f886-4308-b411-ab9fdc636f5c</value></item-id></result> 2022-08-02 23:07:29 | contains: true 2022-08-02 23:07:29 | [Mutex] waiting for: [user_regular9ug20y0203@test-domain.com:message:received:content_xbebdd0206] 2022-08-02 23:07:44 | [Mutex] timeout. Not received [user_regular9ug20y0203@test-domain.com:message:received:content_xbebdd0206] 2022-08-02 23:07:44 | [Mutex] isItemNotified: user_regular9ug20y0203@test-domain.com:message:received:content_xbebdd0206 :: false 2022-08-02 23:07:44 | ===== publishing normal message (to offline) 2022-08-02 23:07:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-02 23:07:45 | command: <data><node>node_jds3ks0204</node><entry><content>content_n3agla0207</content></entry></data> 2022-08-02 23:07:45 | target: http://localhost:8088 2022-08-02 23:07:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-02 23:07:45 | entity: <data><node>node_jds3ks0204</node><entry><content>content_n3agla0207</content></entry></data> 2022-08-02 23:07:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 06:07:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-02 23:07:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2ec92e06-c252-45cc-99f3-8b8e0e5bef32</value></item-id></result> 2022-08-02 23:07:45 | contains: true 2022-08-02 23:07:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-02 23:07:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-02 23:07:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-02 23:07:50 | [Mutex] waiting for: [user_regular9ug20y0203@test-domain.com:message:received:content_n3agla0207] 2022-08-02 23:07:50 | [Mutex] waiting for: [user_regular9ug20y0203@test-domain.com:message:received:content_n3agla0207] 2022-08-02 23:07:50 | [Mutex] received everything. 2022-08-02 23:07:50 | [Mutex] isItemNotified: user_regular9ug20y0203@test-domain.com:message:received:content_n3agla0207 :: true 2022-08-02 23:07:50 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-02 23:07:50 | [Mutex] received everything. 2022-08-02 23:07:50 | [Mutex] isItemNotified: node_jds3ks0204:subscribe_node:success :: true 2022-08-02 23:07:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-02 23:07:50 | command: <data><node>node_jds3ks0204</node><expire-at>2022-08-03T06:07:55Z</expire-at><entry><content>content_mlo0kf0208</content></entry></data> 2022-08-02 23:07:50 | target: http://localhost:8088 2022-08-02 23:07:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-02 23:07:50 | entity: <data><node>node_jds3ks0204</node><expire-at>2022-08-03T06:07:55Z</expire-at><entry><content>content_mlo0kf0208</content></entry></data> 2022-08-02 23:07:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 03 Aug 2022 06:07:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-02 23:07:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>890ccc6c-41a2-4d73-b4be-a845c43636a6</value></item-id></result> 2022-08-02 23:07:50 | contains: true 2022-08-02 23:07:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-02 23:07:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-02 23:07:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-02 23:07:58 | [Mutex] waiting for: [user_regular9ug20y0203@test-domain.com:message:received:content_mlo0kf0208] 2022-08-02 23:07:58 | [Mutex] waiting for: [user_regular9ug20y0203@test-domain.com:message:received:content_mlo0kf0208] 2022-08-02 23:07:58 | [Mutex] waiting for: [user_regular9ug20y0203@test-domain.com:message:received:content_mlo0kf0208] 2022-08-02 23:08:13 | [Mutex] timeout. Not received [user_regular9ug20y0203@test-domain.com:message:received:content_mlo0kf0208] 2022-08-02 23:08:13 | [Mutex] received everything. 2022-08-02 23:08:13 | [Mutex] isItemNotified: user_regular9ug20y0203@test-domain.com:message:received:content_mlo0kf0208 :: false 2022-08-02 23:08:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mlo0kf0208 :: true |