Test duration : 44.862s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.573s |
2022-10-10 23:11:39 |
2022-10-10 23:11:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-10 23:11:39 | ------------------------------------ 2022-10-10 23:11:39 | [Mutex] isItemNotified: node_9s1sd30204:exists :: false 2022-10-10 23:11:39 | [Mutex] waiting for: [node_9s1sd30204:create_node] 2022-10-10 23:11:39 | [Mutex] received everything. 2022-10-10 23:11:39 | [Mutex] isItemNotified: node_9s1sd30204:create_node:success :: true 2022-10-10 23:11:39 | [Mutex] waiting for: [node_9s1sd30204:subscribe_node] 2022-10-10 23:11:39 | [Mutex] waiting for: [node_9s1sd30204:subscribe_node] 2022-10-10 23:11:39 | [Mutex] received everything. 2022-10-10 23:11:39 | [Mutex] isItemNotified: node_9s1sd30204:subscribe_node:success :: true 2022-10-10 23:11:39 | ===== publishing normal message (to online) 2022-10-10 23:11:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-10 23:11:39 | command: <data><node>node_9s1sd30204</node><entry><content>content_d3ozkx0205</content></entry></data> 2022-10-10 23:11:39 | target: http://localhost:8088 2022-10-10 23:11:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-10 23:11:39 | entity: <data><node>node_9s1sd30204</node><entry><content>content_d3ozkx0205</content></entry></data> 2022-10-10 23:11:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 11 Oct 2022 06:11:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-10 23:11:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c4dcf4ab-7aed-4471-8f2e-174eefb0e9eb</value></item-id></result> 2022-10-10 23:11:39 | contains: true 2022-10-10 23:11:39 | [Mutex] received everything. 2022-10-10 23:11:39 | [Mutex] isItemNotified: user_regular4u7owm0203@test-domain.com:message:received:content_d3ozkx0205 :: true 2022-10-10 23:11:39 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-10 23:11:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-10 23:11:39 | command: <data><node>node_9s1sd30204</node><expire-at>2022-10-11T06:11:34Z</expire-at><entry><content>content_l6g2lz0206</content></entry></data> 2022-10-10 23:11:39 | target: http://localhost:8088 2022-10-10 23:11:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-10 23:11:39 | entity: <data><node>node_9s1sd30204</node><expire-at>2022-10-11T06:11:34Z</expire-at><entry><content>content_l6g2lz0206</content></entry></data> 2022-10-10 23:11:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 11 Oct 2022 06:11:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-10 23:11:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>21214b79-de9c-45dc-bf2e-1abcda8bf904</value></item-id></result> 2022-10-10 23:11:39 | contains: true 2022-10-10 23:11:39 | [Mutex] waiting for: [user_regular4u7owm0203@test-domain.com:message:received:content_l6g2lz0206] 2022-10-10 23:11:54 | [Mutex] timeout. Not received [user_regular4u7owm0203@test-domain.com:message:received:content_l6g2lz0206] 2022-10-10 23:11:54 | [Mutex] isItemNotified: user_regular4u7owm0203@test-domain.com:message:received:content_l6g2lz0206 :: false 2022-10-10 23:11:54 | ===== publishing normal message (to offline) 2022-10-10 23:11:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-10 23:11:54 | command: <data><node>node_9s1sd30204</node><entry><content>content_gklkef0207</content></entry></data> 2022-10-10 23:11:54 | target: http://localhost:8088 2022-10-10 23:11:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-10 23:11:54 | entity: <data><node>node_9s1sd30204</node><entry><content>content_gklkef0207</content></entry></data> 2022-10-10 23:11:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 11 Oct 2022 06:11:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-10 23:11:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>68f8ec22-4118-4a0d-a411-e091a789b097</value></item-id></result> 2022-10-10 23:11:54 | contains: true 2022-10-10 23:11:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-10 23:11:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-10-10 23:11:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-10 23:11:59 | [Mutex] waiting for: [user_regular4u7owm0203@test-domain.com:message:received:content_gklkef0207] 2022-10-10 23:11:59 | [Mutex] received everything. 2022-10-10 23:11:59 | [Mutex] isItemNotified: user_regular4u7owm0203@test-domain.com:message:received:content_gklkef0207 :: true 2022-10-10 23:11:59 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-10 23:11:59 | [Mutex] received everything. 2022-10-10 23:11:59 | [Mutex] isItemNotified: node_9s1sd30204:subscribe_node:success :: true 2022-10-10 23:11:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-10 23:11:59 | command: <data><node>node_9s1sd30204</node><expire-at>2022-10-11T06:12:04Z</expire-at><entry><content>content_fs8v9c0208</content></entry></data> 2022-10-10 23:11:59 | target: http://localhost:8088 2022-10-10 23:11:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-10 23:11:59 | entity: <data><node>node_9s1sd30204</node><expire-at>2022-10-11T06:12:04Z</expire-at><entry><content>content_fs8v9c0208</content></entry></data> 2022-10-10 23:11:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 11 Oct 2022 06:11:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-10 23:11:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ffaab453-dd14-476f-a353-51235639bfb8</value></item-id></result> 2022-10-10 23:11:59 | contains: true 2022-10-10 23:12:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-10 23:12:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-10-10 23:12:07 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-10 23:12:07 | [Mutex] waiting for: [user_regular4u7owm0203@test-domain.com:message:received:content_fs8v9c0208] 2022-10-10 23:12:07 | [Mutex] waiting for: [user_regular4u7owm0203@test-domain.com:message:received:content_fs8v9c0208] 2022-10-10 23:12:07 | [Mutex] waiting for: [user_regular4u7owm0203@test-domain.com:message:received:content_fs8v9c0208] 2022-10-10 23:12:22 | [Mutex] timeout. Not received [user_regular4u7owm0203@test-domain.com:message:received:content_fs8v9c0208] 2022-10-10 23:12:22 | [Mutex] received everything. 2022-10-10 23:12:22 | [Mutex] isItemNotified: user_regular4u7owm0203@test-domain.com:message:received:content_fs8v9c0208 :: false 2022-10-10 23:12:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fs8v9c0208 :: true |