Test duration : 44.570s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.513s |
2022-09-26 23:06:43 |
2022-09-26 23:06:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-26 23:06:43 | ------------------------------------ 2022-09-26 23:06:43 | [Mutex] isItemNotified: node_kko2im0204:exists :: false 2022-09-26 23:06:43 | [Mutex] waiting for: [node_kko2im0204:create_node] 2022-09-26 23:06:43 | [Mutex] received everything. 2022-09-26 23:06:43 | [Mutex] isItemNotified: node_kko2im0204:create_node:success :: true 2022-09-26 23:06:43 | [Mutex] waiting for: [node_kko2im0204:subscribe_node] 2022-09-26 23:06:43 | [Mutex] received everything. 2022-09-26 23:06:43 | [Mutex] isItemNotified: node_kko2im0204:subscribe_node:success :: true 2022-09-26 23:06:43 | ===== publishing normal message (to online) 2022-09-26 23:06:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 23:06:43 | command: <data><node>node_kko2im0204</node><entry><content>content_mxkxsg0205</content></entry></data> 2022-09-26 23:06:43 | target: http://localhost:8088 2022-09-26 23:06:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-26 23:06:43 | entity: <data><node>node_kko2im0204</node><entry><content>content_mxkxsg0205</content></entry></data> 2022-09-26 23:06:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 06:06:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 23:06:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>da359490-65e8-4a0b-bfe8-09568f28b9f6</value></item-id></result> 2022-09-26 23:06:43 | contains: true 2022-09-26 23:06:43 | [Mutex] received everything. 2022-09-26 23:06:43 | [Mutex] isItemNotified: user_regulardzvlib0203@test-domain.com:message:received:content_mxkxsg0205 :: true 2022-09-26 23:06:43 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-26 23:06:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 23:06:43 | command: <data><node>node_kko2im0204</node><expire-at>2022-09-27T06:06:38Z</expire-at><entry><content>content_z60nn70206</content></entry></data> 2022-09-26 23:06:43 | target: http://localhost:8088 2022-09-26 23:06:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-26 23:06:43 | entity: <data><node>node_kko2im0204</node><expire-at>2022-09-27T06:06:38Z</expire-at><entry><content>content_z60nn70206</content></entry></data> 2022-09-26 23:06:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 06:06:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 23:06:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f61901d0-6277-4beb-ba28-a358988817ed</value></item-id></result> 2022-09-26 23:06:43 | contains: true 2022-09-26 23:06:43 | [Mutex] waiting for: [user_regulardzvlib0203@test-domain.com:message:received:content_z60nn70206] 2022-09-26 23:06:58 | [Mutex] timeout. Not received [user_regulardzvlib0203@test-domain.com:message:received:content_z60nn70206] 2022-09-26 23:06:58 | [Mutex] isItemNotified: user_regulardzvlib0203@test-domain.com:message:received:content_z60nn70206 :: false 2022-09-26 23:06:58 | ===== publishing normal message (to offline) 2022-09-26 23:06:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 23:06:58 | command: <data><node>node_kko2im0204</node><entry><content>content_qmi9pz0207</content></entry></data> 2022-09-26 23:06:58 | target: http://localhost:8088 2022-09-26 23:06:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-26 23:06:58 | entity: <data><node>node_kko2im0204</node><entry><content>content_qmi9pz0207</content></entry></data> 2022-09-26 23:06:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 06:06:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 23:06:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7a7dd13f-26d4-4e36-9030-4a2b089ea2d2</value></item-id></result> 2022-09-26 23:06:58 | contains: true 2022-09-26 23:07:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-26 23:07:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-26 23:07:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-26 23:07:04 | [Mutex] waiting for: [user_regulardzvlib0203@test-domain.com:message:received:content_qmi9pz0207] 2022-09-26 23:07:04 | [Mutex] waiting for: [user_regulardzvlib0203@test-domain.com:message:received:content_qmi9pz0207] 2022-09-26 23:07:04 | [Mutex] received everything. 2022-09-26 23:07:04 | [Mutex] isItemNotified: user_regulardzvlib0203@test-domain.com:message:received:content_qmi9pz0207 :: true 2022-09-26 23:07:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-26 23:07:04 | [Mutex] received everything. 2022-09-26 23:07:04 | [Mutex] isItemNotified: node_kko2im0204:subscribe_node:success :: true 2022-09-26 23:07:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-26 23:07:04 | command: <data><node>node_kko2im0204</node><expire-at>2022-09-27T06:07:09Z</expire-at><entry><content>content_de4ssb0208</content></entry></data> 2022-09-26 23:07:04 | target: http://localhost:8088 2022-09-26 23:07:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-26 23:07:04 | entity: <data><node>node_kko2im0204</node><expire-at>2022-09-27T06:07:09Z</expire-at><entry><content>content_de4ssb0208</content></entry></data> 2022-09-26 23:07:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Sep 2022 06:07:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-26 23:07:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3c91a673-4c69-4668-82c1-5468d7a5e7b2</value></item-id></result> 2022-09-26 23:07:04 | contains: true 2022-09-26 23:07:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-26 23:07:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-26 23:07:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-26 23:07:12 | [Mutex] waiting for: [user_regulardzvlib0203@test-domain.com:message:received:content_de4ssb0208] 2022-09-26 23:07:27 | [Mutex] timeout. Not received [user_regulardzvlib0203@test-domain.com:message:received:content_de4ssb0208] 2022-09-26 23:07:27 | [Mutex] received everything. 2022-09-26 23:07:27 | [Mutex] isItemNotified: user_regulardzvlib0203@test-domain.com:message:received:content_de4ssb0208 :: false 2022-09-26 23:07:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_de4ssb0208 :: true |