Test duration : 44.820s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.635s |
2022-07-08 22:33:19 |
2022-07-08 22:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-08 22:33:19 | ------------------------------------ 2022-07-08 22:33:19 | [Mutex] isItemNotified: node_tcwa280204:exists :: false 2022-07-08 22:33:19 | [Mutex] waiting for: [node_tcwa280204:create_node] 2022-07-08 22:33:19 | [Mutex] received everything. 2022-07-08 22:33:19 | [Mutex] isItemNotified: node_tcwa280204:create_node:success :: true 2022-07-08 22:33:19 | [Mutex] waiting for: [node_tcwa280204:subscribe_node] 2022-07-08 22:33:19 | [Mutex] waiting for: [node_tcwa280204:subscribe_node] 2022-07-08 22:33:19 | [Mutex] received everything. 2022-07-08 22:33:19 | [Mutex] isItemNotified: node_tcwa280204:subscribe_node:success :: true 2022-07-08 22:33:19 | ===== publishing normal message (to online) 2022-07-08 22:33:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-08 22:33:19 | command: <data><node>node_tcwa280204</node><entry><content>content_t4tnz80205</content></entry></data> 2022-07-08 22:33:19 | target: http://localhost:8088 2022-07-08 22:33:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-08 22:33:19 | entity: <data><node>node_tcwa280204</node><entry><content>content_t4tnz80205</content></entry></data> 2022-07-08 22:33:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:33:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-08 22:33:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>95610fdb-cd2f-40be-b392-429f903fb193</value></item-id></result> 2022-07-08 22:33:19 | contains: true 2022-07-08 22:33:19 | [Mutex] received everything. 2022-07-08 22:33:19 | [Mutex] isItemNotified: user_regulargwt45b0203@test-domain.com:message:received:content_t4tnz80205 :: true 2022-07-08 22:33:19 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-08 22:33:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-08 22:33:19 | command: <data><node>node_tcwa280204</node><expire-at>2022-07-09T05:33:14Z</expire-at><entry><content>content_j1t6850206</content></entry></data> 2022-07-08 22:33:19 | target: http://localhost:8088 2022-07-08 22:33:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-08 22:33:19 | entity: <data><node>node_tcwa280204</node><expire-at>2022-07-09T05:33:14Z</expire-at><entry><content>content_j1t6850206</content></entry></data> 2022-07-08 22:33:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:33:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-08 22:33:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4854ff6c-d714-4596-ab40-59994a769b03</value></item-id></result> 2022-07-08 22:33:19 | contains: true 2022-07-08 22:33:19 | [Mutex] waiting for: [user_regulargwt45b0203@test-domain.com:message:received:content_j1t6850206] 2022-07-08 22:33:34 | [Mutex] timeout. Not received [user_regulargwt45b0203@test-domain.com:message:received:content_j1t6850206] 2022-07-08 22:33:34 | [Mutex] isItemNotified: user_regulargwt45b0203@test-domain.com:message:received:content_j1t6850206 :: false 2022-07-08 22:33:34 | ===== publishing normal message (to offline) 2022-07-08 22:33:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-08 22:33:34 | command: <data><node>node_tcwa280204</node><entry><content>content_14qjm70207</content></entry></data> 2022-07-08 22:33:34 | target: http://localhost:8088 2022-07-08 22:33:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-08 22:33:34 | entity: <data><node>node_tcwa280204</node><entry><content>content_14qjm70207</content></entry></data> 2022-07-08 22:33:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:33:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-08 22:33:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ffce5d99-02d4-4cfd-b701-c743cf74fee9</value></item-id></result> 2022-07-08 22:33:34 | contains: true 2022-07-08 22:33:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-08 22:33:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-08 22:33:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-08 22:33:39 | [Mutex] waiting for: [user_regulargwt45b0203@test-domain.com:message:received:content_14qjm70207] 2022-07-08 22:33:39 | [Mutex] received everything. 2022-07-08 22:33:39 | [Mutex] isItemNotified: user_regulargwt45b0203@test-domain.com:message:received:content_14qjm70207 :: true 2022-07-08 22:33:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-08 22:33:39 | [Mutex] received everything. 2022-07-08 22:33:39 | [Mutex] isItemNotified: node_tcwa280204:subscribe_node:success :: true 2022-07-08 22:33:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-08 22:33:39 | command: <data><node>node_tcwa280204</node><expire-at>2022-07-09T05:33:44Z</expire-at><entry><content>content_o3scy0208</content></entry></data> 2022-07-08 22:33:39 | target: http://localhost:8088 2022-07-08 22:33:39 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-07-08 22:33:39 | entity: <data><node>node_tcwa280204</node><expire-at>2022-07-09T05:33:44Z</expire-at><entry><content>content_o3scy0208</content></entry></data> 2022-07-08 22:33:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 09 Jul 2022 05:33:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-08 22:33:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1b5ae29d-4144-495d-a544-7fab505f9f52</value></item-id></result> 2022-07-08 22:33:39 | contains: true 2022-07-08 22:33:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-08 22:33:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-08 22:33:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-08 22:33:47 | [Mutex] waiting for: [user_regulargwt45b0203@test-domain.com:message:received:content_o3scy0208] 2022-07-08 22:34:02 | [Mutex] timeout. Not received [user_regulargwt45b0203@test-domain.com:message:received:content_o3scy0208] 2022-07-08 22:34:02 | [Mutex] received everything. 2022-07-08 22:34:02 | [Mutex] isItemNotified: user_regulargwt45b0203@test-domain.com:message:received:content_o3scy0208 :: false 2022-07-08 22:34:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o3scy0208 :: true |