Test duration : 44.589s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.608s |
2022-06-25 22:53:16 |
2022-06-25 22:53:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-25 22:53:16 | ------------------------------------ 2022-06-25 22:53:16 | [Mutex] isItemNotified: node_z5sdav0204:exists :: false 2022-06-25 22:53:16 | [Mutex] waiting for: [node_z5sdav0204:create_node] 2022-06-25 22:53:16 | [Mutex] received everything. 2022-06-25 22:53:16 | [Mutex] isItemNotified: node_z5sdav0204:create_node:success :: true 2022-06-25 22:53:16 | [Mutex] waiting for: [node_z5sdav0204:subscribe_node] 2022-06-25 22:53:16 | [Mutex] waiting for: [node_z5sdav0204:subscribe_node] 2022-06-25 22:53:16 | [Mutex] received everything. 2022-06-25 22:53:16 | [Mutex] isItemNotified: node_z5sdav0204:subscribe_node:success :: true 2022-06-25 22:53:16 | ===== publishing normal message (to online) 2022-06-25 22:53:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 22:53:16 | command: <data><node>node_z5sdav0204</node><entry><content>content_nm3itb0205</content></entry></data> 2022-06-25 22:53:16 | target: http://localhost:8088 2022-06-25 22:53:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-25 22:53:16 | entity: <data><node>node_z5sdav0204</node><entry><content>content_nm3itb0205</content></entry></data> 2022-06-25 22:53:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 05:53:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 22:53:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f0fd11b-829b-48b7-93e8-d59586e355f0</value></item-id></result> 2022-06-25 22:53:16 | contains: true 2022-06-25 22:53:16 | [Mutex] received everything. 2022-06-25 22:53:16 | [Mutex] isItemNotified: user_regularncqztn0203@test-domain.com:message:received:content_nm3itb0205 :: true 2022-06-25 22:53:16 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-25 22:53:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 22:53:16 | command: <data><node>node_z5sdav0204</node><expire-at>2022-06-26T05:53:11Z</expire-at><entry><content>content_d0s6g70206</content></entry></data> 2022-06-25 22:53:16 | target: http://localhost:8088 2022-06-25 22:53:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-25 22:53:16 | entity: <data><node>node_z5sdav0204</node><expire-at>2022-06-26T05:53:11Z</expire-at><entry><content>content_d0s6g70206</content></entry></data> 2022-06-25 22:53:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 05:53:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 22:53:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b9f3cbfc-e910-432c-938e-235cbc2561da</value></item-id></result> 2022-06-25 22:53:16 | contains: true 2022-06-25 22:53:16 | [Mutex] waiting for: [user_regularncqztn0203@test-domain.com:message:received:content_d0s6g70206] 2022-06-25 22:53:31 | [Mutex] timeout. Not received [user_regularncqztn0203@test-domain.com:message:received:content_d0s6g70206] 2022-06-25 22:53:31 | [Mutex] isItemNotified: user_regularncqztn0203@test-domain.com:message:received:content_d0s6g70206 :: false 2022-06-25 22:53:31 | ===== publishing normal message (to offline) 2022-06-25 22:53:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 22:53:31 | command: <data><node>node_z5sdav0204</node><entry><content>content_3e1vyk0207</content></entry></data> 2022-06-25 22:53:31 | target: http://localhost:8088 2022-06-25 22:53:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-25 22:53:31 | entity: <data><node>node_z5sdav0204</node><entry><content>content_3e1vyk0207</content></entry></data> 2022-06-25 22:53:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 05:53:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 22:53:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>48cdf6f0-1c4b-428a-9478-34d9be7ee538</value></item-id></result> 2022-06-25 22:53:31 | contains: true 2022-06-25 22:53:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-25 22:53:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-25 22:53:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-25 22:53:37 | [Mutex] waiting for: [user_regularncqztn0203@test-domain.com:message:received:content_3e1vyk0207] 2022-06-25 22:53:37 | [Mutex] received everything. 2022-06-25 22:53:37 | [Mutex] isItemNotified: user_regularncqztn0203@test-domain.com:message:received:content_3e1vyk0207 :: true 2022-06-25 22:53:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-25 22:53:37 | [Mutex] received everything. 2022-06-25 22:53:37 | [Mutex] isItemNotified: node_z5sdav0204:subscribe_node:success :: true 2022-06-25 22:53:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 22:53:37 | command: <data><node>node_z5sdav0204</node><expire-at>2022-06-26T05:53:42Z</expire-at><entry><content>content_lb6ng30208</content></entry></data> 2022-06-25 22:53:37 | target: http://localhost:8088 2022-06-25 22:53:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-25 22:53:37 | entity: <data><node>node_z5sdav0204</node><expire-at>2022-06-26T05:53:42Z</expire-at><entry><content>content_lb6ng30208</content></entry></data> 2022-06-25 22:53:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 05:53:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 22:53:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>35825dc0-1106-4a78-943f-636adfcad6e1</value></item-id></result> 2022-06-25 22:53:37 | contains: true 2022-06-25 22:53:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-25 22:53:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-25 22:53:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-25 22:53:45 | [Mutex] waiting for: [user_regularncqztn0203@test-domain.com:message:received:content_lb6ng30208] 2022-06-25 22:53:45 | [Mutex] waiting for: [user_regularncqztn0203@test-domain.com:message:received:content_lb6ng30208] 2022-06-25 22:54:00 | [Mutex] timeout. Not received [user_regularncqztn0203@test-domain.com:message:received:content_lb6ng30208] 2022-06-25 22:54:00 | [Mutex] received everything. 2022-06-25 22:54:00 | [Mutex] isItemNotified: user_regularncqztn0203@test-domain.com:message:received:content_lb6ng30208 :: false 2022-06-25 22:54:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lb6ng30208 :: true |