Test duration : 44.653s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.577s |
2023-07-05 21:53:41 |
2023-07-05 21:53:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-05 21:53:41 | ------------------------------------ 2023-07-05 21:53:41 | [Mutex] isItemNotified: node_uegup0208:exists :: false 2023-07-05 21:53:41 | [Mutex] waiting for: [node_uegup0208:create_node] 2023-07-05 21:53:41 | [Mutex] received everything. 2023-07-05 21:53:41 | [Mutex] isItemNotified: node_uegup0208:create_node:success :: true 2023-07-05 21:53:41 | [Mutex] waiting for: [node_uegup0208:subscribe_node] 2023-07-05 21:53:41 | [Mutex] waiting for: [node_uegup0208:subscribe_node] 2023-07-05 21:53:41 | [Mutex] received everything. 2023-07-05 21:53:41 | [Mutex] isItemNotified: node_uegup0208:subscribe_node:success :: true 2023-07-05 21:53:41 | ===== publishing normal message (to online) 2023-07-05 21:53:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 21:53:41 | command: <data><node>node_uegup0208</node><entry><content>content_o4ky4c0209</content></entry></data> 2023-07-05 21:53:41 | target: http://localhost:8088 2023-07-05 21:53:41 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2023-07-05 21:53:41 | entity: <data><node>node_uegup0208</node><entry><content>content_o4ky4c0209</content></entry></data> 2023-07-05 21:53:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:53:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 21:53:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>655b76c7-328f-4666-8ccd-158aa3343414</value></item-id></result> 2023-07-05 21:53:41 | contains: true 2023-07-05 21:53:41 | [Mutex] received everything. 2023-07-05 21:53:41 | [Mutex] isItemNotified: user_regularhml4ej0207@test-domain.com:message:received:content_o4ky4c0209 :: true 2023-07-05 21:53:41 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-05 21:53:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 21:53:41 | command: <data><node>node_uegup0208</node><expire-at>2023-07-06T04:53:36Z</expire-at><entry><content>content_8346jp0210</content></entry></data> 2023-07-05 21:53:41 | target: http://localhost:8088 2023-07-05 21:53:41 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2023-07-05 21:53:41 | entity: <data><node>node_uegup0208</node><expire-at>2023-07-06T04:53:36Z</expire-at><entry><content>content_8346jp0210</content></entry></data> 2023-07-05 21:53:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:53:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 21:53:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>767d6dff-ce7b-4ac2-a1eb-9fc40e506172</value></item-id></result> 2023-07-05 21:53:41 | contains: true 2023-07-05 21:53:41 | [Mutex] waiting for: [user_regularhml4ej0207@test-domain.com:message:received:content_8346jp0210] 2023-07-05 21:53:56 | [Mutex] timeout. Not received [user_regularhml4ej0207@test-domain.com:message:received:content_8346jp0210] 2023-07-05 21:53:56 | [Mutex] isItemNotified: user_regularhml4ej0207@test-domain.com:message:received:content_8346jp0210 :: false 2023-07-05 21:53:56 | ===== publishing normal message (to offline) 2023-07-05 21:53:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 21:53:56 | command: <data><node>node_uegup0208</node><entry><content>content_kcff9a0211</content></entry></data> 2023-07-05 21:53:56 | target: http://localhost:8088 2023-07-05 21:53:56 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2023-07-05 21:53:56 | entity: <data><node>node_uegup0208</node><entry><content>content_kcff9a0211</content></entry></data> 2023-07-05 21:53:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:53:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 21:53:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1b3a4121-39b1-4987-925e-1011970ab1d0</value></item-id></result> 2023-07-05 21:53:56 | contains: true 2023-07-05 21:54:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-05 21:54:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-05 21:54:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-05 21:54:02 | [Mutex] waiting for: [user_regularhml4ej0207@test-domain.com:message:received:content_kcff9a0211] 2023-07-05 21:54:02 | [Mutex] waiting for: [user_regularhml4ej0207@test-domain.com:message:received:content_kcff9a0211] 2023-07-05 21:54:02 | [Mutex] received everything. 2023-07-05 21:54:02 | [Mutex] isItemNotified: user_regularhml4ej0207@test-domain.com:message:received:content_kcff9a0211 :: true 2023-07-05 21:54:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-05 21:54:02 | [Mutex] received everything. 2023-07-05 21:54:02 | [Mutex] isItemNotified: node_uegup0208:subscribe_node:success :: true 2023-07-05 21:54:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-05 21:54:02 | command: <data><node>node_uegup0208</node><expire-at>2023-07-06T04:54:07Z</expire-at><entry><content>content_sfrg820212</content></entry></data> 2023-07-05 21:54:02 | target: http://localhost:8088 2023-07-05 21:54:02 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2023-07-05 21:54:02 | entity: <data><node>node_uegup0208</node><expire-at>2023-07-06T04:54:07Z</expire-at><entry><content>content_sfrg820212</content></entry></data> 2023-07-05 21:54:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 Jul 2023 04:54:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-05 21:54:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3a0d0a25-4b56-4ee9-8ec8-ceefd49ca37d</value></item-id></result> 2023-07-05 21:54:02 | contains: true 2023-07-05 21:54:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-05 21:54:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-05 21:54:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-05 21:54:10 | [Mutex] waiting for: [user_regularhml4ej0207@test-domain.com:message:received:content_sfrg820212] 2023-07-05 21:54:10 | [Mutex] waiting for: [user_regularhml4ej0207@test-domain.com:message:received:content_sfrg820212] 2023-07-05 21:54:25 | [Mutex] timeout. Not received [user_regularhml4ej0207@test-domain.com:message:received:content_sfrg820212] 2023-07-05 21:54:25 | [Mutex] received everything. 2023-07-05 21:54:25 | [Mutex] isItemNotified: user_regularhml4ej0207@test-domain.com:message:received:content_sfrg820212 :: false 2023-07-05 21:54:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sfrg820212 :: true |