Test duration : 44.620s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.552s |
2023-07-09 22:30:20 |
2023-07-09 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-09 22:30:20 | ------------------------------------ 2023-07-09 22:30:20 | [Mutex] isItemNotified: node_nryiut0208:exists :: false 2023-07-09 22:30:20 | [Mutex] waiting for: [node_nryiut0208:create_node] 2023-07-09 22:30:20 | [Mutex] received everything. 2023-07-09 22:30:20 | [Mutex] isItemNotified: node_nryiut0208:create_node:success :: true 2023-07-09 22:30:20 | [Mutex] waiting for: [node_nryiut0208:subscribe_node] 2023-07-09 22:30:20 | [Mutex] waiting for: [node_nryiut0208:subscribe_node] 2023-07-09 22:30:20 | [Mutex] received everything. 2023-07-09 22:30:20 | [Mutex] isItemNotified: node_nryiut0208:subscribe_node:success :: true 2023-07-09 22:30:20 | ===== publishing normal message (to online) 2023-07-09 22:30:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:30:20 | command: <data><node>node_nryiut0208</node><entry><content>content_uq3lwg0209</content></entry></data> 2023-07-09 22:30:20 | target: http://localhost:8088 2023-07-09 22:30:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-09 22:30:20 | entity: <data><node>node_nryiut0208</node><entry><content>content_uq3lwg0209</content></entry></data> 2023-07-09 22:30:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:30:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:30:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2a62de99-c19e-4dd9-beb6-58a59b613b7a</value></item-id></result> 2023-07-09 22:30:20 | contains: true 2023-07-09 22:30:20 | [Mutex] received everything. 2023-07-09 22:30:20 | [Mutex] isItemNotified: user_regulary6da4x0207@test-domain.com:message:received:content_uq3lwg0209 :: true 2023-07-09 22:30:20 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-09 22:30:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:30:20 | command: <data><node>node_nryiut0208</node><expire-at>2023-07-10T05:30:15Z</expire-at><entry><content>content_s4zv1k0210</content></entry></data> 2023-07-09 22:30:20 | target: http://localhost:8088 2023-07-09 22:30:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-09 22:30:20 | entity: <data><node>node_nryiut0208</node><expire-at>2023-07-10T05:30:15Z</expire-at><entry><content>content_s4zv1k0210</content></entry></data> 2023-07-09 22:30:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:30:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:30:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3fe11709-0521-4ac9-8cdf-ebf58b91f6bd</value></item-id></result> 2023-07-09 22:30:20 | contains: true 2023-07-09 22:30:20 | [Mutex] waiting for: [user_regulary6da4x0207@test-domain.com:message:received:content_s4zv1k0210] 2023-07-09 22:30:35 | [Mutex] timeout. Not received [user_regulary6da4x0207@test-domain.com:message:received:content_s4zv1k0210] 2023-07-09 22:30:35 | [Mutex] isItemNotified: user_regulary6da4x0207@test-domain.com:message:received:content_s4zv1k0210 :: false 2023-07-09 22:30:35 | ===== publishing normal message (to offline) 2023-07-09 22:30:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:30:35 | command: <data><node>node_nryiut0208</node><entry><content>content_u3hext0211</content></entry></data> 2023-07-09 22:30:35 | target: http://localhost:8088 2023-07-09 22:30:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-09 22:30:35 | entity: <data><node>node_nryiut0208</node><entry><content>content_u3hext0211</content></entry></data> 2023-07-09 22:30:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:30:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:30:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>253334f7-6db7-45a5-8f3c-7bd744d814d5</value></item-id></result> 2023-07-09 22:30:35 | contains: true 2023-07-09 22:30:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-09 22:30:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-09 22:30:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-09 22:30:40 | [Mutex] received everything. 2023-07-09 22:30:40 | [Mutex] isItemNotified: user_regulary6da4x0207@test-domain.com:message:received:content_u3hext0211 :: true 2023-07-09 22:30:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-09 22:30:40 | [Mutex] received everything. 2023-07-09 22:30:40 | [Mutex] isItemNotified: node_nryiut0208:subscribe_node:success :: true 2023-07-09 22:30:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:30:40 | command: <data><node>node_nryiut0208</node><expire-at>2023-07-10T05:30:45Z</expire-at><entry><content>content_d9d5b80212</content></entry></data> 2023-07-09 22:30:40 | target: http://localhost:8088 2023-07-09 22:30:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-09 22:30:40 | entity: <data><node>node_nryiut0208</node><expire-at>2023-07-10T05:30:45Z</expire-at><entry><content>content_d9d5b80212</content></entry></data> 2023-07-09 22:30:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:30:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:30:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0231ca24-17da-4066-885d-17cbc524d903</value></item-id></result> 2023-07-09 22:30:41 | contains: true 2023-07-09 22:30:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-09 22:30:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-09 22:30:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-09 22:30:49 | [Mutex] waiting for: [user_regulary6da4x0207@test-domain.com:message:received:content_d9d5b80212] 2023-07-09 22:31:04 | [Mutex] timeout. Not received [user_regulary6da4x0207@test-domain.com:message:received:content_d9d5b80212] 2023-07-09 22:31:04 | [Mutex] received everything. 2023-07-09 22:31:04 | [Mutex] isItemNotified: user_regulary6da4x0207@test-domain.com:message:received:content_d9d5b80212 :: false 2023-07-09 22:31:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d9d5b80212 :: true |