Test duration : 44.772s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.591s |
2022-12-18 21:30:55 |
2022-12-18 21:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-18 21:30:55 | ------------------------------------ 2022-12-18 21:30:55 | [Mutex] isItemNotified: node_63zv7c0204:exists :: false 2022-12-18 21:30:55 | [Mutex] waiting for: [node_63zv7c0204:create_node] 2022-12-18 21:30:55 | [Mutex] received everything. 2022-12-18 21:30:55 | [Mutex] isItemNotified: node_63zv7c0204:create_node:success :: true 2022-12-18 21:30:55 | [Mutex] waiting for: [node_63zv7c0204:subscribe_node] 2022-12-18 21:30:55 | [Mutex] waiting for: [node_63zv7c0204:subscribe_node] 2022-12-18 21:30:55 | [Mutex] received everything. 2022-12-18 21:30:55 | [Mutex] isItemNotified: node_63zv7c0204:subscribe_node:success :: true 2022-12-18 21:30:55 | ===== publishing normal message (to online) 2022-12-18 21:30:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 21:30:55 | command: <data><node>node_63zv7c0204</node><entry><content>content_bwksp0205</content></entry></data> 2022-12-18 21:30:55 | target: http://localhost:8088 2022-12-18 21:30:55 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-12-18 21:30:55 | entity: <data><node>node_63zv7c0204</node><entry><content>content_bwksp0205</content></entry></data> 2022-12-18 21:30:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 05:30:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 21:30:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8e3227fe-b225-4448-8f20-255a0830c1f5</value></item-id></result> 2022-12-18 21:30:55 | contains: true 2022-12-18 21:30:55 | [Mutex] received everything. 2022-12-18 21:30:55 | [Mutex] isItemNotified: user_regularoug4nv0203@test-domain.com:message:received:content_bwksp0205 :: true 2022-12-18 21:30:55 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-18 21:30:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 21:30:55 | command: <data><node>node_63zv7c0204</node><expire-at>2022-12-19T05:30:50Z</expire-at><entry><content>content_ohqdyo0206</content></entry></data> 2022-12-18 21:30:55 | target: http://localhost:8088 2022-12-18 21:30:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-18 21:30:55 | entity: <data><node>node_63zv7c0204</node><expire-at>2022-12-19T05:30:50Z</expire-at><entry><content>content_ohqdyo0206</content></entry></data> 2022-12-18 21:30:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 05:30:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 21:30:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c4d629a0-e8f9-44d8-8ee3-981c3e000300</value></item-id></result> 2022-12-18 21:30:55 | contains: true 2022-12-18 21:30:55 | [Mutex] waiting for: [user_regularoug4nv0203@test-domain.com:message:received:content_ohqdyo0206] 2022-12-18 21:31:10 | [Mutex] timeout. Not received [user_regularoug4nv0203@test-domain.com:message:received:content_ohqdyo0206] 2022-12-18 21:31:10 | [Mutex] isItemNotified: user_regularoug4nv0203@test-domain.com:message:received:content_ohqdyo0206 :: false 2022-12-18 21:31:10 | ===== publishing normal message (to offline) 2022-12-18 21:31:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 21:31:11 | command: <data><node>node_63zv7c0204</node><entry><content>content_7o6sug0207</content></entry></data> 2022-12-18 21:31:11 | target: http://localhost:8088 2022-12-18 21:31:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-18 21:31:11 | entity: <data><node>node_63zv7c0204</node><entry><content>content_7o6sug0207</content></entry></data> 2022-12-18 21:31:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 05:31:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 21:31:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3eba1b18-6a70-4a70-b55e-5d58c956cc7b</value></item-id></result> 2022-12-18 21:31:11 | contains: true 2022-12-18 21:31:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-18 21:31:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-18 21:31:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-18 21:31:16 | [Mutex] waiting for: [user_regularoug4nv0203@test-domain.com:message:received:content_7o6sug0207] 2022-12-18 21:31:16 | [Mutex] waiting for: [user_regularoug4nv0203@test-domain.com:message:received:content_7o6sug0207] 2022-12-18 21:31:16 | [Mutex] received everything. 2022-12-18 21:31:16 | [Mutex] isItemNotified: user_regularoug4nv0203@test-domain.com:message:received:content_7o6sug0207 :: true 2022-12-18 21:31:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-18 21:31:16 | [Mutex] received everything. 2022-12-18 21:31:16 | [Mutex] isItemNotified: node_63zv7c0204:subscribe_node:success :: true 2022-12-18 21:31:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 21:31:16 | command: <data><node>node_63zv7c0204</node><expire-at>2022-12-19T05:31:21Z</expire-at><entry><content>content_zgu6vb0208</content></entry></data> 2022-12-18 21:31:16 | target: http://localhost:8088 2022-12-18 21:31:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-18 21:31:16 | entity: <data><node>node_63zv7c0204</node><expire-at>2022-12-19T05:31:21Z</expire-at><entry><content>content_zgu6vb0208</content></entry></data> 2022-12-18 21:31:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 05:31:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 21:31:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a627a9e0-291b-438f-ac6d-7c56e8def677</value></item-id></result> 2022-12-18 21:31:16 | contains: true 2022-12-18 21:31:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-18 21:31:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-18 21:31:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-18 21:31:24 | [Mutex] waiting for: [user_regularoug4nv0203@test-domain.com:message:received:content_zgu6vb0208] 2022-12-18 21:31:24 | [Mutex] waiting for: [user_regularoug4nv0203@test-domain.com:message:received:content_zgu6vb0208] 2022-12-18 21:31:24 | [Mutex] waiting for: [user_regularoug4nv0203@test-domain.com:message:received:content_zgu6vb0208] 2022-12-18 21:31:39 | [Mutex] timeout. Not received [user_regularoug4nv0203@test-domain.com:message:received:content_zgu6vb0208] 2022-12-18 21:31:39 | [Mutex] received everything. 2022-12-18 21:31:39 | [Mutex] isItemNotified: user_regularoug4nv0203@test-domain.com:message:received:content_zgu6vb0208 :: false 2022-12-18 21:31:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_zgu6vb0208 :: true |