Test duration : 44.542s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.573s |
2022-05-26 22:50:35 |
2022-05-26 22:50:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-26 22:50:35 | ------------------------------------ 2022-05-26 22:50:35 | [Mutex] isItemNotified: node_r3dt8n0204:exists :: false 2022-05-26 22:50:35 | [Mutex] waiting for: [node_r3dt8n0204:create_node] 2022-05-26 22:50:35 | [Mutex] received everything. 2022-05-26 22:50:35 | [Mutex] isItemNotified: node_r3dt8n0204:create_node:success :: true 2022-05-26 22:50:35 | [Mutex] waiting for: [node_r3dt8n0204:subscribe_node] 2022-05-26 22:50:35 | [Mutex] waiting for: [node_r3dt8n0204:subscribe_node] 2022-05-26 22:50:35 | [Mutex] received everything. 2022-05-26 22:50:35 | [Mutex] isItemNotified: node_r3dt8n0204:subscribe_node:success :: true 2022-05-26 22:50:35 | ===== publishing normal message (to online) 2022-05-26 22:50:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-26 22:50:35 | command: <data><node>node_r3dt8n0204</node><entry><content>content_v208th0205</content></entry></data> 2022-05-26 22:50:35 | target: http://localhost:8088 2022-05-26 22:50:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-26 22:50:35 | entity: <data><node>node_r3dt8n0204</node><entry><content>content_v208th0205</content></entry></data> 2022-05-26 22:50:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:50:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-26 22:50:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7cca820b-dda2-445e-a32b-54f1cc28624e</value></item-id></result> 2022-05-26 22:50:35 | contains: true 2022-05-26 22:50:35 | [Mutex] received everything. 2022-05-26 22:50:35 | [Mutex] isItemNotified: user_regular3kcynq0203@test-domain.com:message:received:content_v208th0205 :: true 2022-05-26 22:50:35 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-26 22:50:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-26 22:50:35 | command: <data><node>node_r3dt8n0204</node><expire-at>2022-05-27T05:50:30Z</expire-at><entry><content>content_i98zvt0206</content></entry></data> 2022-05-26 22:50:35 | target: http://localhost:8088 2022-05-26 22:50:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-26 22:50:35 | entity: <data><node>node_r3dt8n0204</node><expire-at>2022-05-27T05:50:30Z</expire-at><entry><content>content_i98zvt0206</content></entry></data> 2022-05-26 22:50:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:50:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-26 22:50:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bd07a9c7-990d-43b1-a312-dfea38a791f9</value></item-id></result> 2022-05-26 22:50:36 | contains: true 2022-05-26 22:50:36 | [Mutex] waiting for: [user_regular3kcynq0203@test-domain.com:message:received:content_i98zvt0206] 2022-05-26 22:50:51 | [Mutex] timeout. Not received [user_regular3kcynq0203@test-domain.com:message:received:content_i98zvt0206] 2022-05-26 22:50:51 | [Mutex] isItemNotified: user_regular3kcynq0203@test-domain.com:message:received:content_i98zvt0206 :: false 2022-05-26 22:50:51 | ===== publishing normal message (to offline) 2022-05-26 22:50:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-26 22:50:51 | command: <data><node>node_r3dt8n0204</node><entry><content>content_ijiv9y0207</content></entry></data> 2022-05-26 22:50:51 | target: http://localhost:8088 2022-05-26 22:50:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-26 22:50:51 | entity: <data><node>node_r3dt8n0204</node><entry><content>content_ijiv9y0207</content></entry></data> 2022-05-26 22:50:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:50:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-26 22:50:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>29937cae-c2ce-42e2-989f-aa41b1f60aab</value></item-id></result> 2022-05-26 22:50:51 | contains: true 2022-05-26 22:50:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-26 22:50:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-26 22:50:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-26 22:50:56 | [Mutex] waiting for: [user_regular3kcynq0203@test-domain.com:message:received:content_ijiv9y0207] 2022-05-26 22:50:56 | [Mutex] received everything. 2022-05-26 22:50:56 | [Mutex] isItemNotified: user_regular3kcynq0203@test-domain.com:message:received:content_ijiv9y0207 :: true 2022-05-26 22:50:56 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-26 22:50:56 | [Mutex] received everything. 2022-05-26 22:50:56 | [Mutex] isItemNotified: node_r3dt8n0204:subscribe_node:success :: true 2022-05-26 22:50:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-26 22:50:56 | command: <data><node>node_r3dt8n0204</node><expire-at>2022-05-27T05:51:01Z</expire-at><entry><content>content_8w7odv0208</content></entry></data> 2022-05-26 22:50:56 | target: http://localhost:8088 2022-05-26 22:50:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-26 22:50:56 | entity: <data><node>node_r3dt8n0204</node><expire-at>2022-05-27T05:51:01Z</expire-at><entry><content>content_8w7odv0208</content></entry></data> 2022-05-26 22:50:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 27 May 2022 05:50:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-26 22:50:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>454c3a3a-4864-4323-9a69-5d7a8dec6a33</value></item-id></result> 2022-05-26 22:50:56 | contains: true 2022-05-26 22:51:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-26 22:51:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-26 22:51:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-26 22:51:04 | [Mutex] waiting for: [user_regular3kcynq0203@test-domain.com:message:received:content_8w7odv0208] 2022-05-26 22:51:04 | [Mutex] waiting for: [user_regular3kcynq0203@test-domain.com:message:received:content_8w7odv0208] 2022-05-26 22:51:04 | [Mutex] waiting for: [user_regular3kcynq0203@test-domain.com:message:received:content_8w7odv0208] 2022-05-26 22:51:19 | [Mutex] timeout. Not received [user_regular3kcynq0203@test-domain.com:message:received:content_8w7odv0208] 2022-05-26 22:51:19 | [Mutex] received everything. 2022-05-26 22:51:19 | [Mutex] isItemNotified: user_regular3kcynq0203@test-domain.com:message:received:content_8w7odv0208 :: false 2022-05-26 22:51:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8w7odv0208 :: true |