Test duration : 45.024s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.782s |
2022-09-07 22:34:41 |
2022-09-07 22:34:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-07 22:34:41 | ------------------------------------ 2022-09-07 22:34:41 | [Mutex] isItemNotified: node_lpsk6j0204:exists :: false 2022-09-07 22:34:41 | [Mutex] waiting for: [node_lpsk6j0204:create_node] 2022-09-07 22:34:41 | [Mutex] received everything. 2022-09-07 22:34:41 | [Mutex] isItemNotified: node_lpsk6j0204:create_node:success :: true 2022-09-07 22:34:41 | [Mutex] waiting for: [node_lpsk6j0204:subscribe_node] 2022-09-07 22:34:41 | [Mutex] received everything. 2022-09-07 22:34:41 | [Mutex] isItemNotified: node_lpsk6j0204:subscribe_node:success :: true 2022-09-07 22:34:41 | ===== publishing normal message (to online) 2022-09-07 22:34:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 22:34:41 | command: <data><node>node_lpsk6j0204</node><entry><content>content_8766r20205</content></entry></data> 2022-09-07 22:34:41 | target: http://localhost:8088 2022-09-07 22:34:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-07 22:34:41 | entity: <data><node>node_lpsk6j0204</node><entry><content>content_8766r20205</content></entry></data> 2022-09-07 22:34:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 05:34:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 22:34:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>705a8560-a702-44b9-820b-69a9c4fdbf7b</value></item-id></result> 2022-09-07 22:34:41 | contains: true 2022-09-07 22:34:41 | [Mutex] received everything. 2022-09-07 22:34:41 | [Mutex] isItemNotified: user_regularbz40hn0203@test-domain.com:message:received:content_8766r20205 :: true 2022-09-07 22:34:41 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-07 22:34:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 22:34:41 | command: <data><node>node_lpsk6j0204</node><expire-at>2022-09-08T05:34:36Z</expire-at><entry><content>content_s4rt070206</content></entry></data> 2022-09-07 22:34:41 | target: http://localhost:8088 2022-09-07 22:34:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-07 22:34:41 | entity: <data><node>node_lpsk6j0204</node><expire-at>2022-09-08T05:34:36Z</expire-at><entry><content>content_s4rt070206</content></entry></data> 2022-09-07 22:34:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 05:34:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 22:34:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c8e7489b-f773-47dc-81aa-d7aab52758f2</value></item-id></result> 2022-09-07 22:34:41 | contains: true 2022-09-07 22:34:41 | [Mutex] waiting for: [user_regularbz40hn0203@test-domain.com:message:received:content_s4rt070206] 2022-09-07 22:34:56 | [Mutex] timeout. Not received [user_regularbz40hn0203@test-domain.com:message:received:content_s4rt070206] 2022-09-07 22:34:56 | [Mutex] isItemNotified: user_regularbz40hn0203@test-domain.com:message:received:content_s4rt070206 :: false 2022-09-07 22:34:56 | ===== publishing normal message (to offline) 2022-09-07 22:34:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 22:34:56 | command: <data><node>node_lpsk6j0204</node><entry><content>content_cu7yoz0207</content></entry></data> 2022-09-07 22:34:56 | target: http://localhost:8088 2022-09-07 22:34:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-07 22:34:56 | entity: <data><node>node_lpsk6j0204</node><entry><content>content_cu7yoz0207</content></entry></data> 2022-09-07 22:34:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 05:34:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 22:34:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ccd28b5b-617c-4ffd-8ce8-59b856c65e17</value></item-id></result> 2022-09-07 22:34:56 | contains: true 2022-09-07 22:35:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-07 22:35:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-07 22:35:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-07 22:35:02 | [Mutex] waiting for: [user_regularbz40hn0203@test-domain.com:message:received:content_cu7yoz0207] 2022-09-07 22:35:02 | [Mutex] waiting for: [user_regularbz40hn0203@test-domain.com:message:received:content_cu7yoz0207] 2022-09-07 22:35:02 | [Mutex] received everything. 2022-09-07 22:35:02 | [Mutex] isItemNotified: user_regularbz40hn0203@test-domain.com:message:received:content_cu7yoz0207 :: true 2022-09-07 22:35:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-07 22:35:02 | [Mutex] received everything. 2022-09-07 22:35:02 | [Mutex] isItemNotified: node_lpsk6j0204:subscribe_node:success :: true 2022-09-07 22:35:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 22:35:02 | command: <data><node>node_lpsk6j0204</node><expire-at>2022-09-08T05:35:07Z</expire-at><entry><content>content_yg6djx0208</content></entry></data> 2022-09-07 22:35:02 | target: http://localhost:8088 2022-09-07 22:35:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-07 22:35:02 | entity: <data><node>node_lpsk6j0204</node><expire-at>2022-09-08T05:35:07Z</expire-at><entry><content>content_yg6djx0208</content></entry></data> 2022-09-07 22:35:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 05:35:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 22:35:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>55760f3e-a089-4574-88eb-62d206bf906e</value></item-id></result> 2022-09-07 22:35:02 | contains: true 2022-09-07 22:35:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-07 22:35:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-07 22:35:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-07 22:35:10 | [Mutex] waiting for: [user_regularbz40hn0203@test-domain.com:message:received:content_yg6djx0208] 2022-09-07 22:35:10 | [Mutex] waiting for: [user_regularbz40hn0203@test-domain.com:message:received:content_yg6djx0208] 2022-09-07 22:35:10 | [Mutex] waiting for: [user_regularbz40hn0203@test-domain.com:message:received:content_yg6djx0208] 2022-09-07 22:35:25 | [Mutex] timeout. Not received [user_regularbz40hn0203@test-domain.com:message:received:content_yg6djx0208] 2022-09-07 22:35:25 | [Mutex] received everything. 2022-09-07 22:35:25 | [Mutex] isItemNotified: user_regularbz40hn0203@test-domain.com:message:received:content_yg6djx0208 :: false 2022-09-07 22:35:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yg6djx0208 :: true |