Test duration : 44.705s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.587s |
2022-05-24 22:37:46 |
2022-05-24 22:37:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-24 22:37:46 | ------------------------------------ 2022-05-24 22:37:46 | [Mutex] isItemNotified: node_2ek3pa0204:exists :: false 2022-05-24 22:37:46 | [Mutex] waiting for: [node_2ek3pa0204:create_node] 2022-05-24 22:37:46 | [Mutex] waiting for: [node_2ek3pa0204:create_node] 2022-05-24 22:37:46 | [Mutex] received everything. 2022-05-24 22:37:46 | [Mutex] isItemNotified: node_2ek3pa0204:create_node:success :: true 2022-05-24 22:37:46 | [Mutex] waiting for: [node_2ek3pa0204:subscribe_node] 2022-05-24 22:37:46 | [Mutex] waiting for: [node_2ek3pa0204:subscribe_node] 2022-05-24 22:37:46 | [Mutex] received everything. 2022-05-24 22:37:46 | [Mutex] isItemNotified: node_2ek3pa0204:subscribe_node:success :: true 2022-05-24 22:37:46 | ===== publishing normal message (to online) 2022-05-24 22:37:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 22:37:46 | command: <data><node>node_2ek3pa0204</node><entry><content>content_yzxe5i0205</content></entry></data> 2022-05-24 22:37:46 | target: http://localhost:8088 2022-05-24 22:37:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-24 22:37:46 | entity: <data><node>node_2ek3pa0204</node><entry><content>content_yzxe5i0205</content></entry></data> 2022-05-24 22:37:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:37:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 22:37:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>62adba2c-41be-41e0-860a-0b2d8e2a3936</value></item-id></result> 2022-05-24 22:37:46 | contains: true 2022-05-24 22:37:46 | [Mutex] received everything. 2022-05-24 22:37:46 | [Mutex] isItemNotified: user_regular8qfey70203@test-domain.com:message:received:content_yzxe5i0205 :: true 2022-05-24 22:37:46 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-24 22:37:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 22:37:46 | command: <data><node>node_2ek3pa0204</node><expire-at>2022-05-25T05:37:41Z</expire-at><entry><content>content_xfmj000206</content></entry></data> 2022-05-24 22:37:46 | target: http://localhost:8088 2022-05-24 22:37:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-24 22:37:46 | entity: <data><node>node_2ek3pa0204</node><expire-at>2022-05-25T05:37:41Z</expire-at><entry><content>content_xfmj000206</content></entry></data> 2022-05-24 22:37:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:37:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 22:37:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a61a8b11-d2c8-463f-beed-e2810148692c</value></item-id></result> 2022-05-24 22:37:46 | contains: true 2022-05-24 22:37:46 | [Mutex] waiting for: [user_regular8qfey70203@test-domain.com:message:received:content_xfmj000206] 2022-05-24 22:38:01 | [Mutex] timeout. Not received [user_regular8qfey70203@test-domain.com:message:received:content_xfmj000206] 2022-05-24 22:38:01 | [Mutex] isItemNotified: user_regular8qfey70203@test-domain.com:message:received:content_xfmj000206 :: false 2022-05-24 22:38:01 | ===== publishing normal message (to offline) 2022-05-24 22:38:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 22:38:01 | command: <data><node>node_2ek3pa0204</node><entry><content>content_cvuowh0207</content></entry></data> 2022-05-24 22:38:01 | target: http://localhost:8088 2022-05-24 22:38:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-24 22:38:01 | entity: <data><node>node_2ek3pa0204</node><entry><content>content_cvuowh0207</content></entry></data> 2022-05-24 22:38:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:38:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 22:38:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8c96ac7b-2770-48aa-9411-07b6f0d5c687</value></item-id></result> 2022-05-24 22:38:01 | contains: true 2022-05-24 22:38:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-24 22:38:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-24 22:38:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-24 22:38:06 | [Mutex] waiting for: [user_regular8qfey70203@test-domain.com:message:received:content_cvuowh0207] 2022-05-24 22:38:06 | [Mutex] waiting for: [user_regular8qfey70203@test-domain.com:message:received:content_cvuowh0207] 2022-05-24 22:38:06 | [Mutex] received everything. 2022-05-24 22:38:06 | [Mutex] isItemNotified: user_regular8qfey70203@test-domain.com:message:received:content_cvuowh0207 :: true 2022-05-24 22:38:06 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-24 22:38:06 | [Mutex] received everything. 2022-05-24 22:38:06 | [Mutex] isItemNotified: node_2ek3pa0204:subscribe_node:success :: true 2022-05-24 22:38:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 22:38:06 | command: <data><node>node_2ek3pa0204</node><expire-at>2022-05-25T05:38:11Z</expire-at><entry><content>content_505flj0208</content></entry></data> 2022-05-24 22:38:06 | target: http://localhost:8088 2022-05-24 22:38:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-24 22:38:06 | entity: <data><node>node_2ek3pa0204</node><expire-at>2022-05-25T05:38:11Z</expire-at><entry><content>content_505flj0208</content></entry></data> 2022-05-24 22:38:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 05:38:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 22:38:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>81ab2bc1-0b29-4c76-b6fc-a29a16a453ae</value></item-id></result> 2022-05-24 22:38:06 | contains: true 2022-05-24 22:38:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-24 22:38:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-24 22:38:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-24 22:38:14 | [Mutex] waiting for: [user_regular8qfey70203@test-domain.com:message:received:content_505flj0208] 2022-05-24 22:38:14 | [Mutex] waiting for: [user_regular8qfey70203@test-domain.com:message:received:content_505flj0208] 2022-05-24 22:38:29 | [Mutex] timeout. Not received [user_regular8qfey70203@test-domain.com:message:received:content_505flj0208] 2022-05-24 22:38:29 | [Mutex] received everything. 2022-05-24 22:38:29 | [Mutex] isItemNotified: user_regular8qfey70203@test-domain.com:message:received:content_505flj0208 :: false 2022-05-24 22:38:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_505flj0208 :: true |