Test duration : 44.653s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.592s |
2023-03-15 22:29:55 |
2023-03-15 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-15 22:29:55 | ------------------------------------ 2023-03-15 22:29:55 | [Mutex] isItemNotified: node_d2yi1o0208:exists :: false 2023-03-15 22:29:55 | [Mutex] waiting for: [node_d2yi1o0208:create_node] 2023-03-15 22:29:55 | [Mutex] received everything. 2023-03-15 22:29:55 | [Mutex] isItemNotified: node_d2yi1o0208:create_node:success :: true 2023-03-15 22:29:55 | [Mutex] waiting for: [node_d2yi1o0208:subscribe_node] 2023-03-15 22:29:55 | [Mutex] waiting for: [node_d2yi1o0208:subscribe_node] 2023-03-15 22:29:55 | [Mutex] received everything. 2023-03-15 22:29:55 | [Mutex] isItemNotified: node_d2yi1o0208:subscribe_node:success :: true 2023-03-15 22:29:55 | ===== publishing normal message (to online) 2023-03-15 22:29:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 22:29:55 | command: <data><node>node_d2yi1o0208</node><entry><content>content_sfej4k0209</content></entry></data> 2023-03-15 22:29:55 | target: http://localhost:8088 2023-03-15 22:29:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-15 22:29:55 | entity: <data><node>node_d2yi1o0208</node><entry><content>content_sfej4k0209</content></entry></data> 2023-03-15 22:29:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:29:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 22:29:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9d295da9-8877-4b84-9f64-d5e36b89a32f</value></item-id></result> 2023-03-15 22:29:55 | contains: true 2023-03-15 22:29:55 | [Mutex] waiting for: [user_regularkz7dsj0207@test-domain.com:message:received:content_sfej4k0209] 2023-03-15 22:29:55 | [Mutex] received everything. 2023-03-15 22:29:55 | [Mutex] isItemNotified: user_regularkz7dsj0207@test-domain.com:message:received:content_sfej4k0209 :: true 2023-03-15 22:29:55 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-15 22:29:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 22:29:55 | command: <data><node>node_d2yi1o0208</node><expire-at>2023-03-16T05:29:50Z</expire-at><entry><content>content_x64y8u0210</content></entry></data> 2023-03-15 22:29:55 | target: http://localhost:8088 2023-03-15 22:29:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-15 22:29:55 | entity: <data><node>node_d2yi1o0208</node><expire-at>2023-03-16T05:29:50Z</expire-at><entry><content>content_x64y8u0210</content></entry></data> 2023-03-15 22:29:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:29:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 22:29:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3c33c020-df95-4caf-a6e1-1c29b7a773dc</value></item-id></result> 2023-03-15 22:29:55 | contains: true 2023-03-15 22:29:55 | [Mutex] waiting for: [user_regularkz7dsj0207@test-domain.com:message:received:content_x64y8u0210] 2023-03-15 22:30:10 | [Mutex] timeout. Not received [user_regularkz7dsj0207@test-domain.com:message:received:content_x64y8u0210] 2023-03-15 22:30:10 | [Mutex] isItemNotified: user_regularkz7dsj0207@test-domain.com:message:received:content_x64y8u0210 :: false 2023-03-15 22:30:10 | ===== publishing normal message (to offline) 2023-03-15 22:30:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 22:30:10 | command: <data><node>node_d2yi1o0208</node><entry><content>content_b0pm0h0211</content></entry></data> 2023-03-15 22:30:10 | target: http://localhost:8088 2023-03-15 22:30:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-15 22:30:10 | entity: <data><node>node_d2yi1o0208</node><entry><content>content_b0pm0h0211</content></entry></data> 2023-03-15 22:30:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:30:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 22:30:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>11306012-79e4-45b2-ad78-91130c97c8be</value></item-id></result> 2023-03-15 22:30:10 | contains: true 2023-03-15 22:30:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-15 22:30:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-15 22:30:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-15 22:30:15 | [Mutex] waiting for: [user_regularkz7dsj0207@test-domain.com:message:received:content_b0pm0h0211] 2023-03-15 22:30:15 | [Mutex] waiting for: [user_regularkz7dsj0207@test-domain.com:message:received:content_b0pm0h0211] 2023-03-15 22:30:15 | [Mutex] received everything. 2023-03-15 22:30:15 | [Mutex] isItemNotified: user_regularkz7dsj0207@test-domain.com:message:received:content_b0pm0h0211 :: true 2023-03-15 22:30:15 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-15 22:30:15 | [Mutex] received everything. 2023-03-15 22:30:15 | [Mutex] isItemNotified: node_d2yi1o0208:subscribe_node:success :: true 2023-03-15 22:30:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 22:30:15 | command: <data><node>node_d2yi1o0208</node><expire-at>2023-03-16T05:30:20Z</expire-at><entry><content>content_x9i6u0212</content></entry></data> 2023-03-15 22:30:15 | target: http://localhost:8088 2023-03-15 22:30:15 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2023-03-15 22:30:15 | entity: <data><node>node_d2yi1o0208</node><expire-at>2023-03-16T05:30:20Z</expire-at><entry><content>content_x9i6u0212</content></entry></data> 2023-03-15 22:30:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:30:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 22:30:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3a1309c0-094d-49fd-9526-9394b775b99e</value></item-id></result> 2023-03-15 22:30:15 | contains: true 2023-03-15 22:30:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-15 22:30:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-15 22:30:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-15 22:30:23 | [Mutex] waiting for: [user_regularkz7dsj0207@test-domain.com:message:received:content_x9i6u0212] 2023-03-15 22:30:38 | [Mutex] timeout. Not received [user_regularkz7dsj0207@test-domain.com:message:received:content_x9i6u0212] 2023-03-15 22:30:38 | [Mutex] received everything. 2023-03-15 22:30:38 | [Mutex] isItemNotified: user_regularkz7dsj0207@test-domain.com:message:received:content_x9i6u0212 :: false 2023-03-15 22:30:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_x9i6u0212 :: true |