Test duration : 44.943s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.661s |
2022-08-13 22:33:20 |
2022-08-13 22:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-13 22:33:20 | ------------------------------------ 2022-08-13 22:33:20 | [Mutex] isItemNotified: node_kepud50204:exists :: false 2022-08-13 22:33:20 | [Mutex] waiting for: [node_kepud50204:create_node] 2022-08-13 22:33:20 | [Mutex] received everything. 2022-08-13 22:33:20 | [Mutex] isItemNotified: node_kepud50204:create_node:success :: true 2022-08-13 22:33:20 | [Mutex] waiting for: [node_kepud50204:subscribe_node] 2022-08-13 22:33:20 | [Mutex] received everything. 2022-08-13 22:33:20 | [Mutex] isItemNotified: node_kepud50204:subscribe_node:success :: true 2022-08-13 22:33:20 | ===== publishing normal message (to online) 2022-08-13 22:33:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-13 22:33:20 | command: <data><node>node_kepud50204</node><entry><content>content_juxxkj0205</content></entry></data> 2022-08-13 22:33:20 | target: http://localhost:8088 2022-08-13 22:33:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-13 22:33:20 | entity: <data><node>node_kepud50204</node><entry><content>content_juxxkj0205</content></entry></data> 2022-08-13 22:33:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 05:33:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-13 22:33:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c5148e31-c6d0-4be6-b3a0-16d27d2ffaa4</value></item-id></result> 2022-08-13 22:33:20 | contains: true 2022-08-13 22:33:20 | [Mutex] received everything. 2022-08-13 22:33:20 | [Mutex] isItemNotified: user_regularz3u9f60203@test-domain.com:message:received:content_juxxkj0205 :: true 2022-08-13 22:33:20 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-13 22:33:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-13 22:33:20 | command: <data><node>node_kepud50204</node><expire-at>2022-08-14T05:33:15Z</expire-at><entry><content>content_qj349e0206</content></entry></data> 2022-08-13 22:33:20 | target: http://localhost:8088 2022-08-13 22:33:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-13 22:33:20 | entity: <data><node>node_kepud50204</node><expire-at>2022-08-14T05:33:15Z</expire-at><entry><content>content_qj349e0206</content></entry></data> 2022-08-13 22:33:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 05:33:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-13 22:33:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7ec7cca9-fe75-4f4e-a671-fa831115a788</value></item-id></result> 2022-08-13 22:33:20 | contains: true 2022-08-13 22:33:20 | [Mutex] waiting for: [user_regularz3u9f60203@test-domain.com:message:received:content_qj349e0206] 2022-08-13 22:33:35 | [Mutex] timeout. Not received [user_regularz3u9f60203@test-domain.com:message:received:content_qj349e0206] 2022-08-13 22:33:35 | [Mutex] isItemNotified: user_regularz3u9f60203@test-domain.com:message:received:content_qj349e0206 :: false 2022-08-13 22:33:35 | ===== publishing normal message (to offline) 2022-08-13 22:33:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-13 22:33:35 | command: <data><node>node_kepud50204</node><entry><content>content_7de8ph0207</content></entry></data> 2022-08-13 22:33:35 | target: http://localhost:8088 2022-08-13 22:33:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-13 22:33:35 | entity: <data><node>node_kepud50204</node><entry><content>content_7de8ph0207</content></entry></data> 2022-08-13 22:33:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 05:33:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-13 22:33:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5fce7e3e-503a-4b84-bb2a-f0616c68ab0d</value></item-id></result> 2022-08-13 22:33:35 | contains: true 2022-08-13 22:33:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-13 22:33:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-13 22:33:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-13 22:33:40 | [Mutex] received everything. 2022-08-13 22:33:40 | [Mutex] isItemNotified: user_regularz3u9f60203@test-domain.com:message:received:content_7de8ph0207 :: true 2022-08-13 22:33:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-13 22:33:40 | [Mutex] received everything. 2022-08-13 22:33:40 | [Mutex] isItemNotified: node_kepud50204:subscribe_node:success :: true 2022-08-13 22:33:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-13 22:33:40 | command: <data><node>node_kepud50204</node><expire-at>2022-08-14T05:33:45Z</expire-at><entry><content>content_awi4ww0208</content></entry></data> 2022-08-13 22:33:40 | target: http://localhost:8088 2022-08-13 22:33:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-13 22:33:40 | entity: <data><node>node_kepud50204</node><expire-at>2022-08-14T05:33:45Z</expire-at><entry><content>content_awi4ww0208</content></entry></data> 2022-08-13 22:33:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 14 Aug 2022 05:33:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-13 22:33:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c31e547f-2b79-4b2b-b63e-85a6c81eabb8</value></item-id></result> 2022-08-13 22:33:40 | contains: true 2022-08-13 22:33:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-13 22:33:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-13 22:33:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-13 22:33:48 | [Mutex] waiting for: [user_regularz3u9f60203@test-domain.com:message:received:content_awi4ww0208] 2022-08-13 22:33:48 | [Mutex] waiting for: [user_regularz3u9f60203@test-domain.com:message:received:content_awi4ww0208] 2022-08-13 22:33:48 | [Mutex] waiting for: [user_regularz3u9f60203@test-domain.com:message:received:content_awi4ww0208] 2022-08-13 22:34:03 | [Mutex] timeout. Not received [user_regularz3u9f60203@test-domain.com:message:received:content_awi4ww0208] 2022-08-13 22:34:03 | [Mutex] received everything. 2022-08-13 22:34:03 | [Mutex] isItemNotified: user_regularz3u9f60203@test-domain.com:message:received:content_awi4ww0208 :: false 2022-08-13 22:34:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_awi4ww0208 :: true |