Test duration : 44.614s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.549s |
2022-10-20 22:42:26 |
2022-10-20 22:42:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-20 22:42:26 | ------------------------------------ 2022-10-20 22:42:26 | [Mutex] isItemNotified: node_4fznim0204:exists :: false 2022-10-20 22:42:26 | [Mutex] waiting for: [node_4fznim0204:create_node] 2022-10-20 22:42:26 | [Mutex] received everything. 2022-10-20 22:42:26 | [Mutex] isItemNotified: node_4fznim0204:create_node:success :: true 2022-10-20 22:42:26 | [Mutex] waiting for: [node_4fznim0204:subscribe_node] 2022-10-20 22:42:26 | [Mutex] received everything. 2022-10-20 22:42:26 | [Mutex] isItemNotified: node_4fznim0204:subscribe_node:success :: true 2022-10-20 22:42:26 | ===== publishing normal message (to online) 2022-10-20 22:42:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-20 22:42:26 | command: <data><node>node_4fznim0204</node><entry><content>content_peebqe0205</content></entry></data> 2022-10-20 22:42:26 | target: http://localhost:8088 2022-10-20 22:42:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-20 22:42:26 | entity: <data><node>node_4fznim0204</node><entry><content>content_peebqe0205</content></entry></data> 2022-10-20 22:42:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 21 Oct 2022 05:42:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-20 22:42:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ffb7d1d7-cf6d-468b-b6c6-be929a979682</value></item-id></result> 2022-10-20 22:42:26 | contains: true 2022-10-20 22:42:26 | [Mutex] received everything. 2022-10-20 22:42:26 | [Mutex] isItemNotified: user_regularyruwv80203@test-domain.com:message:received:content_peebqe0205 :: true 2022-10-20 22:42:26 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-20 22:42:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-20 22:42:26 | command: <data><node>node_4fznim0204</node><expire-at>2022-10-21T05:42:21Z</expire-at><entry><content>content_wq64320206</content></entry></data> 2022-10-20 22:42:26 | target: http://localhost:8088 2022-10-20 22:42:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-20 22:42:26 | entity: <data><node>node_4fznim0204</node><expire-at>2022-10-21T05:42:21Z</expire-at><entry><content>content_wq64320206</content></entry></data> 2022-10-20 22:42:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 21 Oct 2022 05:42:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-20 22:42:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f0f80451-b5f9-470a-84af-b363aabe0a38</value></item-id></result> 2022-10-20 22:42:26 | contains: true 2022-10-20 22:42:26 | [Mutex] waiting for: [user_regularyruwv80203@test-domain.com:message:received:content_wq64320206] 2022-10-20 22:42:41 | [Mutex] timeout. Not received [user_regularyruwv80203@test-domain.com:message:received:content_wq64320206] 2022-10-20 22:42:41 | [Mutex] isItemNotified: user_regularyruwv80203@test-domain.com:message:received:content_wq64320206 :: false 2022-10-20 22:42:41 | ===== publishing normal message (to offline) 2022-10-20 22:42:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-20 22:42:41 | command: <data><node>node_4fznim0204</node><entry><content>content_lmbu70207</content></entry></data> 2022-10-20 22:42:41 | target: http://localhost:8088 2022-10-20 22:42:41 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-10-20 22:42:41 | entity: <data><node>node_4fznim0204</node><entry><content>content_lmbu70207</content></entry></data> 2022-10-20 22:42:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 21 Oct 2022 05:42:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-20 22:42:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>46b59a3c-5ae7-409c-9f69-a84eb536b3a0</value></item-id></result> 2022-10-20 22:42:41 | contains: true 2022-10-20 22:42:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-20 22:42:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-10-20 22:42:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-20 22:42:47 | [Mutex] waiting for: [user_regularyruwv80203@test-domain.com:message:received:content_lmbu70207] 2022-10-20 22:42:47 | [Mutex] received everything. 2022-10-20 22:42:47 | [Mutex] isItemNotified: user_regularyruwv80203@test-domain.com:message:received:content_lmbu70207 :: true 2022-10-20 22:42:47 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-20 22:42:47 | [Mutex] received everything. 2022-10-20 22:42:47 | [Mutex] isItemNotified: node_4fznim0204:subscribe_node:success :: true 2022-10-20 22:42:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-20 22:42:47 | command: <data><node>node_4fznim0204</node><expire-at>2022-10-21T05:42:52Z</expire-at><entry><content>content_t4j2oj0208</content></entry></data> 2022-10-20 22:42:47 | target: http://localhost:8088 2022-10-20 22:42:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-20 22:42:47 | entity: <data><node>node_4fznim0204</node><expire-at>2022-10-21T05:42:52Z</expire-at><entry><content>content_t4j2oj0208</content></entry></data> 2022-10-20 22:42:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 21 Oct 2022 05:42:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-20 22:42:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>685c5c4c-881d-40f0-9549-da03f7a5cc1e</value></item-id></result> 2022-10-20 22:42:47 | contains: true 2022-10-20 22:42:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-20 22:42:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-10-20 22:42:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-20 22:42:55 | [Mutex] waiting for: [user_regularyruwv80203@test-domain.com:message:received:content_t4j2oj0208] 2022-10-20 22:43:10 | [Mutex] timeout. Not received [user_regularyruwv80203@test-domain.com:message:received:content_t4j2oj0208] 2022-10-20 22:43:10 | [Mutex] received everything. 2022-10-20 22:43:10 | [Mutex] isItemNotified: user_regularyruwv80203@test-domain.com:message:received:content_t4j2oj0208 :: false 2022-10-20 22:43:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t4j2oj0208 :: true |