Test duration : 44.879s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.663s |
2022-06-05 22:51:59 |
2022-06-05 22:51:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-05 22:51:59 | ------------------------------------ 2022-06-05 22:51:59 | [Mutex] isItemNotified: node_hdtn900204:exists :: false 2022-06-05 22:51:59 | [Mutex] waiting for: [node_hdtn900204:create_node] 2022-06-05 22:51:59 | [Mutex] received everything. 2022-06-05 22:51:59 | [Mutex] isItemNotified: node_hdtn900204:create_node:success :: true 2022-06-05 22:51:59 | [Mutex] waiting for: [node_hdtn900204:subscribe_node] 2022-06-05 22:51:59 | [Mutex] waiting for: [node_hdtn900204:subscribe_node] 2022-06-05 22:51:59 | [Mutex] received everything. 2022-06-05 22:51:59 | [Mutex] isItemNotified: node_hdtn900204:subscribe_node:success :: true 2022-06-05 22:51:59 | ===== publishing normal message (to online) 2022-06-05 22:51:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 22:51:59 | command: <data><node>node_hdtn900204</node><entry><content>content_w9xtq20205</content></entry></data> 2022-06-05 22:51:59 | target: http://localhost:8088 2022-06-05 22:51:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-05 22:51:59 | entity: <data><node>node_hdtn900204</node><entry><content>content_w9xtq20205</content></entry></data> 2022-06-05 22:51:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:51:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 22:51:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>41e3d111-bdd2-46bc-9d48-5908b465f1bc</value></item-id></result> 2022-06-05 22:51:59 | contains: true 2022-06-05 22:51:59 | [Mutex] waiting for: [user_regularfloa5q0203@test-domain.com:message:received:content_w9xtq20205] 2022-06-05 22:51:59 | [Mutex] received everything. 2022-06-05 22:51:59 | [Mutex] isItemNotified: user_regularfloa5q0203@test-domain.com:message:received:content_w9xtq20205 :: true 2022-06-05 22:51:59 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-05 22:51:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 22:51:59 | command: <data><node>node_hdtn900204</node><expire-at>2022-06-06T05:51:54Z</expire-at><entry><content>content_qm0c210206</content></entry></data> 2022-06-05 22:51:59 | target: http://localhost:8088 2022-06-05 22:51:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-05 22:51:59 | entity: <data><node>node_hdtn900204</node><expire-at>2022-06-06T05:51:54Z</expire-at><entry><content>content_qm0c210206</content></entry></data> 2022-06-05 22:51:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:51:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 22:51:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cbab602a-a1f3-4565-9924-3d65b2885f9a</value></item-id></result> 2022-06-05 22:51:59 | contains: true 2022-06-05 22:51:59 | [Mutex] waiting for: [user_regularfloa5q0203@test-domain.com:message:received:content_qm0c210206] 2022-06-05 22:52:14 | [Mutex] timeout. Not received [user_regularfloa5q0203@test-domain.com:message:received:content_qm0c210206] 2022-06-05 22:52:14 | [Mutex] isItemNotified: user_regularfloa5q0203@test-domain.com:message:received:content_qm0c210206 :: false 2022-06-05 22:52:14 | ===== publishing normal message (to offline) 2022-06-05 22:52:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 22:52:14 | command: <data><node>node_hdtn900204</node><entry><content>content_9cs00x0207</content></entry></data> 2022-06-05 22:52:14 | target: http://localhost:8088 2022-06-05 22:52:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-05 22:52:14 | entity: <data><node>node_hdtn900204</node><entry><content>content_9cs00x0207</content></entry></data> 2022-06-05 22:52:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:52:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 22:52:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ef8cdd58-bfae-474d-91b2-f1dc55adcd53</value></item-id></result> 2022-06-05 22:52:14 | contains: true 2022-06-05 22:52:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-05 22:52:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-05 22:52:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-05 22:52:20 | [Mutex] waiting for: [user_regularfloa5q0203@test-domain.com:message:received:content_9cs00x0207] 2022-06-05 22:52:20 | [Mutex] waiting for: [user_regularfloa5q0203@test-domain.com:message:received:content_9cs00x0207] 2022-06-05 22:52:20 | [Mutex] received everything. 2022-06-05 22:52:20 | [Mutex] isItemNotified: user_regularfloa5q0203@test-domain.com:message:received:content_9cs00x0207 :: true 2022-06-05 22:52:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-05 22:52:20 | [Mutex] received everything. 2022-06-05 22:52:20 | [Mutex] isItemNotified: node_hdtn900204:subscribe_node:success :: true 2022-06-05 22:52:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 22:52:20 | command: <data><node>node_hdtn900204</node><expire-at>2022-06-06T05:52:25Z</expire-at><entry><content>content_eoefg90208</content></entry></data> 2022-06-05 22:52:20 | target: http://localhost:8088 2022-06-05 22:52:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-05 22:52:20 | entity: <data><node>node_hdtn900204</node><expire-at>2022-06-06T05:52:25Z</expire-at><entry><content>content_eoefg90208</content></entry></data> 2022-06-05 22:52:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 05:52:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 22:52:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1a4165ac-481c-409d-ad97-c670919dca08</value></item-id></result> 2022-06-05 22:52:20 | contains: true 2022-06-05 22:52:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-05 22:52:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-05 22:52:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-05 22:52:28 | [Mutex] waiting for: [user_regularfloa5q0203@test-domain.com:message:received:content_eoefg90208] 2022-06-05 22:52:43 | [Mutex] timeout. Not received [user_regularfloa5q0203@test-domain.com:message:received:content_eoefg90208] 2022-06-05 22:52:43 | [Mutex] received everything. 2022-06-05 22:52:43 | [Mutex] isItemNotified: user_regularfloa5q0203@test-domain.com:message:received:content_eoefg90208 :: false 2022-06-05 22:52:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_eoefg90208 :: true |