Test duration : 44.670s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.581s |
2023-02-01 21:32:06 |
2023-02-01 21:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-02-01 21:32:06 | ------------------------------------ 2023-02-01 21:32:06 | [Mutex] isItemNotified: node_dur2te0204:exists :: false 2023-02-01 21:32:06 | [Mutex] waiting for: [node_dur2te0204:create_node] 2023-02-01 21:32:06 | [Mutex] received everything. 2023-02-01 21:32:06 | [Mutex] isItemNotified: node_dur2te0204:create_node:success :: true 2023-02-01 21:32:06 | [Mutex] waiting for: [node_dur2te0204:subscribe_node] 2023-02-01 21:32:06 | [Mutex] waiting for: [node_dur2te0204:subscribe_node] 2023-02-01 21:32:06 | [Mutex] received everything. 2023-02-01 21:32:06 | [Mutex] isItemNotified: node_dur2te0204:subscribe_node:success :: true 2023-02-01 21:32:06 | ===== publishing normal message (to online) 2023-02-01 21:32:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:32:06 | command: <data><node>node_dur2te0204</node><entry><content>content_9lze620205</content></entry></data> 2023-02-01 21:32:06 | target: http://localhost:8088 2023-02-01 21:32:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-01 21:32:06 | entity: <data><node>node_dur2te0204</node><entry><content>content_9lze620205</content></entry></data> 2023-02-01 21:32:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:32:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:32:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c8e7c94c-6e10-4a1c-a8d4-e13faa04398f</value></item-id></result> 2023-02-01 21:32:06 | contains: true 2023-02-01 21:32:06 | [Mutex] received everything. 2023-02-01 21:32:06 | [Mutex] isItemNotified: user_regularoxak4d0203@test-domain.com:message:received:content_9lze620205 :: true 2023-02-01 21:32:06 | ===== publishing already old message - expecting message being filtered out (to online) 2023-02-01 21:32:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:32:06 | command: <data><node>node_dur2te0204</node><expire-at>2023-02-02T05:32:01Z</expire-at><entry><content>content_a447qw0206</content></entry></data> 2023-02-01 21:32:06 | target: http://localhost:8088 2023-02-01 21:32:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-01 21:32:06 | entity: <data><node>node_dur2te0204</node><expire-at>2023-02-02T05:32:01Z</expire-at><entry><content>content_a447qw0206</content></entry></data> 2023-02-01 21:32:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:32:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:32:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>478d451d-79f1-46a6-9c44-a80d6832507c</value></item-id></result> 2023-02-01 21:32:06 | contains: true 2023-02-01 21:32:06 | [Mutex] waiting for: [user_regularoxak4d0203@test-domain.com:message:received:content_a447qw0206] 2023-02-01 21:32:21 | [Mutex] timeout. Not received [user_regularoxak4d0203@test-domain.com:message:received:content_a447qw0206] 2023-02-01 21:32:21 | [Mutex] isItemNotified: user_regularoxak4d0203@test-domain.com:message:received:content_a447qw0206 :: false 2023-02-01 21:32:21 | ===== publishing normal message (to offline) 2023-02-01 21:32:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:32:21 | command: <data><node>node_dur2te0204</node><entry><content>content_l4zwxn0207</content></entry></data> 2023-02-01 21:32:21 | target: http://localhost:8088 2023-02-01 21:32:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-01 21:32:21 | entity: <data><node>node_dur2te0204</node><entry><content>content_l4zwxn0207</content></entry></data> 2023-02-01 21:32:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:32:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:32:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a271be12-f54e-4420-8042-d325028f3b86</value></item-id></result> 2023-02-01 21:32:21 | contains: true 2023-02-01 21:32:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-01 21:32:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-02-01 21:32:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-01 21:32:26 | [Mutex] waiting for: [user_regularoxak4d0203@test-domain.com:message:received:content_l4zwxn0207] 2023-02-01 21:32:26 | [Mutex] waiting for: [user_regularoxak4d0203@test-domain.com:message:received:content_l4zwxn0207] 2023-02-01 21:32:26 | [Mutex] received everything. 2023-02-01 21:32:26 | [Mutex] isItemNotified: user_regularoxak4d0203@test-domain.com:message:received:content_l4zwxn0207 :: true 2023-02-01 21:32:26 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-02-01 21:32:26 | [Mutex] received everything. 2023-02-01 21:32:26 | [Mutex] isItemNotified: node_dur2te0204:subscribe_node:success :: true 2023-02-01 21:32:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:32:26 | command: <data><node>node_dur2te0204</node><expire-at>2023-02-02T05:32:31Z</expire-at><entry><content>content_xt1gyq0208</content></entry></data> 2023-02-01 21:32:26 | target: http://localhost:8088 2023-02-01 21:32:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-01 21:32:26 | entity: <data><node>node_dur2te0204</node><expire-at>2023-02-02T05:32:31Z</expire-at><entry><content>content_xt1gyq0208</content></entry></data> 2023-02-01 21:32:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:32:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:32:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>80bdb7b7-bcab-4686-89fb-4568eb9eb1c7</value></item-id></result> 2023-02-01 21:32:26 | contains: true 2023-02-01 21:32:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-01 21:32:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-02-01 21:32:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-01 21:32:34 | [Mutex] waiting for: [user_regularoxak4d0203@test-domain.com:message:received:content_xt1gyq0208] 2023-02-01 21:32:34 | [Mutex] waiting for: [user_regularoxak4d0203@test-domain.com:message:received:content_xt1gyq0208] 2023-02-01 21:32:34 | [Mutex] waiting for: [user_regularoxak4d0203@test-domain.com:message:received:content_xt1gyq0208] 2023-02-01 21:32:49 | [Mutex] timeout. Not received [user_regularoxak4d0203@test-domain.com:message:received:content_xt1gyq0208] 2023-02-01 21:32:49 | [Mutex] received everything. 2023-02-01 21:32:49 | [Mutex] isItemNotified: user_regularoxak4d0203@test-domain.com:message:received:content_xt1gyq0208 :: false 2023-02-01 21:32:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xt1gyq0208 :: true |