Test duration : 44.627s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.552s |
2023-03-05 21:59:21 |
2023-03-05 21:59:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-05 21:59:21 | ------------------------------------ 2023-03-05 21:59:21 | [Mutex] isItemNotified: node_hyvbsu0204:exists :: false 2023-03-05 21:59:21 | [Mutex] waiting for: [node_hyvbsu0204:create_node] 2023-03-05 21:59:21 | [Mutex] received everything. 2023-03-05 21:59:21 | [Mutex] isItemNotified: node_hyvbsu0204:create_node:success :: true 2023-03-05 21:59:21 | [Mutex] waiting for: [node_hyvbsu0204:subscribe_node] 2023-03-05 21:59:21 | [Mutex] received everything. 2023-03-05 21:59:21 | [Mutex] isItemNotified: node_hyvbsu0204:subscribe_node:success :: true 2023-03-05 21:59:21 | ===== publishing normal message (to online) 2023-03-05 21:59:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-05 21:59:21 | command: <data><node>node_hyvbsu0204</node><entry><content>content_ny52j20205</content></entry></data> 2023-03-05 21:59:21 | target: http://localhost:8088 2023-03-05 21:59:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-05 21:59:21 | entity: <data><node>node_hyvbsu0204</node><entry><content>content_ny52j20205</content></entry></data> 2023-03-05 21:59:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:59:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-05 21:59:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>94086f8e-a60c-4033-b3a6-2ef3612095e3</value></item-id></result> 2023-03-05 21:59:21 | contains: true 2023-03-05 21:59:21 | [Mutex] waiting for: [user_regulardy8zdn0203@test-domain.com:message:received:content_ny52j20205] 2023-03-05 21:59:21 | [Mutex] received everything. 2023-03-05 21:59:21 | [Mutex] isItemNotified: user_regulardy8zdn0203@test-domain.com:message:received:content_ny52j20205 :: true 2023-03-05 21:59:21 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-05 21:59:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-05 21:59:21 | command: <data><node>node_hyvbsu0204</node><expire-at>2023-03-06T05:59:16Z</expire-at><entry><content>content_f4s3qh0206</content></entry></data> 2023-03-05 21:59:21 | target: http://localhost:8088 2023-03-05 21:59:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-05 21:59:21 | entity: <data><node>node_hyvbsu0204</node><expire-at>2023-03-06T05:59:16Z</expire-at><entry><content>content_f4s3qh0206</content></entry></data> 2023-03-05 21:59:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:59:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-05 21:59:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9fc29a7f-1f12-4ffa-b546-0f38b7be868a</value></item-id></result> 2023-03-05 21:59:21 | contains: true 2023-03-05 21:59:21 | [Mutex] waiting for: [user_regulardy8zdn0203@test-domain.com:message:received:content_f4s3qh0206] 2023-03-05 21:59:36 | [Mutex] timeout. Not received [user_regulardy8zdn0203@test-domain.com:message:received:content_f4s3qh0206] 2023-03-05 21:59:36 | [Mutex] isItemNotified: user_regulardy8zdn0203@test-domain.com:message:received:content_f4s3qh0206 :: false 2023-03-05 21:59:36 | ===== publishing normal message (to offline) 2023-03-05 21:59:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-05 21:59:36 | command: <data><node>node_hyvbsu0204</node><entry><content>content_3i9kgn0207</content></entry></data> 2023-03-05 21:59:36 | target: http://localhost:8088 2023-03-05 21:59:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-05 21:59:36 | entity: <data><node>node_hyvbsu0204</node><entry><content>content_3i9kgn0207</content></entry></data> 2023-03-05 21:59:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:59:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-05 21:59:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>88626105-ae5d-4fe0-8747-e0bf37569132</value></item-id></result> 2023-03-05 21:59:36 | contains: true 2023-03-05 21:59:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-05 21:59:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-03-05 21:59:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-05 21:59:41 | [Mutex] waiting for: [user_regulardy8zdn0203@test-domain.com:message:received:content_3i9kgn0207] 2023-03-05 21:59:41 | [Mutex] received everything. 2023-03-05 21:59:41 | [Mutex] isItemNotified: user_regulardy8zdn0203@test-domain.com:message:received:content_3i9kgn0207 :: true 2023-03-05 21:59:41 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-05 21:59:41 | [Mutex] received everything. 2023-03-05 21:59:41 | [Mutex] isItemNotified: node_hyvbsu0204:subscribe_node:success :: true 2023-03-05 21:59:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-05 21:59:41 | command: <data><node>node_hyvbsu0204</node><expire-at>2023-03-06T05:59:46Z</expire-at><entry><content>content_b6ncqv0208</content></entry></data> 2023-03-05 21:59:41 | target: http://localhost:8088 2023-03-05 21:59:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-05 21:59:41 | entity: <data><node>node_hyvbsu0204</node><expire-at>2023-03-06T05:59:46Z</expire-at><entry><content>content_b6ncqv0208</content></entry></data> 2023-03-05 21:59:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:59:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-05 21:59:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>35c3af0f-a933-4935-a2e5-96a2a4fd32dd</value></item-id></result> 2023-03-05 21:59:41 | contains: true 2023-03-05 21:59:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-05 21:59:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-03-05 21:59:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-05 21:59:49 | [Mutex] waiting for: [user_regulardy8zdn0203@test-domain.com:message:received:content_b6ncqv0208] 2023-03-05 22:00:04 | [Mutex] timeout. Not received [user_regulardy8zdn0203@test-domain.com:message:received:content_b6ncqv0208] 2023-03-05 22:00:04 | [Mutex] received everything. 2023-03-05 22:00:04 | [Mutex] isItemNotified: user_regulardy8zdn0203@test-domain.com:message:received:content_b6ncqv0208 :: false 2023-03-05 22:00:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_b6ncqv0208 :: true |