Test duration : 44.468s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.553s |
2022-06-22 23:02:33 |
2022-06-22 23:02:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-22 23:02:33 | ------------------------------------ 2022-06-22 23:02:33 | [Mutex] isItemNotified: node_wr4ouc0204:exists :: false 2022-06-22 23:02:33 | [Mutex] waiting for: [node_wr4ouc0204:create_node] 2022-06-22 23:02:33 | [Mutex] received everything. 2022-06-22 23:02:33 | [Mutex] isItemNotified: node_wr4ouc0204:create_node:success :: true 2022-06-22 23:02:33 | [Mutex] waiting for: [node_wr4ouc0204:subscribe_node] 2022-06-22 23:02:33 | [Mutex] received everything. 2022-06-22 23:02:33 | [Mutex] isItemNotified: node_wr4ouc0204:subscribe_node:success :: true 2022-06-22 23:02:33 | ===== publishing normal message (to online) 2022-06-22 23:02:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-22 23:02:33 | command: <data><node>node_wr4ouc0204</node><entry><content>content_vp18wc0205</content></entry></data> 2022-06-22 23:02:33 | target: http://localhost:8088 2022-06-22 23:02:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-22 23:02:33 | entity: <data><node>node_wr4ouc0204</node><entry><content>content_vp18wc0205</content></entry></data> 2022-06-22 23:02:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 06:02:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-22 23:02:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>38ccedb7-61c3-4e68-90f1-a132fada0a18</value></item-id></result> 2022-06-22 23:02:33 | contains: true 2022-06-22 23:02:33 | [Mutex] received everything. 2022-06-22 23:02:33 | [Mutex] isItemNotified: user_regularwunr8n0203@test-domain.com:message:received:content_vp18wc0205 :: true 2022-06-22 23:02:33 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-22 23:02:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-22 23:02:33 | command: <data><node>node_wr4ouc0204</node><expire-at>2022-06-23T06:02:28Z</expire-at><entry><content>content_5iqaj00206</content></entry></data> 2022-06-22 23:02:33 | target: http://localhost:8088 2022-06-22 23:02:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-22 23:02:33 | entity: <data><node>node_wr4ouc0204</node><expire-at>2022-06-23T06:02:28Z</expire-at><entry><content>content_5iqaj00206</content></entry></data> 2022-06-22 23:02:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 06:02:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-22 23:02:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>704ed005-68de-424e-a2f4-2372e5a0c9e6</value></item-id></result> 2022-06-22 23:02:33 | contains: true 2022-06-22 23:02:33 | [Mutex] waiting for: [user_regularwunr8n0203@test-domain.com:message:received:content_5iqaj00206] 2022-06-22 23:02:48 | [Mutex] timeout. Not received [user_regularwunr8n0203@test-domain.com:message:received:content_5iqaj00206] 2022-06-22 23:02:48 | [Mutex] isItemNotified: user_regularwunr8n0203@test-domain.com:message:received:content_5iqaj00206 :: false 2022-06-22 23:02:48 | ===== publishing normal message (to offline) 2022-06-22 23:02:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-22 23:02:48 | command: <data><node>node_wr4ouc0204</node><entry><content>content_o51s970207</content></entry></data> 2022-06-22 23:02:48 | target: http://localhost:8088 2022-06-22 23:02:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-22 23:02:48 | entity: <data><node>node_wr4ouc0204</node><entry><content>content_o51s970207</content></entry></data> 2022-06-22 23:02:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 06:02:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-22 23:02:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a17b0af7-be1d-473d-93cc-e6900b9cba0f</value></item-id></result> 2022-06-22 23:02:48 | contains: true 2022-06-22 23:02:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-22 23:02:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-22 23:02:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-22 23:02:53 | [Mutex] waiting for: [user_regularwunr8n0203@test-domain.com:message:received:content_o51s970207] 2022-06-22 23:02:53 | [Mutex] received everything. 2022-06-22 23:02:53 | [Mutex] isItemNotified: user_regularwunr8n0203@test-domain.com:message:received:content_o51s970207 :: true 2022-06-22 23:02:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-22 23:02:53 | [Mutex] received everything. 2022-06-22 23:02:53 | [Mutex] isItemNotified: node_wr4ouc0204:subscribe_node:success :: true 2022-06-22 23:02:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-22 23:02:53 | command: <data><node>node_wr4ouc0204</node><expire-at>2022-06-23T06:02:58Z</expire-at><entry><content>content_hh6yiv0208</content></entry></data> 2022-06-22 23:02:53 | target: http://localhost:8088 2022-06-22 23:02:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-22 23:02:53 | entity: <data><node>node_wr4ouc0204</node><expire-at>2022-06-23T06:02:58Z</expire-at><entry><content>content_hh6yiv0208</content></entry></data> 2022-06-22 23:02:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 06:02:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-22 23:02:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d80bd348-701d-434d-98cf-7e675e8135d3</value></item-id></result> 2022-06-22 23:02:53 | contains: true 2022-06-22 23:03:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-22 23:03:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-22 23:03:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-22 23:03:01 | [Mutex] waiting for: [user_regularwunr8n0203@test-domain.com:message:received:content_hh6yiv0208] 2022-06-22 23:03:16 | [Mutex] timeout. Not received [user_regularwunr8n0203@test-domain.com:message:received:content_hh6yiv0208] 2022-06-22 23:03:16 | [Mutex] received everything. 2022-06-22 23:03:16 | [Mutex] isItemNotified: user_regularwunr8n0203@test-domain.com:message:received:content_hh6yiv0208 :: false 2022-06-22 23:03:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hh6yiv0208 :: true |