Test duration : 44.743s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.626s |
2023-10-27 23:30:20 |
2023-10-27 23:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-10-27 23:30:20 | ------------------------------------ 2023-10-27 23:30:20 | [Mutex] isItemNotified: node_di49vs0208:exists :: false 2023-10-27 23:30:20 | [Mutex] waiting for: [node_di49vs0208:create_node] 2023-10-27 23:30:20 | [Mutex] received everything. 2023-10-27 23:30:20 | [Mutex] isItemNotified: node_di49vs0208:create_node:success :: true 2023-10-27 23:30:20 | [Mutex] waiting for: [node_di49vs0208:subscribe_node] 2023-10-27 23:30:20 | [Mutex] waiting for: [node_di49vs0208:subscribe_node] 2023-10-27 23:30:20 | [Mutex] received everything. 2023-10-27 23:30:20 | [Mutex] isItemNotified: node_di49vs0208:subscribe_node:success :: true 2023-10-27 23:30:20 | ===== publishing normal message (to online) 2023-10-27 23:30:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-27 23:30:20 | command: <data><node>node_di49vs0208</node><entry><content>content_wmpzzv0209</content></entry></data> 2023-10-27 23:30:20 | target: http://localhost:8088 2023-10-27 23:30:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-27 23:30:20 | entity: <data><node>node_di49vs0208</node><entry><content>content_wmpzzv0209</content></entry></data> 2023-10-27 23:30:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 06:30:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-27 23:30:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>919f38cf-12cb-4220-a46a-0453f173e85b</value></item-id></result> 2023-10-27 23:30:20 | contains: true 2023-10-27 23:30:20 | [Mutex] received everything. 2023-10-27 23:30:20 | [Mutex] isItemNotified: user_regularkkgibu0207@test-domain.com:message:received:content_wmpzzv0209 :: true 2023-10-27 23:30:20 | ===== publishing already old message - expecting message being filtered out (to online) 2023-10-27 23:30:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-27 23:30:20 | command: <data><node>node_di49vs0208</node><expire-at>2023-10-28T06:30:15Z</expire-at><entry><content>content_37v7dx0210</content></entry></data> 2023-10-27 23:30:20 | target: http://localhost:8088 2023-10-27 23:30:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-27 23:30:20 | entity: <data><node>node_di49vs0208</node><expire-at>2023-10-28T06:30:15Z</expire-at><entry><content>content_37v7dx0210</content></entry></data> 2023-10-27 23:30:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 06:30:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-27 23:30:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2b912742-f9a2-44c3-a556-6b5c5f4fc7b6</value></item-id></result> 2023-10-27 23:30:20 | contains: true 2023-10-27 23:30:20 | [Mutex] waiting for: [user_regularkkgibu0207@test-domain.com:message:received:content_37v7dx0210] 2023-10-27 23:30:35 | [Mutex] timeout. Not received [user_regularkkgibu0207@test-domain.com:message:received:content_37v7dx0210] 2023-10-27 23:30:35 | [Mutex] isItemNotified: user_regularkkgibu0207@test-domain.com:message:received:content_37v7dx0210 :: false 2023-10-27 23:30:35 | ===== publishing normal message (to offline) 2023-10-27 23:30:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-27 23:30:35 | command: <data><node>node_di49vs0208</node><entry><content>content_95729j0211</content></entry></data> 2023-10-27 23:30:35 | target: http://localhost:8088 2023-10-27 23:30:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-27 23:30:35 | entity: <data><node>node_di49vs0208</node><entry><content>content_95729j0211</content></entry></data> 2023-10-27 23:30:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 06:30:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-27 23:30:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e0c9fe48-bdfe-4aee-abff-0ac02cedc64b</value></item-id></result> 2023-10-27 23:30:35 | contains: true 2023-10-27 23:30:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-27 23:30:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-10-27 23:30:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-27 23:30:40 | [Mutex] waiting for: [user_regularkkgibu0207@test-domain.com:message:received:content_95729j0211] 2023-10-27 23:30:40 | [Mutex] received everything. 2023-10-27 23:30:40 | [Mutex] isItemNotified: user_regularkkgibu0207@test-domain.com:message:received:content_95729j0211 :: true 2023-10-27 23:30:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-10-27 23:30:40 | [Mutex] received everything. 2023-10-27 23:30:40 | [Mutex] isItemNotified: node_di49vs0208:subscribe_node:success :: true 2023-10-27 23:30:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-27 23:30:40 | command: <data><node>node_di49vs0208</node><expire-at>2023-10-28T06:30:45Z</expire-at><entry><content>content_o3ko6y0212</content></entry></data> 2023-10-27 23:30:40 | target: http://localhost:8088 2023-10-27 23:30:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-27 23:30:40 | entity: <data><node>node_di49vs0208</node><expire-at>2023-10-28T06:30:45Z</expire-at><entry><content>content_o3ko6y0212</content></entry></data> 2023-10-27 23:30:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 06:30:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-27 23:30:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>da2141fb-4bec-4367-83f3-f8b45cbdda9a</value></item-id></result> 2023-10-27 23:30:40 | contains: true 2023-10-27 23:30:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-27 23:30:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-10-27 23:30:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-27 23:30:48 | [Mutex] waiting for: [user_regularkkgibu0207@test-domain.com:message:received:content_o3ko6y0212] 2023-10-27 23:30:48 | [Mutex] waiting for: [user_regularkkgibu0207@test-domain.com:message:received:content_o3ko6y0212] 2023-10-27 23:30:48 | [Mutex] waiting for: [user_regularkkgibu0207@test-domain.com:message:received:content_o3ko6y0212] 2023-10-27 23:31:03 | [Mutex] timeout. Not received [user_regularkkgibu0207@test-domain.com:message:received:content_o3ko6y0212] 2023-10-27 23:31:03 | [Mutex] received everything. 2023-10-27 23:31:03 | [Mutex] isItemNotified: user_regularkkgibu0207@test-domain.com:message:received:content_o3ko6y0212 :: false 2023-10-27 23:31:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o3ko6y0212 :: true |