Test duration : 44.842s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.642s |
2022-07-12 06:05:26 |
2022-07-12 06:05:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-12 06:05:26 | ------------------------------------ 2022-07-12 06:05:26 | [Mutex] isItemNotified: node_n2n6e00204:exists :: false 2022-07-12 06:05:26 | [Mutex] waiting for: [node_n2n6e00204:create_node] 2022-07-12 06:05:26 | [Mutex] received everything. 2022-07-12 06:05:26 | [Mutex] isItemNotified: node_n2n6e00204:create_node:success :: true 2022-07-12 06:05:26 | [Mutex] waiting for: [node_n2n6e00204:subscribe_node] 2022-07-12 06:05:26 | [Mutex] received everything. 2022-07-12 06:05:26 | [Mutex] isItemNotified: node_n2n6e00204:subscribe_node:success :: true 2022-07-12 06:05:26 | ===== publishing normal message (to online) 2022-07-12 06:05:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-12 06:05:26 | command: <data><node>node_n2n6e00204</node><entry><content>content_9pnqm20205</content></entry></data> 2022-07-12 06:05:26 | target: http://localhost:8088 2022-07-12 06:05:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-12 06:05:26 | entity: <data><node>node_n2n6e00204</node><entry><content>content_9pnqm20205</content></entry></data> 2022-07-12 06:05:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:05:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-12 06:05:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>371ab904-9087-4913-94a3-5b5f57425c01</value></item-id></result> 2022-07-12 06:05:26 | contains: true 2022-07-12 06:05:26 | [Mutex] received everything. 2022-07-12 06:05:26 | [Mutex] isItemNotified: user_regularlesije0203@test-domain.com:message:received:content_9pnqm20205 :: true 2022-07-12 06:05:26 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-12 06:05:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-12 06:05:26 | command: <data><node>node_n2n6e00204</node><expire-at>2022-07-12T13:05:21Z</expire-at><entry><content>content_stuo8z0206</content></entry></data> 2022-07-12 06:05:26 | target: http://localhost:8088 2022-07-12 06:05:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-12 06:05:26 | entity: <data><node>node_n2n6e00204</node><expire-at>2022-07-12T13:05:21Z</expire-at><entry><content>content_stuo8z0206</content></entry></data> 2022-07-12 06:05:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:05:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-12 06:05:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3a12001e-4345-430b-b8cd-3608d28100da</value></item-id></result> 2022-07-12 06:05:26 | contains: true 2022-07-12 06:05:26 | [Mutex] waiting for: [user_regularlesije0203@test-domain.com:message:received:content_stuo8z0206] 2022-07-12 06:05:41 | [Mutex] timeout. Not received [user_regularlesije0203@test-domain.com:message:received:content_stuo8z0206] 2022-07-12 06:05:41 | [Mutex] isItemNotified: user_regularlesije0203@test-domain.com:message:received:content_stuo8z0206 :: false 2022-07-12 06:05:41 | ===== publishing normal message (to offline) 2022-07-12 06:05:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-12 06:05:41 | command: <data><node>node_n2n6e00204</node><entry><content>content_z12vug0207</content></entry></data> 2022-07-12 06:05:41 | target: http://localhost:8088 2022-07-12 06:05:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-12 06:05:41 | entity: <data><node>node_n2n6e00204</node><entry><content>content_z12vug0207</content></entry></data> 2022-07-12 06:05:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:05:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-12 06:05:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d5553039-e614-475a-a862-11a61d55fb04</value></item-id></result> 2022-07-12 06:05:41 | contains: true 2022-07-12 06:05:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-12 06:05:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-12 06:05:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-12 06:05:46 | [Mutex] waiting for: [user_regularlesije0203@test-domain.com:message:received:content_z12vug0207] 2022-07-12 06:05:46 | [Mutex] waiting for: [user_regularlesije0203@test-domain.com:message:received:content_z12vug0207] 2022-07-12 06:05:46 | [Mutex] received everything. 2022-07-12 06:05:46 | [Mutex] isItemNotified: user_regularlesije0203@test-domain.com:message:received:content_z12vug0207 :: true 2022-07-12 06:05:46 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-12 06:05:46 | [Mutex] received everything. 2022-07-12 06:05:46 | [Mutex] isItemNotified: node_n2n6e00204:subscribe_node:success :: true 2022-07-12 06:05:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-12 06:05:46 | command: <data><node>node_n2n6e00204</node><expire-at>2022-07-12T13:05:51Z</expire-at><entry><content>content_p2cb980208</content></entry></data> 2022-07-12 06:05:46 | target: http://localhost:8088 2022-07-12 06:05:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-12 06:05:46 | entity: <data><node>node_n2n6e00204</node><expire-at>2022-07-12T13:05:51Z</expire-at><entry><content>content_p2cb980208</content></entry></data> 2022-07-12 06:05:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:05:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-12 06:05:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>15e85d50-b3ed-4298-9d3e-59916e755dd0</value></item-id></result> 2022-07-12 06:05:46 | contains: true 2022-07-12 06:05:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-12 06:05:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-12 06:05:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-12 06:05:54 | [Mutex] waiting for: [user_regularlesije0203@test-domain.com:message:received:content_p2cb980208] 2022-07-12 06:05:54 | [Mutex] waiting for: [user_regularlesije0203@test-domain.com:message:received:content_p2cb980208] 2022-07-12 06:06:09 | [Mutex] timeout. Not received [user_regularlesije0203@test-domain.com:message:received:content_p2cb980208] 2022-07-12 06:06:09 | [Mutex] received everything. 2022-07-12 06:06:09 | [Mutex] isItemNotified: user_regularlesije0203@test-domain.com:message:received:content_p2cb980208 :: false 2022-07-12 06:06:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_p2cb980208 :: true |