Test duration : 45.035s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.705s |
2022-03-27 22:35:00 |
2022-03-27 22:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-03-27 22:35:00 | ------------------------------------ 2022-03-27 22:35:00 | [Mutex] isItemNotified: node_4mqcao0202:exists :: false 2022-03-27 22:35:00 | [Mutex] waiting for: [node_4mqcao0202:create_node] 2022-03-27 22:35:00 | [Mutex] received everything. 2022-03-27 22:35:00 | [Mutex] isItemNotified: node_4mqcao0202:create_node:success :: true 2022-03-27 22:35:00 | [Mutex] waiting for: [node_4mqcao0202:subscribe_node] 2022-03-27 22:35:00 | [Mutex] waiting for: [node_4mqcao0202:subscribe_node] 2022-03-27 22:35:00 | [Mutex] received everything. 2022-03-27 22:35:00 | [Mutex] isItemNotified: node_4mqcao0202:subscribe_node:success :: true 2022-03-27 22:35:00 | ===== publishing normal message (to online) 2022-03-27 22:35:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-27 22:35:00 | command: <data><node>node_4mqcao0202</node><entry><content>content_fguisp0203</content></entry></data> 2022-03-27 22:35:00 | target: http://localhost:8088 2022-03-27 22:35:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-27 22:35:00 | entity: <data><node>node_4mqcao0202</node><entry><content>content_fguisp0203</content></entry></data> 2022-03-27 22:35:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 05:35:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-27 22:35:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5b3bf248-72c0-4442-82f8-7ef393308d90</value></item-id></result> 2022-03-27 22:35:00 | contains: true 2022-03-27 22:35:00 | [Mutex] received everything. 2022-03-27 22:35:00 | [Mutex] isItemNotified: user_regularddnbu10201@test-domain.com:message:received:content_fguisp0203 :: true 2022-03-27 22:35:00 | ===== publishing already old message - expecting message being filtered out (to online) 2022-03-27 22:35:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-27 22:35:00 | command: <data><node>node_4mqcao0202</node><expire-at>2022-03-28T05:34:55Z</expire-at><entry><content>content_fus72z0204</content></entry></data> 2022-03-27 22:35:00 | target: http://localhost:8088 2022-03-27 22:35:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-27 22:35:00 | entity: <data><node>node_4mqcao0202</node><expire-at>2022-03-28T05:34:55Z</expire-at><entry><content>content_fus72z0204</content></entry></data> 2022-03-27 22:35:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 05:35:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-27 22:35:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b9f218a3-70c3-4574-b5b8-cd75749740dc</value></item-id></result> 2022-03-27 22:35:00 | contains: true 2022-03-27 22:35:00 | [Mutex] waiting for: [user_regularddnbu10201@test-domain.com:message:received:content_fus72z0204] 2022-03-27 22:35:15 | [Mutex] timeout. Not received [user_regularddnbu10201@test-domain.com:message:received:content_fus72z0204] 2022-03-27 22:35:15 | [Mutex] isItemNotified: user_regularddnbu10201@test-domain.com:message:received:content_fus72z0204 :: false 2022-03-27 22:35:15 | ===== publishing normal message (to offline) 2022-03-27 22:35:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-27 22:35:15 | command: <data><node>node_4mqcao0202</node><entry><content>content_6z3lip0205</content></entry></data> 2022-03-27 22:35:15 | target: http://localhost:8088 2022-03-27 22:35:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-27 22:35:15 | entity: <data><node>node_4mqcao0202</node><entry><content>content_6z3lip0205</content></entry></data> 2022-03-27 22:35:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 05:35:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-27 22:35:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8a4a52e1-597a-4c31-910f-0dc04238185d</value></item-id></result> 2022-03-27 22:35:15 | contains: true 2022-03-27 22:35:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-03-27 22:35:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] DNS entry stored in session object: localhost:5222 2022-03-27 22:35:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-03-27 22:35:21 | [Mutex] waiting for: [user_regularddnbu10201@test-domain.com:message:received:content_6z3lip0205] 2022-03-27 22:35:21 | [Mutex] received everything. 2022-03-27 22:35:21 | [Mutex] isItemNotified: user_regularddnbu10201@test-domain.com:message:received:content_6z3lip0205 :: true 2022-03-27 22:35:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-03-27 22:35:21 | [Mutex] received everything. 2022-03-27 22:35:21 | [Mutex] isItemNotified: node_4mqcao0202:subscribe_node:success :: true 2022-03-27 22:35:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-27 22:35:21 | command: <data><node>node_4mqcao0202</node><expire-at>2022-03-28T05:35:26Z</expire-at><entry><content>content_etaljc0206</content></entry></data> 2022-03-27 22:35:21 | target: http://localhost:8088 2022-03-27 22:35:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-27 22:35:21 | entity: <data><node>node_4mqcao0202</node><expire-at>2022-03-28T05:35:26Z</expire-at><entry><content>content_etaljc0206</content></entry></data> 2022-03-27 22:35:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 05:35:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-27 22:35:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5e651241-5bda-48c4-a129-67805079b247</value></item-id></result> 2022-03-27 22:35:21 | contains: true 2022-03-27 22:35:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-03-27 22:35:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222 2022-03-27 22:35:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-03-27 22:35:29 | [Mutex] waiting for: [user_regularddnbu10201@test-domain.com:message:received:content_etaljc0206] 2022-03-27 22:35:29 | [Mutex] waiting for: [user_regularddnbu10201@test-domain.com:message:received:content_etaljc0206] 2022-03-27 22:35:29 | [Mutex] waiting for: [user_regularddnbu10201@test-domain.com:message:received:content_etaljc0206] 2022-03-27 22:35:44 | [Mutex] timeout. Not received [user_regularddnbu10201@test-domain.com:message:received:content_etaljc0206] 2022-03-27 22:35:44 | [Mutex] received everything. 2022-03-27 22:35:44 | [Mutex] isItemNotified: user_regularddnbu10201@test-domain.com:message:received:content_etaljc0206 :: false 2022-03-27 22:35:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_etaljc0206 :: true |