Test duration : 44.750s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.577s |
2022-11-24 21:54:37 |
2022-11-24 21:54:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-11-24 21:54:37 | ------------------------------------ 2022-11-24 21:54:37 | [Mutex] isItemNotified: node_jaecqc0204:exists :: false 2022-11-24 21:54:37 | [Mutex] waiting for: [node_jaecqc0204:create_node] 2022-11-24 21:54:37 | [Mutex] received everything. 2022-11-24 21:54:37 | [Mutex] isItemNotified: node_jaecqc0204:create_node:success :: true 2022-11-24 21:54:37 | [Mutex] waiting for: [node_jaecqc0204:subscribe_node] 2022-11-24 21:54:37 | [Mutex] received everything. 2022-11-24 21:54:37 | [Mutex] isItemNotified: node_jaecqc0204:subscribe_node:success :: true 2022-11-24 21:54:37 | ===== publishing normal message (to online) 2022-11-24 21:54:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:54:37 | command: <data><node>node_jaecqc0204</node><entry><content>content_2lj61n0205</content></entry></data> 2022-11-24 21:54:37 | target: http://localhost:8088 2022-11-24 21:54:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-24 21:54:37 | entity: <data><node>node_jaecqc0204</node><entry><content>content_2lj61n0205</content></entry></data> 2022-11-24 21:54:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:54:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:54:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c49b0de1-a705-4062-a6dc-2568c52f01d2</value></item-id></result> 2022-11-24 21:54:37 | contains: true 2022-11-24 21:54:37 | [Mutex] received everything. 2022-11-24 21:54:37 | [Mutex] isItemNotified: user_regulargal2yz0203@test-domain.com:message:received:content_2lj61n0205 :: true 2022-11-24 21:54:37 | ===== publishing already old message - expecting message being filtered out (to online) 2022-11-24 21:54:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:54:37 | command: <data><node>node_jaecqc0204</node><expire-at>2022-11-25T05:54:32Z</expire-at><entry><content>content_sh1bnd0206</content></entry></data> 2022-11-24 21:54:37 | target: http://localhost:8088 2022-11-24 21:54:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-24 21:54:37 | entity: <data><node>node_jaecqc0204</node><expire-at>2022-11-25T05:54:32Z</expire-at><entry><content>content_sh1bnd0206</content></entry></data> 2022-11-24 21:54:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:54:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:54:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>abdb129b-ece2-4fcf-95fd-e045f66d903a</value></item-id></result> 2022-11-24 21:54:37 | contains: true 2022-11-24 21:54:37 | [Mutex] waiting for: [user_regulargal2yz0203@test-domain.com:message:received:content_sh1bnd0206] 2022-11-24 21:54:52 | [Mutex] timeout. Not received [user_regulargal2yz0203@test-domain.com:message:received:content_sh1bnd0206] 2022-11-24 21:54:52 | [Mutex] isItemNotified: user_regulargal2yz0203@test-domain.com:message:received:content_sh1bnd0206 :: false 2022-11-24 21:54:52 | ===== publishing normal message (to offline) 2022-11-24 21:54:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:54:52 | command: <data><node>node_jaecqc0204</node><entry><content>content_b21jgu0207</content></entry></data> 2022-11-24 21:54:52 | target: http://localhost:8088 2022-11-24 21:54:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-24 21:54:52 | entity: <data><node>node_jaecqc0204</node><entry><content>content_b21jgu0207</content></entry></data> 2022-11-24 21:54:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:54:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:54:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c0a028da-5cc8-4a66-8702-4afd2099f753</value></item-id></result> 2022-11-24 21:54:52 | contains: true 2022-11-24 21:54:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-24 21:54:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-11-24 21:54:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-24 21:54:57 | [Mutex] waiting for: [user_regulargal2yz0203@test-domain.com:message:received:content_b21jgu0207] 2022-11-24 21:54:57 | [Mutex] received everything. 2022-11-24 21:54:57 | [Mutex] isItemNotified: user_regulargal2yz0203@test-domain.com:message:received:content_b21jgu0207 :: true 2022-11-24 21:54:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-11-24 21:54:57 | [Mutex] received everything. 2022-11-24 21:54:57 | [Mutex] isItemNotified: node_jaecqc0204:subscribe_node:success :: true 2022-11-24 21:54:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:54:57 | command: <data><node>node_jaecqc0204</node><expire-at>2022-11-25T05:55:02Z</expire-at><entry><content>content_4xlzsk0208</content></entry></data> 2022-11-24 21:54:57 | target: http://localhost:8088 2022-11-24 21:54:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-24 21:54:57 | entity: <data><node>node_jaecqc0204</node><expire-at>2022-11-25T05:55:02Z</expire-at><entry><content>content_4xlzsk0208</content></entry></data> 2022-11-24 21:54:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:54:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:54:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3c01a738-9b18-4c34-bcaf-4bab0a96ad2d</value></item-id></result> 2022-11-24 21:54:57 | contains: true 2022-11-24 21:55:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-24 21:55:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-11-24 21:55:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-24 21:55:06 | [Mutex] waiting for: [user_regulargal2yz0203@test-domain.com:message:received:content_4xlzsk0208] 2022-11-24 21:55:06 | [Mutex] waiting for: [user_regulargal2yz0203@test-domain.com:message:received:content_4xlzsk0208] 2022-11-24 21:55:06 | [Mutex] waiting for: [user_regulargal2yz0203@test-domain.com:message:received:content_4xlzsk0208] 2022-11-24 21:55:21 | [Mutex] timeout. Not received [user_regulargal2yz0203@test-domain.com:message:received:content_4xlzsk0208] 2022-11-24 21:55:21 | [Mutex] received everything. 2022-11-24 21:55:21 | [Mutex] isItemNotified: user_regulargal2yz0203@test-domain.com:message:received:content_4xlzsk0208 :: false 2022-11-24 21:55:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4xlzsk0208 :: true |