Test duration : 44.779s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.561s |
2022-08-31 22:33:43 |
2022-08-31 22:33:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-31 22:33:43 | ------------------------------------ 2022-08-31 22:33:43 | [Mutex] isItemNotified: node_nulz3f0204:exists :: false 2022-08-31 22:33:43 | [Mutex] waiting for: [node_nulz3f0204:create_node] 2022-08-31 22:33:43 | [Mutex] received everything. 2022-08-31 22:33:43 | [Mutex] isItemNotified: node_nulz3f0204:create_node:success :: true 2022-08-31 22:33:43 | [Mutex] waiting for: [node_nulz3f0204:subscribe_node] 2022-08-31 22:33:43 | [Mutex] waiting for: [node_nulz3f0204:subscribe_node] 2022-08-31 22:33:43 | [Mutex] received everything. 2022-08-31 22:33:43 | [Mutex] isItemNotified: node_nulz3f0204:subscribe_node:success :: true 2022-08-31 22:33:43 | ===== publishing normal message (to online) 2022-08-31 22:33:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 22:33:43 | command: <data><node>node_nulz3f0204</node><entry><content>content_r8pyvu0205</content></entry></data> 2022-08-31 22:33:43 | target: http://localhost:8088 2022-08-31 22:33:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-31 22:33:43 | entity: <data><node>node_nulz3f0204</node><entry><content>content_r8pyvu0205</content></entry></data> 2022-08-31 22:33:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 05:33:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 22:33:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>70143583-cb4e-4a0c-99bf-da57b33b31e1</value></item-id></result> 2022-08-31 22:33:43 | contains: true 2022-08-31 22:33:43 | [Mutex] received everything. 2022-08-31 22:33:43 | [Mutex] isItemNotified: user_regulargvyab00203@test-domain.com:message:received:content_r8pyvu0205 :: true 2022-08-31 22:33:43 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-31 22:33:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 22:33:43 | command: <data><node>node_nulz3f0204</node><expire-at>2022-09-01T05:33:38Z</expire-at><entry><content>content_p7usxf0206</content></entry></data> 2022-08-31 22:33:43 | target: http://localhost:8088 2022-08-31 22:33:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-31 22:33:43 | entity: <data><node>node_nulz3f0204</node><expire-at>2022-09-01T05:33:38Z</expire-at><entry><content>content_p7usxf0206</content></entry></data> 2022-08-31 22:33:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 05:33:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 22:33:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>417bca38-d37a-4d70-b974-990ff5d548d3</value></item-id></result> 2022-08-31 22:33:43 | contains: true 2022-08-31 22:33:43 | [Mutex] waiting for: [user_regulargvyab00203@test-domain.com:message:received:content_p7usxf0206] 2022-08-31 22:33:58 | [Mutex] timeout. Not received [user_regulargvyab00203@test-domain.com:message:received:content_p7usxf0206] 2022-08-31 22:33:58 | [Mutex] isItemNotified: user_regulargvyab00203@test-domain.com:message:received:content_p7usxf0206 :: false 2022-08-31 22:33:58 | ===== publishing normal message (to offline) 2022-08-31 22:33:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 22:33:58 | command: <data><node>node_nulz3f0204</node><entry><content>content_hrrghv0207</content></entry></data> 2022-08-31 22:33:58 | target: http://localhost:8088 2022-08-31 22:33:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-31 22:33:58 | entity: <data><node>node_nulz3f0204</node><entry><content>content_hrrghv0207</content></entry></data> 2022-08-31 22:33:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 05:33:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 22:33:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7be3f9a2-ab69-473c-9a7d-32fdd3514449</value></item-id></result> 2022-08-31 22:33:58 | contains: true 2022-08-31 22:34:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-31 22:34:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-31 22:34:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-31 22:34:03 | [Mutex] waiting for: [user_regulargvyab00203@test-domain.com:message:received:content_hrrghv0207] 2022-08-31 22:34:03 | [Mutex] waiting for: [user_regulargvyab00203@test-domain.com:message:received:content_hrrghv0207] 2022-08-31 22:34:03 | [Mutex] received everything. 2022-08-31 22:34:03 | [Mutex] isItemNotified: user_regulargvyab00203@test-domain.com:message:received:content_hrrghv0207 :: true 2022-08-31 22:34:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-31 22:34:03 | [Mutex] received everything. 2022-08-31 22:34:03 | [Mutex] isItemNotified: node_nulz3f0204:subscribe_node:success :: true 2022-08-31 22:34:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-31 22:34:03 | command: <data><node>node_nulz3f0204</node><expire-at>2022-09-01T05:34:08Z</expire-at><entry><content>content_z30d890208</content></entry></data> 2022-08-31 22:34:03 | target: http://localhost:8088 2022-08-31 22:34:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-31 22:34:03 | entity: <data><node>node_nulz3f0204</node><expire-at>2022-09-01T05:34:08Z</expire-at><entry><content>content_z30d890208</content></entry></data> 2022-08-31 22:34:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Sep 2022 05:34:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-31 22:34:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7e1c4551-dd8b-401c-bcf0-9651dee29ee5</value></item-id></result> 2022-08-31 22:34:03 | contains: true 2022-08-31 22:34:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-31 22:34:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-31 22:34:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-31 22:34:11 | [Mutex] waiting for: [user_regulargvyab00203@test-domain.com:message:received:content_z30d890208] 2022-08-31 22:34:26 | [Mutex] timeout. Not received [user_regulargvyab00203@test-domain.com:message:received:content_z30d890208] 2022-08-31 22:34:26 | [Mutex] received everything. 2022-08-31 22:34:26 | [Mutex] isItemNotified: user_regulargvyab00203@test-domain.com:message:received:content_z30d890208 :: false 2022-08-31 22:34:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z30d890208 :: true |