Test duration : 44.862s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.712s |
2023-10-28 00:00:28 |
2023-10-28 00:00:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-10-28 00:00:28 | ------------------------------------ 2023-10-28 00:00:28 | [Mutex] isItemNotified: node_d7tqzd0208:exists :: false 2023-10-28 00:00:28 | [Mutex] waiting for: [node_d7tqzd0208:create_node] 2023-10-28 00:00:28 | [Mutex] received everything. 2023-10-28 00:00:28 | [Mutex] isItemNotified: node_d7tqzd0208:create_node:success :: true 2023-10-28 00:00:28 | [Mutex] waiting for: [node_d7tqzd0208:subscribe_node] 2023-10-28 00:00:28 | [Mutex] waiting for: [node_d7tqzd0208:subscribe_node] 2023-10-28 00:00:28 | [Mutex] received everything. 2023-10-28 00:00:28 | [Mutex] isItemNotified: node_d7tqzd0208:subscribe_node:success :: true 2023-10-28 00:00:28 | ===== publishing normal message (to online) 2023-10-28 00:00:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-28 00:00:28 | command: <data><node>node_d7tqzd0208</node><entry><content>content_ntfkme0209</content></entry></data> 2023-10-28 00:00:28 | target: http://localhost:8088 2023-10-28 00:00:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-28 00:00:28 | entity: <data><node>node_d7tqzd0208</node><entry><content>content_ntfkme0209</content></entry></data> 2023-10-28 00:00:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 07:00:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-28 00:00:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>41be3dae-8279-42da-82c8-e3acdac53715</value></item-id></result> 2023-10-28 00:00:28 | contains: true 2023-10-28 00:00:28 | [Mutex] waiting for: [user_regulardda34b0207@test-domain.com:message:received:content_ntfkme0209] 2023-10-28 00:00:28 | [Mutex] received everything. 2023-10-28 00:00:28 | [Mutex] isItemNotified: user_regulardda34b0207@test-domain.com:message:received:content_ntfkme0209 :: true 2023-10-28 00:00:28 | ===== publishing already old message - expecting message being filtered out (to online) 2023-10-28 00:00:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-28 00:00:28 | command: <data><node>node_d7tqzd0208</node><expire-at>2023-10-28T07:00:23Z</expire-at><entry><content>content_v6vbp60210</content></entry></data> 2023-10-28 00:00:28 | target: http://localhost:8088 2023-10-28 00:00:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-28 00:00:28 | entity: <data><node>node_d7tqzd0208</node><expire-at>2023-10-28T07:00:23Z</expire-at><entry><content>content_v6vbp60210</content></entry></data> 2023-10-28 00:00:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 07:00:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-28 00:00:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1494e314-f4f8-41d1-a3df-1dc28796fb6d</value></item-id></result> 2023-10-28 00:00:28 | contains: true 2023-10-28 00:00:28 | [Mutex] waiting for: [user_regulardda34b0207@test-domain.com:message:received:content_v6vbp60210] 2023-10-28 00:00:43 | [Mutex] timeout. Not received [user_regulardda34b0207@test-domain.com:message:received:content_v6vbp60210] 2023-10-28 00:00:43 | [Mutex] isItemNotified: user_regulardda34b0207@test-domain.com:message:received:content_v6vbp60210 :: false 2023-10-28 00:00:43 | ===== publishing normal message (to offline) 2023-10-28 00:00:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-28 00:00:43 | command: <data><node>node_d7tqzd0208</node><entry><content>content_xasn460211</content></entry></data> 2023-10-28 00:00:43 | target: http://localhost:8088 2023-10-28 00:00:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-28 00:00:43 | entity: <data><node>node_d7tqzd0208</node><entry><content>content_xasn460211</content></entry></data> 2023-10-28 00:00:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 07:00:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-28 00:00:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>36b94fa5-db75-4eeb-b7fe-b84acdea2796</value></item-id></result> 2023-10-28 00:00:43 | contains: true 2023-10-28 00:00:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-28 00:00:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-10-28 00:00:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-28 00:00:48 | [Mutex] waiting for: [user_regulardda34b0207@test-domain.com:message:received:content_xasn460211] 2023-10-28 00:00:48 | [Mutex] waiting for: [user_regulardda34b0207@test-domain.com:message:received:content_xasn460211] 2023-10-28 00:00:48 | [Mutex] received everything. 2023-10-28 00:00:48 | [Mutex] isItemNotified: user_regulardda34b0207@test-domain.com:message:received:content_xasn460211 :: true 2023-10-28 00:00:48 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-10-28 00:00:48 | [Mutex] received everything. 2023-10-28 00:00:48 | [Mutex] isItemNotified: node_d7tqzd0208:subscribe_node:success :: true 2023-10-28 00:00:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-28 00:00:48 | command: <data><node>node_d7tqzd0208</node><expire-at>2023-10-28T07:00:53Z</expire-at><entry><content>content_gdg0em0212</content></entry></data> 2023-10-28 00:00:48 | target: http://localhost:8088 2023-10-28 00:00:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-28 00:00:48 | entity: <data><node>node_d7tqzd0208</node><expire-at>2023-10-28T07:00:53Z</expire-at><entry><content>content_gdg0em0212</content></entry></data> 2023-10-28 00:00:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 28 Oct 2023 07:00:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-28 00:00:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>03eaf396-1d11-4072-b6ee-429e00b92d03</value></item-id></result> 2023-10-28 00:00:48 | contains: true 2023-10-28 00:00:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-28 00:00:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-10-28 00:00:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-28 00:00:57 | [Mutex] waiting for: [user_regulardda34b0207@test-domain.com:message:received:content_gdg0em0212] 2023-10-28 00:01:12 | [Mutex] timeout. Not received [user_regulardda34b0207@test-domain.com:message:received:content_gdg0em0212] 2023-10-28 00:01:12 | [Mutex] received everything. 2023-10-28 00:01:12 | [Mutex] isItemNotified: user_regulardda34b0207@test-domain.com:message:received:content_gdg0em0212 :: false 2023-10-28 00:01:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gdg0em0212 :: true |