Test duration : 44.822s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.572s |
2022-09-27 22:36:51 |
2022-09-27 22:36:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-27 22:36:51 | ------------------------------------ 2022-09-27 22:36:51 | [Mutex] isItemNotified: node_x7caze0204:exists :: false 2022-09-27 22:36:51 | [Mutex] waiting for: [node_x7caze0204:create_node] 2022-09-27 22:36:51 | [Mutex] received everything. 2022-09-27 22:36:51 | [Mutex] isItemNotified: node_x7caze0204:create_node:success :: true 2022-09-27 22:36:51 | [Mutex] waiting for: [node_x7caze0204:subscribe_node] 2022-09-27 22:36:51 | [Mutex] waiting for: [node_x7caze0204:subscribe_node] 2022-09-27 22:36:51 | [Mutex] received everything. 2022-09-27 22:36:51 | [Mutex] isItemNotified: node_x7caze0204:subscribe_node:success :: true 2022-09-27 22:36:51 | ===== publishing normal message (to online) 2022-09-27 22:36:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-27 22:36:51 | command: <data><node>node_x7caze0204</node><entry><content>content_ilj9e40205</content></entry></data> 2022-09-27 22:36:51 | target: http://localhost:8088 2022-09-27 22:36:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-27 22:36:51 | entity: <data><node>node_x7caze0204</node><entry><content>content_ilj9e40205</content></entry></data> 2022-09-27 22:36:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Sep 2022 05:36:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-27 22:36:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9e4250fc-a439-47fd-8e56-3e3b8acf08a0</value></item-id></result> 2022-09-27 22:36:51 | contains: true 2022-09-27 22:36:51 | [Mutex] waiting for: [user_regulartd0g9h0203@test-domain.com:message:received:content_ilj9e40205] 2022-09-27 22:36:51 | [Mutex] received everything. 2022-09-27 22:36:51 | [Mutex] isItemNotified: user_regulartd0g9h0203@test-domain.com:message:received:content_ilj9e40205 :: true 2022-09-27 22:36:51 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-27 22:36:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-27 22:36:51 | command: <data><node>node_x7caze0204</node><expire-at>2022-09-28T05:36:46Z</expire-at><entry><content>content_oa2m4k0206</content></entry></data> 2022-09-27 22:36:51 | target: http://localhost:8088 2022-09-27 22:36:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-27 22:36:51 | entity: <data><node>node_x7caze0204</node><expire-at>2022-09-28T05:36:46Z</expire-at><entry><content>content_oa2m4k0206</content></entry></data> 2022-09-27 22:36:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Sep 2022 05:36:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-27 22:36:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>30b70b26-fdc0-4b95-b450-45482fdaaca1</value></item-id></result> 2022-09-27 22:36:51 | contains: true 2022-09-27 22:36:51 | [Mutex] waiting for: [user_regulartd0g9h0203@test-domain.com:message:received:content_oa2m4k0206] 2022-09-27 22:37:06 | [Mutex] timeout. Not received [user_regulartd0g9h0203@test-domain.com:message:received:content_oa2m4k0206] 2022-09-27 22:37:06 | [Mutex] isItemNotified: user_regulartd0g9h0203@test-domain.com:message:received:content_oa2m4k0206 :: false 2022-09-27 22:37:06 | ===== publishing normal message (to offline) 2022-09-27 22:37:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-27 22:37:06 | command: <data><node>node_x7caze0204</node><entry><content>content_ok04y90207</content></entry></data> 2022-09-27 22:37:06 | target: http://localhost:8088 2022-09-27 22:37:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-27 22:37:06 | entity: <data><node>node_x7caze0204</node><entry><content>content_ok04y90207</content></entry></data> 2022-09-27 22:37:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Sep 2022 05:37:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-27 22:37:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f655ec6c-f84b-41c2-b449-ee9f4d13622d</value></item-id></result> 2022-09-27 22:37:06 | contains: true 2022-09-27 22:37:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-27 22:37:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-27 22:37:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-27 22:37:12 | [Mutex] waiting for: [user_regulartd0g9h0203@test-domain.com:message:received:content_ok04y90207] 2022-09-27 22:37:12 | [Mutex] waiting for: [user_regulartd0g9h0203@test-domain.com:message:received:content_ok04y90207] 2022-09-27 22:37:12 | [Mutex] received everything. 2022-09-27 22:37:12 | [Mutex] isItemNotified: user_regulartd0g9h0203@test-domain.com:message:received:content_ok04y90207 :: true 2022-09-27 22:37:12 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-27 22:37:12 | [Mutex] received everything. 2022-09-27 22:37:12 | [Mutex] isItemNotified: node_x7caze0204:subscribe_node:success :: true 2022-09-27 22:37:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-27 22:37:12 | command: <data><node>node_x7caze0204</node><expire-at>2022-09-28T05:37:17Z</expire-at><entry><content>content_n6ul4k0208</content></entry></data> 2022-09-27 22:37:12 | target: http://localhost:8088 2022-09-27 22:37:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-27 22:37:12 | entity: <data><node>node_x7caze0204</node><expire-at>2022-09-28T05:37:17Z</expire-at><entry><content>content_n6ul4k0208</content></entry></data> 2022-09-27 22:37:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 28 Sep 2022 05:37:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-27 22:37:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6b41bdf7-4f14-4ff6-a2d2-0b31430e7822</value></item-id></result> 2022-09-27 22:37:12 | contains: true 2022-09-27 22:37:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-27 22:37:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-27 22:37:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-27 22:37:20 | [Mutex] waiting for: [user_regulartd0g9h0203@test-domain.com:message:received:content_n6ul4k0208] 2022-09-27 22:37:35 | [Mutex] timeout. Not received [user_regulartd0g9h0203@test-domain.com:message:received:content_n6ul4k0208] 2022-09-27 22:37:35 | [Mutex] received everything. 2022-09-27 22:37:35 | [Mutex] isItemNotified: user_regulartd0g9h0203@test-domain.com:message:received:content_n6ul4k0208 :: false 2022-09-27 22:37:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_n6ul4k0208 :: true |