Test duration : 44.857s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.577s |
2022-10-02 23:09:19 |
2022-10-02 23:09:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-02 23:09:19 | ------------------------------------ 2022-10-02 23:09:19 | [Mutex] isItemNotified: node_20yd7k0204:exists :: false 2022-10-02 23:09:19 | [Mutex] waiting for: [node_20yd7k0204:create_node] 2022-10-02 23:09:19 | [Mutex] received everything. 2022-10-02 23:09:19 | [Mutex] isItemNotified: node_20yd7k0204:create_node:success :: true 2022-10-02 23:09:19 | [Mutex] waiting for: [node_20yd7k0204:subscribe_node] 2022-10-02 23:09:19 | [Mutex] received everything. 2022-10-02 23:09:19 | [Mutex] isItemNotified: node_20yd7k0204:subscribe_node:success :: true 2022-10-02 23:09:19 | ===== publishing normal message (to online) 2022-10-02 23:09:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-02 23:09:19 | command: <data><node>node_20yd7k0204</node><entry><content>content_a5g52f0205</content></entry></data> 2022-10-02 23:09:19 | target: http://localhost:8088 2022-10-02 23:09:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-02 23:09:19 | entity: <data><node>node_20yd7k0204</node><entry><content>content_a5g52f0205</content></entry></data> 2022-10-02 23:09:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 06:09:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-02 23:09:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>70135f5c-4e22-4bdb-8392-bca69c4d6aab</value></item-id></result> 2022-10-02 23:09:19 | contains: true 2022-10-02 23:09:19 | [Mutex] received everything. 2022-10-02 23:09:19 | [Mutex] isItemNotified: user_regular3jm1fq0203@test-domain.com:message:received:content_a5g52f0205 :: true 2022-10-02 23:09:19 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-02 23:09:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-02 23:09:19 | command: <data><node>node_20yd7k0204</node><expire-at>2022-10-03T06:09:14Z</expire-at><entry><content>content_52n2bu0206</content></entry></data> 2022-10-02 23:09:19 | target: http://localhost:8088 2022-10-02 23:09:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-02 23:09:19 | entity: <data><node>node_20yd7k0204</node><expire-at>2022-10-03T06:09:14Z</expire-at><entry><content>content_52n2bu0206</content></entry></data> 2022-10-02 23:09:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 06:09:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-02 23:09:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4900b4d3-8731-4df5-91c3-91a5eacf96e5</value></item-id></result> 2022-10-02 23:09:19 | contains: true 2022-10-02 23:09:19 | [Mutex] waiting for: [user_regular3jm1fq0203@test-domain.com:message:received:content_52n2bu0206] 2022-10-02 23:09:34 | [Mutex] timeout. Not received [user_regular3jm1fq0203@test-domain.com:message:received:content_52n2bu0206] 2022-10-02 23:09:34 | [Mutex] isItemNotified: user_regular3jm1fq0203@test-domain.com:message:received:content_52n2bu0206 :: false 2022-10-02 23:09:34 | ===== publishing normal message (to offline) 2022-10-02 23:09:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-02 23:09:34 | command: <data><node>node_20yd7k0204</node><entry><content>content_ofue80207</content></entry></data> 2022-10-02 23:09:34 | target: http://localhost:8088 2022-10-02 23:09:34 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-10-02 23:09:34 | entity: <data><node>node_20yd7k0204</node><entry><content>content_ofue80207</content></entry></data> 2022-10-02 23:09:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 06:09:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-02 23:09:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>18dcfd0b-7774-455a-b733-9606d951b6eb</value></item-id></result> 2022-10-02 23:09:34 | contains: true 2022-10-02 23:09:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-02 23:09:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-10-02 23:09:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-02 23:09:39 | [Mutex] waiting for: [user_regular3jm1fq0203@test-domain.com:message:received:content_ofue80207] 2022-10-02 23:09:39 | [Mutex] received everything. 2022-10-02 23:09:39 | [Mutex] isItemNotified: user_regular3jm1fq0203@test-domain.com:message:received:content_ofue80207 :: true 2022-10-02 23:09:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-02 23:09:39 | [Mutex] received everything. 2022-10-02 23:09:39 | [Mutex] isItemNotified: node_20yd7k0204:subscribe_node:success :: true 2022-10-02 23:09:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-02 23:09:39 | command: <data><node>node_20yd7k0204</node><expire-at>2022-10-03T06:09:44Z</expire-at><entry><content>content_xs5abp0208</content></entry></data> 2022-10-02 23:09:39 | target: http://localhost:8088 2022-10-02 23:09:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-02 23:09:39 | entity: <data><node>node_20yd7k0204</node><expire-at>2022-10-03T06:09:44Z</expire-at><entry><content>content_xs5abp0208</content></entry></data> 2022-10-02 23:09:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 06:09:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-02 23:09:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>941c5cd8-dbbd-4023-8455-bbb49e567032</value></item-id></result> 2022-10-02 23:09:39 | contains: true 2022-10-02 23:09:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-02 23:09:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-10-02 23:09:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-02 23:09:47 | [Mutex] waiting for: [user_regular3jm1fq0203@test-domain.com:message:received:content_xs5abp0208] 2022-10-02 23:10:02 | [Mutex] timeout. Not received [user_regular3jm1fq0203@test-domain.com:message:received:content_xs5abp0208] 2022-10-02 23:10:02 | [Mutex] received everything. 2022-10-02 23:10:02 | [Mutex] isItemNotified: user_regular3jm1fq0203@test-domain.com:message:received:content_xs5abp0208 :: false 2022-10-02 23:10:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xs5abp0208 :: true |