Test duration : 44.538s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.686s |
2023-05-04 22:44:49 |
2023-05-04 22:44:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-05-04 22:44:49 | ------------------------------------ 2023-05-04 22:44:49 | [Mutex] isItemNotified: node_ftw1we0208:exists :: false 2023-05-04 22:44:49 | [Mutex] waiting for: [node_ftw1we0208:create_node] 2023-05-04 22:44:49 | [Mutex] received everything. 2023-05-04 22:44:49 | [Mutex] isItemNotified: node_ftw1we0208:create_node:success :: true 2023-05-04 22:44:49 | [Mutex] waiting for: [node_ftw1we0208:subscribe_node] 2023-05-04 22:44:49 | [Mutex] waiting for: [node_ftw1we0208:subscribe_node] 2023-05-04 22:44:49 | [Mutex] received everything. 2023-05-04 22:44:49 | [Mutex] isItemNotified: node_ftw1we0208:subscribe_node:success :: true 2023-05-04 22:44:49 | ===== publishing normal message (to online) 2023-05-04 22:44:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-04 22:44:49 | command: <data><node>node_ftw1we0208</node><entry><content>content_egr8760209</content></entry></data> 2023-05-04 22:44:49 | target: http://localhost:8088 2023-05-04 22:44:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-05-04 22:44:49 | entity: <data><node>node_ftw1we0208</node><entry><content>content_egr8760209</content></entry></data> 2023-05-04 22:44:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:44:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-04 22:44:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7de0bfc1-b4e7-4000-aae5-99c18f6d3bee</value></item-id></result> 2023-05-04 22:44:49 | contains: true 2023-05-04 22:44:49 | [Mutex] received everything. 2023-05-04 22:44:49 | [Mutex] isItemNotified: user_regularsl93kj0207@test-domain.com:message:received:content_egr8760209 :: true 2023-05-04 22:44:49 | ===== publishing already old message - expecting message being filtered out (to online) 2023-05-04 22:44:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-04 22:44:49 | command: <data><node>node_ftw1we0208</node><expire-at>2023-05-05T05:44:44Z</expire-at><entry><content>content_cu6lni0210</content></entry></data> 2023-05-04 22:44:49 | target: http://localhost:8088 2023-05-04 22:44:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-05-04 22:44:49 | entity: <data><node>node_ftw1we0208</node><expire-at>2023-05-05T05:44:44Z</expire-at><entry><content>content_cu6lni0210</content></entry></data> 2023-05-04 22:44:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:44:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-04 22:44:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>474c7dc5-cf19-4621-8fb5-45a18bc6ba70</value></item-id></result> 2023-05-04 22:44:49 | contains: true 2023-05-04 22:44:49 | [Mutex] waiting for: [user_regularsl93kj0207@test-domain.com:message:received:content_cu6lni0210] 2023-05-04 22:45:04 | [Mutex] timeout. Not received [user_regularsl93kj0207@test-domain.com:message:received:content_cu6lni0210] 2023-05-04 22:45:04 | [Mutex] isItemNotified: user_regularsl93kj0207@test-domain.com:message:received:content_cu6lni0210 :: false 2023-05-04 22:45:04 | ===== publishing normal message (to offline) 2023-05-04 22:45:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-04 22:45:04 | command: <data><node>node_ftw1we0208</node><entry><content>content_pw002z0211</content></entry></data> 2023-05-04 22:45:04 | target: http://localhost:8088 2023-05-04 22:45:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-05-04 22:45:04 | entity: <data><node>node_ftw1we0208</node><entry><content>content_pw002z0211</content></entry></data> 2023-05-04 22:45:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:45:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-04 22:45:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c9b89142-ceab-4492-8c76-b14af9b5a13a</value></item-id></result> 2023-05-04 22:45:04 | contains: true 2023-05-04 22:45:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-05-04 22:45:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-05-04 22:45:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-05-04 22:45:10 | [Mutex] waiting for: [user_regularsl93kj0207@test-domain.com:message:received:content_pw002z0211] 2023-05-04 22:45:10 | [Mutex] waiting for: [user_regularsl93kj0207@test-domain.com:message:received:content_pw002z0211] 2023-05-04 22:45:10 | [Mutex] received everything. 2023-05-04 22:45:10 | [Mutex] isItemNotified: user_regularsl93kj0207@test-domain.com:message:received:content_pw002z0211 :: true 2023-05-04 22:45:10 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-05-04 22:45:10 | [Mutex] received everything. 2023-05-04 22:45:10 | [Mutex] isItemNotified: node_ftw1we0208:subscribe_node:success :: true 2023-05-04 22:45:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-05-04 22:45:10 | command: <data><node>node_ftw1we0208</node><expire-at>2023-05-05T05:45:15Z</expire-at><entry><content>content_k7iva10212</content></entry></data> 2023-05-04 22:45:10 | target: http://localhost:8088 2023-05-04 22:45:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-05-04 22:45:10 | entity: <data><node>node_ftw1we0208</node><expire-at>2023-05-05T05:45:15Z</expire-at><entry><content>content_k7iva10212</content></entry></data> 2023-05-04 22:45:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:45:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-05-04 22:45:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>de4c756d-78da-4a6c-8adf-016313d7b2d4</value></item-id></result> 2023-05-04 22:45:10 | contains: true 2023-05-04 22:45:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-05-04 22:45:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-05-04 22:45:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-05-04 22:45:18 | [Mutex] waiting for: [user_regularsl93kj0207@test-domain.com:message:received:content_k7iva10212] 2023-05-04 22:45:18 | [Mutex] waiting for: [user_regularsl93kj0207@test-domain.com:message:received:content_k7iva10212] 2023-05-04 22:45:18 | [Mutex] waiting for: [user_regularsl93kj0207@test-domain.com:message:received:content_k7iva10212] 2023-05-04 22:45:33 | [Mutex] timeout. Not received [user_regularsl93kj0207@test-domain.com:message:received:content_k7iva10212] 2023-05-04 22:45:33 | [Mutex] received everything. 2023-05-04 22:45:33 | [Mutex] isItemNotified: user_regularsl93kj0207@test-domain.com:message:received:content_k7iva10212 :: false 2023-05-04 22:45:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k7iva10212 :: true |