Test duration : 44.688s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.562s |
2022-08-29 22:33:33 |
2022-08-29 22:33:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-29 22:33:33 | ------------------------------------ 2022-08-29 22:33:33 | [Mutex] isItemNotified: node_bw9j430204:exists :: false 2022-08-29 22:33:33 | [Mutex] waiting for: [node_bw9j430204:create_node] 2022-08-29 22:33:33 | [Mutex] received everything. 2022-08-29 22:33:33 | [Mutex] isItemNotified: node_bw9j430204:create_node:success :: true 2022-08-29 22:33:33 | [Mutex] waiting for: [node_bw9j430204:subscribe_node] 2022-08-29 22:33:33 | [Mutex] received everything. 2022-08-29 22:33:33 | [Mutex] isItemNotified: node_bw9j430204:subscribe_node:success :: true 2022-08-29 22:33:33 | ===== publishing normal message (to online) 2022-08-29 22:33:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-29 22:33:33 | command: <data><node>node_bw9j430204</node><entry><content>content_q6rcec0205</content></entry></data> 2022-08-29 22:33:33 | target: http://localhost:8088 2022-08-29 22:33:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-29 22:33:33 | entity: <data><node>node_bw9j430204</node><entry><content>content_q6rcec0205</content></entry></data> 2022-08-29 22:33:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 05:33:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-29 22:33:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0587634c-ae74-4608-b0da-0ace60d999a7</value></item-id></result> 2022-08-29 22:33:33 | contains: true 2022-08-29 22:33:33 | [Mutex] received everything. 2022-08-29 22:33:33 | [Mutex] isItemNotified: user_regularz11r60203@test-domain.com:message:received:content_q6rcec0205 :: true 2022-08-29 22:33:33 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-29 22:33:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-29 22:33:33 | command: <data><node>node_bw9j430204</node><expire-at>2022-08-30T05:33:28Z</expire-at><entry><content>content_954mb70206</content></entry></data> 2022-08-29 22:33:33 | target: http://localhost:8088 2022-08-29 22:33:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-29 22:33:33 | entity: <data><node>node_bw9j430204</node><expire-at>2022-08-30T05:33:28Z</expire-at><entry><content>content_954mb70206</content></entry></data> 2022-08-29 22:33:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 05:33:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-29 22:33:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f245beb2-1437-4a3b-a457-06bf8422eecf</value></item-id></result> 2022-08-29 22:33:34 | contains: true 2022-08-29 22:33:34 | [Mutex] waiting for: [user_regularz11r60203@test-domain.com:message:received:content_954mb70206] 2022-08-29 22:33:49 | [Mutex] timeout. Not received [user_regularz11r60203@test-domain.com:message:received:content_954mb70206] 2022-08-29 22:33:49 | [Mutex] isItemNotified: user_regularz11r60203@test-domain.com:message:received:content_954mb70206 :: false 2022-08-29 22:33:49 | ===== publishing normal message (to offline) 2022-08-29 22:33:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-29 22:33:49 | command: <data><node>node_bw9j430204</node><entry><content>content_9moiij0207</content></entry></data> 2022-08-29 22:33:49 | target: http://localhost:8088 2022-08-29 22:33:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-29 22:33:49 | entity: <data><node>node_bw9j430204</node><entry><content>content_9moiij0207</content></entry></data> 2022-08-29 22:33:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 05:33:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-29 22:33:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0323a711-0ba4-47c0-8f65-64b86f213b3b</value></item-id></result> 2022-08-29 22:33:49 | contains: true 2022-08-29 22:33:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-29 22:33:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-29 22:33:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-29 22:33:54 | [Mutex] waiting for: [user_regularz11r60203@test-domain.com:message:received:content_9moiij0207] 2022-08-29 22:33:54 | [Mutex] received everything. 2022-08-29 22:33:54 | [Mutex] isItemNotified: user_regularz11r60203@test-domain.com:message:received:content_9moiij0207 :: true 2022-08-29 22:33:54 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-29 22:33:54 | [Mutex] received everything. 2022-08-29 22:33:54 | [Mutex] isItemNotified: node_bw9j430204:subscribe_node:success :: true 2022-08-29 22:33:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-29 22:33:54 | command: <data><node>node_bw9j430204</node><expire-at>2022-08-30T05:33:59Z</expire-at><entry><content>content_g0gy7h0208</content></entry></data> 2022-08-29 22:33:54 | target: http://localhost:8088 2022-08-29 22:33:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-29 22:33:54 | entity: <data><node>node_bw9j430204</node><expire-at>2022-08-30T05:33:59Z</expire-at><entry><content>content_g0gy7h0208</content></entry></data> 2022-08-29 22:33:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Aug 2022 05:33:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-29 22:33:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f91d969-e492-4e25-b9d1-80d5ebf65de6</value></item-id></result> 2022-08-29 22:33:54 | contains: true 2022-08-29 22:34:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-29 22:34:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-29 22:34:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-29 22:34:02 | [Mutex] waiting for: [user_regularz11r60203@test-domain.com:message:received:content_g0gy7h0208] 2022-08-29 22:34:02 | [Mutex] waiting for: [user_regularz11r60203@test-domain.com:message:received:content_g0gy7h0208] 2022-08-29 22:34:17 | [Mutex] timeout. Not received [user_regularz11r60203@test-domain.com:message:received:content_g0gy7h0208] 2022-08-29 22:34:17 | [Mutex] received everything. 2022-08-29 22:34:17 | [Mutex] isItemNotified: user_regularz11r60203@test-domain.com:message:received:content_g0gy7h0208 :: false 2022-08-29 22:34:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_g0gy7h0208 :: true |