Test duration : 44.810s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.600s |
2022-06-12 22:40:28 |
2022-06-12 22:40:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-12 22:40:28 | ------------------------------------ 2022-06-12 22:40:28 | [Mutex] isItemNotified: node_1q3xjy0204:exists :: false 2022-06-12 22:40:28 | [Mutex] waiting for: [node_1q3xjy0204:create_node] 2022-06-12 22:40:28 | [Mutex] waiting for: [node_1q3xjy0204:create_node] 2022-06-12 22:40:28 | [Mutex] received everything. 2022-06-12 22:40:28 | [Mutex] isItemNotified: node_1q3xjy0204:create_node:success :: true 2022-06-12 22:40:28 | [Mutex] waiting for: [node_1q3xjy0204:subscribe_node] 2022-06-12 22:40:28 | [Mutex] received everything. 2022-06-12 22:40:28 | [Mutex] isItemNotified: node_1q3xjy0204:subscribe_node:success :: true 2022-06-12 22:40:28 | ===== publishing normal message (to online) 2022-06-12 22:40:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-12 22:40:28 | command: <data><node>node_1q3xjy0204</node><entry><content>content_gd360r0205</content></entry></data> 2022-06-12 22:40:28 | target: http://localhost:8088 2022-06-12 22:40:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-12 22:40:28 | entity: <data><node>node_1q3xjy0204</node><entry><content>content_gd360r0205</content></entry></data> 2022-06-12 22:40:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:40:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-12 22:40:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2d2ab52b-db9f-45fa-891a-8d538c5ae1bc</value></item-id></result> 2022-06-12 22:40:28 | contains: true 2022-06-12 22:40:28 | [Mutex] received everything. 2022-06-12 22:40:28 | [Mutex] isItemNotified: user_regularfpwcdg0203@test-domain.com:message:received:content_gd360r0205 :: true 2022-06-12 22:40:28 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-12 22:40:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-12 22:40:28 | command: <data><node>node_1q3xjy0204</node><expire-at>2022-06-13T05:40:23Z</expire-at><entry><content>content_xwf0jo0206</content></entry></data> 2022-06-12 22:40:28 | target: http://localhost:8088 2022-06-12 22:40:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-12 22:40:28 | entity: <data><node>node_1q3xjy0204</node><expire-at>2022-06-13T05:40:23Z</expire-at><entry><content>content_xwf0jo0206</content></entry></data> 2022-06-12 22:40:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:40:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-12 22:40:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e0713e86-64e7-431b-8a65-da0c085e8005</value></item-id></result> 2022-06-12 22:40:28 | contains: true 2022-06-12 22:40:28 | [Mutex] waiting for: [user_regularfpwcdg0203@test-domain.com:message:received:content_xwf0jo0206] 2022-06-12 22:40:43 | [Mutex] timeout. Not received [user_regularfpwcdg0203@test-domain.com:message:received:content_xwf0jo0206] 2022-06-12 22:40:43 | [Mutex] isItemNotified: user_regularfpwcdg0203@test-domain.com:message:received:content_xwf0jo0206 :: false 2022-06-12 22:40:43 | ===== publishing normal message (to offline) 2022-06-12 22:40:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-12 22:40:44 | command: <data><node>node_1q3xjy0204</node><entry><content>content_l3r1at0207</content></entry></data> 2022-06-12 22:40:44 | target: http://localhost:8088 2022-06-12 22:40:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-12 22:40:44 | entity: <data><node>node_1q3xjy0204</node><entry><content>content_l3r1at0207</content></entry></data> 2022-06-12 22:40:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:40:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-12 22:40:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9ec2ab72-6fcb-4b88-89fb-1848ae4a7cc0</value></item-id></result> 2022-06-12 22:40:44 | contains: true 2022-06-12 22:40:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-12 22:40:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-12 22:40:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-12 22:40:49 | [Mutex] waiting for: [user_regularfpwcdg0203@test-domain.com:message:received:content_l3r1at0207] 2022-06-12 22:40:49 | [Mutex] received everything. 2022-06-12 22:40:49 | [Mutex] isItemNotified: user_regularfpwcdg0203@test-domain.com:message:received:content_l3r1at0207 :: true 2022-06-12 22:40:49 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-12 22:40:49 | [Mutex] received everything. 2022-06-12 22:40:49 | [Mutex] isItemNotified: node_1q3xjy0204:subscribe_node:success :: true 2022-06-12 22:40:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-12 22:40:49 | command: <data><node>node_1q3xjy0204</node><expire-at>2022-06-13T05:40:54Z</expire-at><entry><content>content_6pry760208</content></entry></data> 2022-06-12 22:40:49 | target: http://localhost:8088 2022-06-12 22:40:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-12 22:40:49 | entity: <data><node>node_1q3xjy0204</node><expire-at>2022-06-13T05:40:54Z</expire-at><entry><content>content_6pry760208</content></entry></data> 2022-06-12 22:40:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 13 Jun 2022 05:40:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-12 22:40:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cbfef7d5-c715-4aa6-b6fc-a2a56ec4e70d</value></item-id></result> 2022-06-12 22:40:49 | contains: true 2022-06-12 22:40:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-12 22:40:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-12 22:40:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-12 22:40:57 | [Mutex] waiting for: [user_regularfpwcdg0203@test-domain.com:message:received:content_6pry760208] 2022-06-12 22:40:57 | [Mutex] waiting for: [user_regularfpwcdg0203@test-domain.com:message:received:content_6pry760208] 2022-06-12 22:41:12 | [Mutex] timeout. Not received [user_regularfpwcdg0203@test-domain.com:message:received:content_6pry760208] 2022-06-12 22:41:12 | [Mutex] received everything. 2022-06-12 22:41:12 | [Mutex] isItemNotified: user_regularfpwcdg0203@test-domain.com:message:received:content_6pry760208 :: false 2022-06-12 22:41:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6pry760208 :: true |