Test duration : 44.590s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.625s |
2022-04-27 23:21:00 |
2022-04-27 23:21:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-04-27 23:21:00 | ------------------------------------ 2022-04-27 23:21:00 | [Mutex] isItemNotified: node_5awb1r0204:exists :: false 2022-04-27 23:21:00 | [Mutex] waiting for: [node_5awb1r0204:create_node] 2022-04-27 23:21:00 | [Mutex] waiting for: [node_5awb1r0204:create_node] 2022-04-27 23:21:00 | [Mutex] received everything. 2022-04-27 23:21:00 | [Mutex] isItemNotified: node_5awb1r0204:create_node:success :: true 2022-04-27 23:21:00 | [Mutex] waiting for: [node_5awb1r0204:subscribe_node] 2022-04-27 23:21:00 | [Mutex] waiting for: [node_5awb1r0204:subscribe_node] 2022-04-27 23:21:00 | [Mutex] received everything. 2022-04-27 23:21:00 | [Mutex] isItemNotified: node_5awb1r0204:subscribe_node:success :: true 2022-04-27 23:21:00 | ===== publishing normal message (to online) 2022-04-27 23:21:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-27 23:21:00 | command: <data><node>node_5awb1r0204</node><entry><content>content_82hze20205</content></entry></data> 2022-04-27 23:21:00 | target: http://localhost:8088 2022-04-27 23:21:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-04-27 23:21:00 | entity: <data><node>node_5awb1r0204</node><entry><content>content_82hze20205</content></entry></data> 2022-04-27 23:21:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:21:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-27 23:21:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>058b5c1b-a674-44a6-8326-b9125534fa45</value></item-id></result> 2022-04-27 23:21:00 | contains: true 2022-04-27 23:21:00 | [Mutex] received everything. 2022-04-27 23:21:00 | [Mutex] isItemNotified: user_regularz4rnsv0203@test-domain.com:message:received:content_82hze20205 :: true 2022-04-27 23:21:00 | ===== publishing already old message - expecting message being filtered out (to online) 2022-04-27 23:21:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-27 23:21:00 | command: <data><node>node_5awb1r0204</node><expire-at>2022-04-28T06:20:55Z</expire-at><entry><content>content_mzn1hb0206</content></entry></data> 2022-04-27 23:21:00 | target: http://localhost:8088 2022-04-27 23:21:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-04-27 23:21:00 | entity: <data><node>node_5awb1r0204</node><expire-at>2022-04-28T06:20:55Z</expire-at><entry><content>content_mzn1hb0206</content></entry></data> 2022-04-27 23:21:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:21:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-27 23:21:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b4bf24f4-cd60-4f07-a379-aacd2a512920</value></item-id></result> 2022-04-27 23:21:00 | contains: true 2022-04-27 23:21:00 | [Mutex] waiting for: [user_regularz4rnsv0203@test-domain.com:message:received:content_mzn1hb0206] 2022-04-27 23:21:15 | [Mutex] timeout. Not received [user_regularz4rnsv0203@test-domain.com:message:received:content_mzn1hb0206] 2022-04-27 23:21:15 | [Mutex] isItemNotified: user_regularz4rnsv0203@test-domain.com:message:received:content_mzn1hb0206 :: false 2022-04-27 23:21:15 | ===== publishing normal message (to offline) 2022-04-27 23:21:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-27 23:21:15 | command: <data><node>node_5awb1r0204</node><entry><content>content_3jlp7s0207</content></entry></data> 2022-04-27 23:21:15 | target: http://localhost:8088 2022-04-27 23:21:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-04-27 23:21:15 | entity: <data><node>node_5awb1r0204</node><entry><content>content_3jlp7s0207</content></entry></data> 2022-04-27 23:21:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:21:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-27 23:21:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b7581efb-eb97-41cf-b602-df28eacd2806</value></item-id></result> 2022-04-27 23:21:15 | contains: true 2022-04-27 23:21:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-04-27 23:21:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=479 thread=1] DNS entry stored in session object: localhost:5222 2022-04-27 23:21:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=479 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-04-27 23:21:20 | [Mutex] waiting for: [user_regularz4rnsv0203@test-domain.com:message:received:content_3jlp7s0207] 2022-04-27 23:21:20 | [Mutex] waiting for: [user_regularz4rnsv0203@test-domain.com:message:received:content_3jlp7s0207] 2022-04-27 23:21:20 | [Mutex] received everything. 2022-04-27 23:21:20 | [Mutex] isItemNotified: user_regularz4rnsv0203@test-domain.com:message:received:content_3jlp7s0207 :: true 2022-04-27 23:21:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-04-27 23:21:20 | [Mutex] received everything. 2022-04-27 23:21:20 | [Mutex] isItemNotified: node_5awb1r0204:subscribe_node:success :: true 2022-04-27 23:21:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-27 23:21:20 | command: <data><node>node_5awb1r0204</node><expire-at>2022-04-28T06:21:25Z</expire-at><entry><content>content_gr6dkg0208</content></entry></data> 2022-04-27 23:21:20 | target: http://localhost:8088 2022-04-27 23:21:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-04-27 23:21:20 | entity: <data><node>node_5awb1r0204</node><expire-at>2022-04-28T06:21:25Z</expire-at><entry><content>content_gr6dkg0208</content></entry></data> 2022-04-27 23:21:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Apr 2022 06:21:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-27 23:21:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bab526c4-a2be-4209-9e7e-bbf6a2ed558d</value></item-id></result> 2022-04-27 23:21:20 | contains: true 2022-04-27 23:21:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-04-27 23:21:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-04-27 23:21:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-04-27 23:21:29 | [Mutex] waiting for: [user_regularz4rnsv0203@test-domain.com:message:received:content_gr6dkg0208] 2022-04-27 23:21:29 | [Mutex] waiting for: [user_regularz4rnsv0203@test-domain.com:message:received:content_gr6dkg0208] 2022-04-27 23:21:29 | [Mutex] waiting for: [user_regularz4rnsv0203@test-domain.com:message:received:content_gr6dkg0208] 2022-04-27 23:21:44 | [Mutex] timeout. Not received [user_regularz4rnsv0203@test-domain.com:message:received:content_gr6dkg0208] 2022-04-27 23:21:44 | [Mutex] received everything. 2022-04-27 23:21:44 | [Mutex] isItemNotified: user_regularz4rnsv0203@test-domain.com:message:received:content_gr6dkg0208 :: false 2022-04-27 23:21:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gr6dkg0208 :: true |