Test duration : 44.668s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.589s |
2022-07-18 23:06:03 |
2022-07-18 23:06:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-18 23:06:03 | ------------------------------------ 2022-07-18 23:06:03 | [Mutex] isItemNotified: node_sv2u5u0204:exists :: false 2022-07-18 23:06:03 | [Mutex] waiting for: [node_sv2u5u0204:create_node] 2022-07-18 23:06:03 | [Mutex] received everything. 2022-07-18 23:06:03 | [Mutex] isItemNotified: node_sv2u5u0204:create_node:success :: true 2022-07-18 23:06:03 | [Mutex] waiting for: [node_sv2u5u0204:subscribe_node] 2022-07-18 23:06:03 | [Mutex] waiting for: [node_sv2u5u0204:subscribe_node] 2022-07-18 23:06:03 | [Mutex] received everything. 2022-07-18 23:06:03 | [Mutex] isItemNotified: node_sv2u5u0204:subscribe_node:success :: true 2022-07-18 23:06:03 | ===== publishing normal message (to online) 2022-07-18 23:06:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-18 23:06:03 | command: <data><node>node_sv2u5u0204</node><entry><content>content_svfwfc0205</content></entry></data> 2022-07-18 23:06:03 | target: http://localhost:8088 2022-07-18 23:06:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-18 23:06:03 | entity: <data><node>node_sv2u5u0204</node><entry><content>content_svfwfc0205</content></entry></data> 2022-07-18 23:06:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 06:06:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-18 23:06:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b11e29ce-c6e4-4e96-82b2-f7bc99be863a</value></item-id></result> 2022-07-18 23:06:03 | contains: true 2022-07-18 23:06:03 | [Mutex] received everything. 2022-07-18 23:06:03 | [Mutex] isItemNotified: user_regularmv5pun0203@test-domain.com:message:received:content_svfwfc0205 :: true 2022-07-18 23:06:03 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-18 23:06:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-18 23:06:03 | command: <data><node>node_sv2u5u0204</node><expire-at>2022-07-19T06:05:58Z</expire-at><entry><content>content_kf87fj0206</content></entry></data> 2022-07-18 23:06:03 | target: http://localhost:8088 2022-07-18 23:06:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-18 23:06:03 | entity: <data><node>node_sv2u5u0204</node><expire-at>2022-07-19T06:05:58Z</expire-at><entry><content>content_kf87fj0206</content></entry></data> 2022-07-18 23:06:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 06:06:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-18 23:06:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b339910e-d91e-4298-b37f-cc85c9631e65</value></item-id></result> 2022-07-18 23:06:03 | contains: true 2022-07-18 23:06:03 | [Mutex] waiting for: [user_regularmv5pun0203@test-domain.com:message:received:content_kf87fj0206] 2022-07-18 23:06:18 | [Mutex] timeout. Not received [user_regularmv5pun0203@test-domain.com:message:received:content_kf87fj0206] 2022-07-18 23:06:18 | [Mutex] isItemNotified: user_regularmv5pun0203@test-domain.com:message:received:content_kf87fj0206 :: false 2022-07-18 23:06:18 | ===== publishing normal message (to offline) 2022-07-18 23:06:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-18 23:06:18 | command: <data><node>node_sv2u5u0204</node><entry><content>content_j2h6690207</content></entry></data> 2022-07-18 23:06:18 | target: http://localhost:8088 2022-07-18 23:06:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-18 23:06:18 | entity: <data><node>node_sv2u5u0204</node><entry><content>content_j2h6690207</content></entry></data> 2022-07-18 23:06:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 06:06:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-18 23:06:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4a5b39ee-99f2-4253-bb3b-f6077b3895b5</value></item-id></result> 2022-07-18 23:06:18 | contains: true 2022-07-18 23:06:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-18 23:06:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-18 23:06:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-18 23:06:23 | [Mutex] waiting for: [user_regularmv5pun0203@test-domain.com:message:received:content_j2h6690207] 2022-07-18 23:06:23 | [Mutex] waiting for: [user_regularmv5pun0203@test-domain.com:message:received:content_j2h6690207] 2022-07-18 23:06:23 | [Mutex] received everything. 2022-07-18 23:06:23 | [Mutex] isItemNotified: user_regularmv5pun0203@test-domain.com:message:received:content_j2h6690207 :: true 2022-07-18 23:06:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-18 23:06:23 | [Mutex] received everything. 2022-07-18 23:06:23 | [Mutex] isItemNotified: node_sv2u5u0204:subscribe_node:success :: true 2022-07-18 23:06:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-18 23:06:23 | command: <data><node>node_sv2u5u0204</node><expire-at>2022-07-19T06:06:28Z</expire-at><entry><content>content_tnez6s0208</content></entry></data> 2022-07-18 23:06:23 | target: http://localhost:8088 2022-07-18 23:06:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-18 23:06:23 | entity: <data><node>node_sv2u5u0204</node><expire-at>2022-07-19T06:06:28Z</expire-at><entry><content>content_tnez6s0208</content></entry></data> 2022-07-18 23:06:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jul 2022 06:06:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-18 23:06:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e674e814-2bb7-4823-b1f2-b381b7052c35</value></item-id></result> 2022-07-18 23:06:23 | contains: true 2022-07-18 23:06:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-18 23:06:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-18 23:06:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-18 23:06:32 | [Mutex] waiting for: [user_regularmv5pun0203@test-domain.com:message:received:content_tnez6s0208] 2022-07-18 23:06:47 | [Mutex] timeout. Not received [user_regularmv5pun0203@test-domain.com:message:received:content_tnez6s0208] 2022-07-18 23:06:47 | [Mutex] received everything. 2022-07-18 23:06:47 | [Mutex] isItemNotified: user_regularmv5pun0203@test-domain.com:message:received:content_tnez6s0208 :: false 2022-07-18 23:06:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tnez6s0208 :: true |