Test duration : 44.512s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.641s |
2023-04-03 22:47:21 |
2023-04-03 22:47:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-04-03 22:47:21 | ------------------------------------ 2023-04-03 22:47:21 | [Mutex] isItemNotified: node_fbn8gk0208:exists :: false 2023-04-03 22:47:21 | [Mutex] waiting for: [node_fbn8gk0208:create_node] 2023-04-03 22:47:21 | [Mutex] received everything. 2023-04-03 22:47:21 | [Mutex] isItemNotified: node_fbn8gk0208:create_node:success :: true 2023-04-03 22:47:21 | [Mutex] waiting for: [node_fbn8gk0208:subscribe_node] 2023-04-03 22:47:21 | [Mutex] waiting for: [node_fbn8gk0208:subscribe_node] 2023-04-03 22:47:21 | [Mutex] received everything. 2023-04-03 22:47:21 | [Mutex] isItemNotified: node_fbn8gk0208:subscribe_node:success :: true 2023-04-03 22:47:21 | ===== publishing normal message (to online) 2023-04-03 22:47:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 22:47:21 | command: <data><node>node_fbn8gk0208</node><entry><content>content_8qhhd60209</content></entry></data> 2023-04-03 22:47:21 | target: http://localhost:8088 2023-04-03 22:47:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-04-03 22:47:21 | entity: <data><node>node_fbn8gk0208</node><entry><content>content_8qhhd60209</content></entry></data> 2023-04-03 22:47:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:47:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 22:47:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3fbf1933-7695-4f2d-bb9d-0f5d0245625e</value></item-id></result> 2023-04-03 22:47:21 | contains: true 2023-04-03 22:47:21 | [Mutex] received everything. 2023-04-03 22:47:21 | [Mutex] isItemNotified: user_regularza1aaq0207@test-domain.com:message:received:content_8qhhd60209 :: true 2023-04-03 22:47:21 | ===== publishing already old message - expecting message being filtered out (to online) 2023-04-03 22:47:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 22:47:21 | command: <data><node>node_fbn8gk0208</node><expire-at>2023-04-04T05:47:16Z</expire-at><entry><content>content_4b6jef0210</content></entry></data> 2023-04-03 22:47:21 | target: http://localhost:8088 2023-04-03 22:47:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-04-03 22:47:21 | entity: <data><node>node_fbn8gk0208</node><expire-at>2023-04-04T05:47:16Z</expire-at><entry><content>content_4b6jef0210</content></entry></data> 2023-04-03 22:47:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:47:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 22:47:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>df16b579-e3c7-480b-8d15-027bb649a193</value></item-id></result> 2023-04-03 22:47:21 | contains: true 2023-04-03 22:47:21 | [Mutex] waiting for: [user_regularza1aaq0207@test-domain.com:message:received:content_4b6jef0210] 2023-04-03 22:47:36 | [Mutex] timeout. Not received [user_regularza1aaq0207@test-domain.com:message:received:content_4b6jef0210] 2023-04-03 22:47:36 | [Mutex] isItemNotified: user_regularza1aaq0207@test-domain.com:message:received:content_4b6jef0210 :: false 2023-04-03 22:47:36 | ===== publishing normal message (to offline) 2023-04-03 22:47:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 22:47:36 | command: <data><node>node_fbn8gk0208</node><entry><content>content_qrb52g0211</content></entry></data> 2023-04-03 22:47:36 | target: http://localhost:8088 2023-04-03 22:47:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-04-03 22:47:36 | entity: <data><node>node_fbn8gk0208</node><entry><content>content_qrb52g0211</content></entry></data> 2023-04-03 22:47:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:47:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 22:47:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>826657c1-e172-43ba-aed2-033d70839b22</value></item-id></result> 2023-04-03 22:47:37 | contains: true 2023-04-03 22:47:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-04-03 22:47:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-04-03 22:47:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-04-03 22:47:42 | [Mutex] waiting for: [user_regularza1aaq0207@test-domain.com:message:received:content_qrb52g0211] 2023-04-03 22:47:42 | [Mutex] waiting for: [user_regularza1aaq0207@test-domain.com:message:received:content_qrb52g0211] 2023-04-03 22:47:42 | [Mutex] received everything. 2023-04-03 22:47:42 | [Mutex] isItemNotified: user_regularza1aaq0207@test-domain.com:message:received:content_qrb52g0211 :: true 2023-04-03 22:47:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-04-03 22:47:42 | [Mutex] received everything. 2023-04-03 22:47:42 | [Mutex] isItemNotified: node_fbn8gk0208:subscribe_node:success :: true 2023-04-03 22:47:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 22:47:42 | command: <data><node>node_fbn8gk0208</node><expire-at>2023-04-04T05:47:47Z</expire-at><entry><content>content_3dcnig0212</content></entry></data> 2023-04-03 22:47:42 | target: http://localhost:8088 2023-04-03 22:47:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-04-03 22:47:42 | entity: <data><node>node_fbn8gk0208</node><expire-at>2023-04-04T05:47:47Z</expire-at><entry><content>content_3dcnig0212</content></entry></data> 2023-04-03 22:47:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:47:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 22:47:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b015db6-919a-4c92-a6b7-4c8dc214e30d</value></item-id></result> 2023-04-03 22:47:42 | contains: true 2023-04-03 22:47:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-04-03 22:47:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-04-03 22:47:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-04-03 22:47:50 | [Mutex] waiting for: [user_regularza1aaq0207@test-domain.com:message:received:content_3dcnig0212] 2023-04-03 22:47:50 | [Mutex] waiting for: [user_regularza1aaq0207@test-domain.com:message:received:content_3dcnig0212] 2023-04-03 22:48:05 | [Mutex] timeout. Not received [user_regularza1aaq0207@test-domain.com:message:received:content_3dcnig0212] 2023-04-03 22:48:05 | [Mutex] received everything. 2023-04-03 22:48:05 | [Mutex] isItemNotified: user_regularza1aaq0207@test-domain.com:message:received:content_3dcnig0212 :: false 2023-04-03 22:48:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3dcnig0212 :: true |