Test duration : 44.771s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.634s |
2023-07-06 23:00:54 |
2023-07-06 23:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-06 23:00:54 | ------------------------------------ 2023-07-06 23:00:54 | [Mutex] isItemNotified: node_149gwu0208:exists :: false 2023-07-06 23:00:54 | [Mutex] waiting for: [node_149gwu0208:create_node] 2023-07-06 23:00:54 | [Mutex] waiting for: [node_149gwu0208:create_node] 2023-07-06 23:00:54 | [Mutex] received everything. 2023-07-06 23:00:54 | [Mutex] isItemNotified: node_149gwu0208:create_node:success :: true 2023-07-06 23:00:54 | [Mutex] waiting for: [node_149gwu0208:subscribe_node] 2023-07-06 23:00:54 | [Mutex] waiting for: [node_149gwu0208:subscribe_node] 2023-07-06 23:00:54 | [Mutex] received everything. 2023-07-06 23:00:54 | [Mutex] isItemNotified: node_149gwu0208:subscribe_node:success :: true 2023-07-06 23:00:54 | ===== publishing normal message (to online) 2023-07-06 23:00:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 23:00:54 | command: <data><node>node_149gwu0208</node><entry><content>content_bgl55k0209</content></entry></data> 2023-07-06 23:00:54 | target: http://localhost:8088 2023-07-06 23:00:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-06 23:00:54 | entity: <data><node>node_149gwu0208</node><entry><content>content_bgl55k0209</content></entry></data> 2023-07-06 23:00:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 06:00:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 23:00:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e3accd27-1eea-4b8b-9daf-2ba14b5732e6</value></item-id></result> 2023-07-06 23:00:54 | contains: true 2023-07-06 23:00:54 | [Mutex] waiting for: [user_regular2ra8e80207@test-domain.com:message:received:content_bgl55k0209] 2023-07-06 23:00:54 | [Mutex] received everything. 2023-07-06 23:00:54 | [Mutex] isItemNotified: user_regular2ra8e80207@test-domain.com:message:received:content_bgl55k0209 :: true 2023-07-06 23:00:54 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-06 23:00:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 23:00:54 | command: <data><node>node_149gwu0208</node><expire-at>2023-07-07T06:00:49Z</expire-at><entry><content>content_sah59u0210</content></entry></data> 2023-07-06 23:00:54 | target: http://localhost:8088 2023-07-06 23:00:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-06 23:00:54 | entity: <data><node>node_149gwu0208</node><expire-at>2023-07-07T06:00:49Z</expire-at><entry><content>content_sah59u0210</content></entry></data> 2023-07-06 23:00:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 06:00:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 23:00:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>575d024c-ac93-4aa5-9307-81eeb410fa09</value></item-id></result> 2023-07-06 23:00:54 | contains: true 2023-07-06 23:00:54 | [Mutex] waiting for: [user_regular2ra8e80207@test-domain.com:message:received:content_sah59u0210] 2023-07-06 23:01:09 | [Mutex] timeout. Not received [user_regular2ra8e80207@test-domain.com:message:received:content_sah59u0210] 2023-07-06 23:01:09 | [Mutex] isItemNotified: user_regular2ra8e80207@test-domain.com:message:received:content_sah59u0210 :: false 2023-07-06 23:01:09 | ===== publishing normal message (to offline) 2023-07-06 23:01:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 23:01:09 | command: <data><node>node_149gwu0208</node><entry><content>content_mhyvr70211</content></entry></data> 2023-07-06 23:01:09 | target: http://localhost:8088 2023-07-06 23:01:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-06 23:01:09 | entity: <data><node>node_149gwu0208</node><entry><content>content_mhyvr70211</content></entry></data> 2023-07-06 23:01:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 06:01:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 23:01:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ca9f71dd-7341-4368-8ecb-6e1728de9df1</value></item-id></result> 2023-07-06 23:01:09 | contains: true 2023-07-06 23:01:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-06 23:01:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-06 23:01:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-06 23:01:14 | [Mutex] waiting for: [user_regular2ra8e80207@test-domain.com:message:received:content_mhyvr70211] 2023-07-06 23:01:14 | [Mutex] waiting for: [user_regular2ra8e80207@test-domain.com:message:received:content_mhyvr70211] 2023-07-06 23:01:14 | [Mutex] received everything. 2023-07-06 23:01:14 | [Mutex] isItemNotified: user_regular2ra8e80207@test-domain.com:message:received:content_mhyvr70211 :: true 2023-07-06 23:01:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-06 23:01:14 | [Mutex] received everything. 2023-07-06 23:01:14 | [Mutex] isItemNotified: node_149gwu0208:subscribe_node:success :: true 2023-07-06 23:01:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-06 23:01:15 | command: <data><node>node_149gwu0208</node><expire-at>2023-07-07T06:01:20Z</expire-at><entry><content>content_pmqyth0212</content></entry></data> 2023-07-06 23:01:15 | target: http://localhost:8088 2023-07-06 23:01:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-06 23:01:15 | entity: <data><node>node_149gwu0208</node><expire-at>2023-07-07T06:01:20Z</expire-at><entry><content>content_pmqyth0212</content></entry></data> 2023-07-06 23:01:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 Jul 2023 06:01:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-06 23:01:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0cf39fd9-d46b-413d-a7b7-1d5a14a110f0</value></item-id></result> 2023-07-06 23:01:15 | contains: true 2023-07-06 23:01:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-06 23:01:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-06 23:01:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-06 23:01:23 | [Mutex] waiting for: [user_regular2ra8e80207@test-domain.com:message:received:content_pmqyth0212] 2023-07-06 23:01:23 | [Mutex] waiting for: [user_regular2ra8e80207@test-domain.com:message:received:content_pmqyth0212] 2023-07-06 23:01:23 | [Mutex] waiting for: [user_regular2ra8e80207@test-domain.com:message:received:content_pmqyth0212] 2023-07-06 23:01:38 | [Mutex] timeout. Not received [user_regular2ra8e80207@test-domain.com:message:received:content_pmqyth0212] 2023-07-06 23:01:38 | [Mutex] received everything. 2023-07-06 23:01:38 | [Mutex] isItemNotified: user_regular2ra8e80207@test-domain.com:message:received:content_pmqyth0212 :: false 2023-07-06 23:01:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pmqyth0212 :: true |