Test duration : 44.558s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.601s |
2022-12-22 22:00:36 |
2022-12-22 22:00:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-22 22:00:36 | ------------------------------------ 2022-12-22 22:00:36 | [Mutex] isItemNotified: node_yfkka20204:exists :: false 2022-12-22 22:00:36 | [Mutex] waiting for: [node_yfkka20204:create_node] 2022-12-22 22:00:36 | [Mutex] received everything. 2022-12-22 22:00:36 | [Mutex] isItemNotified: node_yfkka20204:create_node:success :: true 2022-12-22 22:00:36 | [Mutex] waiting for: [node_yfkka20204:subscribe_node] 2022-12-22 22:00:36 | [Mutex] waiting for: [node_yfkka20204:subscribe_node] 2022-12-22 22:00:36 | [Mutex] received everything. 2022-12-22 22:00:36 | [Mutex] isItemNotified: node_yfkka20204:subscribe_node:success :: true 2022-12-22 22:00:36 | ===== publishing normal message (to online) 2022-12-22 22:00:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 22:00:36 | command: <data><node>node_yfkka20204</node><entry><content>content_58ojlb0205</content></entry></data> 2022-12-22 22:00:36 | target: http://localhost:8088 2022-12-22 22:00:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-22 22:00:36 | entity: <data><node>node_yfkka20204</node><entry><content>content_58ojlb0205</content></entry></data> 2022-12-22 22:00:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 06:00:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 22:00:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1f8a81f5-8d91-4e35-8615-bef586be6cb9</value></item-id></result> 2022-12-22 22:00:36 | contains: true 2022-12-22 22:00:36 | [Mutex] waiting for: [user_regularkzfa6l0203@test-domain.com:message:received:content_58ojlb0205] 2022-12-22 22:00:36 | [Mutex] received everything. 2022-12-22 22:00:36 | [Mutex] isItemNotified: user_regularkzfa6l0203@test-domain.com:message:received:content_58ojlb0205 :: true 2022-12-22 22:00:36 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-22 22:00:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 22:00:36 | command: <data><node>node_yfkka20204</node><expire-at>2022-12-23T06:00:31Z</expire-at><entry><content>content_7ytral0206</content></entry></data> 2022-12-22 22:00:36 | target: http://localhost:8088 2022-12-22 22:00:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-22 22:00:36 | entity: <data><node>node_yfkka20204</node><expire-at>2022-12-23T06:00:31Z</expire-at><entry><content>content_7ytral0206</content></entry></data> 2022-12-22 22:00:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 06:00:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 22:00:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dfa02a28-3c12-45e4-9788-9234bb896dce</value></item-id></result> 2022-12-22 22:00:36 | contains: true 2022-12-22 22:00:36 | [Mutex] waiting for: [user_regularkzfa6l0203@test-domain.com:message:received:content_7ytral0206] 2022-12-22 22:00:51 | [Mutex] timeout. Not received [user_regularkzfa6l0203@test-domain.com:message:received:content_7ytral0206] 2022-12-22 22:00:51 | [Mutex] isItemNotified: user_regularkzfa6l0203@test-domain.com:message:received:content_7ytral0206 :: false 2022-12-22 22:00:51 | ===== publishing normal message (to offline) 2022-12-22 22:00:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 22:00:51 | command: <data><node>node_yfkka20204</node><entry><content>content_e04nk20207</content></entry></data> 2022-12-22 22:00:51 | target: http://localhost:8088 2022-12-22 22:00:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-22 22:00:51 | entity: <data><node>node_yfkka20204</node><entry><content>content_e04nk20207</content></entry></data> 2022-12-22 22:00:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 06:00:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 22:00:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f490649c-0362-4019-acdf-ae1535d51580</value></item-id></result> 2022-12-22 22:00:51 | contains: true 2022-12-22 22:00:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-22 22:00:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-22 22:00:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-22 22:00:57 | [Mutex] waiting for: [user_regularkzfa6l0203@test-domain.com:message:received:content_e04nk20207] 2022-12-22 22:00:57 | [Mutex] received everything. 2022-12-22 22:00:57 | [Mutex] isItemNotified: user_regularkzfa6l0203@test-domain.com:message:received:content_e04nk20207 :: true 2022-12-22 22:00:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-22 22:00:57 | [Mutex] received everything. 2022-12-22 22:00:57 | [Mutex] isItemNotified: node_yfkka20204:subscribe_node:success :: true 2022-12-22 22:00:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 22:00:57 | command: <data><node>node_yfkka20204</node><expire-at>2022-12-23T06:01:02Z</expire-at><entry><content>content_gizxrd0208</content></entry></data> 2022-12-22 22:00:57 | target: http://localhost:8088 2022-12-22 22:00:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-22 22:00:57 | entity: <data><node>node_yfkka20204</node><expire-at>2022-12-23T06:01:02Z</expire-at><entry><content>content_gizxrd0208</content></entry></data> 2022-12-22 22:00:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 06:00:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 22:00:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>def547dd-a322-4b6a-a5bf-90dd34ea3819</value></item-id></result> 2022-12-22 22:00:57 | contains: true 2022-12-22 22:01:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-22 22:01:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-22 22:01:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-22 22:01:05 | [Mutex] waiting for: [user_regularkzfa6l0203@test-domain.com:message:received:content_gizxrd0208] 2022-12-22 22:01:05 | [Mutex] waiting for: [user_regularkzfa6l0203@test-domain.com:message:received:content_gizxrd0208] 2022-12-22 22:01:20 | [Mutex] timeout. Not received [user_regularkzfa6l0203@test-domain.com:message:received:content_gizxrd0208] 2022-12-22 22:01:20 | [Mutex] received everything. 2022-12-22 22:01:20 | [Mutex] isItemNotified: user_regularkzfa6l0203@test-domain.com:message:received:content_gizxrd0208 :: false 2022-12-22 22:01:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gizxrd0208 :: true |