Test duration : 44.845s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.601s |
2022-07-07 23:05:00 |
2022-07-07 23:05:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-07 23:05:00 | ------------------------------------ 2022-07-07 23:05:00 | [Mutex] isItemNotified: node_ggt4710204:exists :: false 2022-07-07 23:05:00 | [Mutex] waiting for: [node_ggt4710204:create_node] 2022-07-07 23:05:00 | [Mutex] received everything. 2022-07-07 23:05:00 | [Mutex] isItemNotified: node_ggt4710204:create_node:success :: true 2022-07-07 23:05:00 | [Mutex] waiting for: [node_ggt4710204:subscribe_node] 2022-07-07 23:05:00 | [Mutex] received everything. 2022-07-07 23:05:00 | [Mutex] isItemNotified: node_ggt4710204:subscribe_node:success :: true 2022-07-07 23:05:00 | ===== publishing normal message (to online) 2022-07-07 23:05:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 23:05:00 | command: <data><node>node_ggt4710204</node><entry><content>content_8pl6ed0205</content></entry></data> 2022-07-07 23:05:00 | target: http://localhost:8088 2022-07-07 23:05:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-07 23:05:00 | entity: <data><node>node_ggt4710204</node><entry><content>content_8pl6ed0205</content></entry></data> 2022-07-07 23:05:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:05:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 23:05:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d0c7333a-e39b-4205-b16a-788c16a41f99</value></item-id></result> 2022-07-07 23:05:00 | contains: true 2022-07-07 23:05:00 | [Mutex] waiting for: [user_regulari8tu9e0203@test-domain.com:message:received:content_8pl6ed0205] 2022-07-07 23:05:00 | [Mutex] received everything. 2022-07-07 23:05:00 | [Mutex] isItemNotified: user_regulari8tu9e0203@test-domain.com:message:received:content_8pl6ed0205 :: true 2022-07-07 23:05:00 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-07 23:05:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 23:05:00 | command: <data><node>node_ggt4710204</node><expire-at>2022-07-08T06:04:55Z</expire-at><entry><content>content_7hf7z10206</content></entry></data> 2022-07-07 23:05:00 | target: http://localhost:8088 2022-07-07 23:05:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-07 23:05:00 | entity: <data><node>node_ggt4710204</node><expire-at>2022-07-08T06:04:55Z</expire-at><entry><content>content_7hf7z10206</content></entry></data> 2022-07-07 23:05:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:05:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 23:05:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>33cc25de-0cdf-443f-9a52-1edc52478387</value></item-id></result> 2022-07-07 23:05:00 | contains: true 2022-07-07 23:05:00 | [Mutex] waiting for: [user_regulari8tu9e0203@test-domain.com:message:received:content_7hf7z10206] 2022-07-07 23:05:15 | [Mutex] timeout. Not received [user_regulari8tu9e0203@test-domain.com:message:received:content_7hf7z10206] 2022-07-07 23:05:15 | [Mutex] isItemNotified: user_regulari8tu9e0203@test-domain.com:message:received:content_7hf7z10206 :: false 2022-07-07 23:05:15 | ===== publishing normal message (to offline) 2022-07-07 23:05:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 23:05:15 | command: <data><node>node_ggt4710204</node><entry><content>content_3rj8o20207</content></entry></data> 2022-07-07 23:05:15 | target: http://localhost:8088 2022-07-07 23:05:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-07 23:05:15 | entity: <data><node>node_ggt4710204</node><entry><content>content_3rj8o20207</content></entry></data> 2022-07-07 23:05:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:05:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 23:05:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>75d55a8f-5b79-4378-a97a-5f6088fa14b7</value></item-id></result> 2022-07-07 23:05:15 | contains: true 2022-07-07 23:05:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-07 23:05:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-07 23:05:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-07 23:05:21 | [Mutex] waiting for: [user_regulari8tu9e0203@test-domain.com:message:received:content_3rj8o20207] 2022-07-07 23:05:21 | [Mutex] received everything. 2022-07-07 23:05:21 | [Mutex] isItemNotified: user_regulari8tu9e0203@test-domain.com:message:received:content_3rj8o20207 :: true 2022-07-07 23:05:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-07 23:05:21 | [Mutex] received everything. 2022-07-07 23:05:21 | [Mutex] isItemNotified: node_ggt4710204:subscribe_node:success :: true 2022-07-07 23:05:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 23:05:21 | command: <data><node>node_ggt4710204</node><expire-at>2022-07-08T06:05:26Z</expire-at><entry><content>content_ggefi0208</content></entry></data> 2022-07-07 23:05:21 | target: http://localhost:8088 2022-07-07 23:05:21 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-07-07 23:05:21 | entity: <data><node>node_ggt4710204</node><expire-at>2022-07-08T06:05:26Z</expire-at><entry><content>content_ggefi0208</content></entry></data> 2022-07-07 23:05:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:05:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 23:05:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>633d8c34-f980-45dd-81cd-a9d0786657ab</value></item-id></result> 2022-07-07 23:05:21 | contains: true 2022-07-07 23:05:29 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-07 23:05:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-07 23:05:29 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-07 23:05:29 | [Mutex] waiting for: [user_regulari8tu9e0203@test-domain.com:message:received:content_ggefi0208] 2022-07-07 23:05:44 | [Mutex] timeout. Not received [user_regulari8tu9e0203@test-domain.com:message:received:content_ggefi0208] 2022-07-07 23:05:44 | [Mutex] received everything. 2022-07-07 23:05:44 | [Mutex] isItemNotified: user_regulari8tu9e0203@test-domain.com:message:received:content_ggefi0208 :: false 2022-07-07 23:05:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ggefi0208 :: true |