Test duration : 44.470s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.574s |
2023-08-27 22:31:50 |
2023-08-27 22:31:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-08-27 22:31:50 | ------------------------------------ 2023-08-27 22:31:50 | [Mutex] isItemNotified: node_e9pix10208:exists :: false 2023-08-27 22:31:50 | [Mutex] waiting for: [node_e9pix10208:create_node] 2023-08-27 22:31:50 | [Mutex] received everything. 2023-08-27 22:31:50 | [Mutex] isItemNotified: node_e9pix10208:create_node:success :: true 2023-08-27 22:31:50 | [Mutex] waiting for: [node_e9pix10208:subscribe_node] 2023-08-27 22:31:50 | [Mutex] waiting for: [node_e9pix10208:subscribe_node] 2023-08-27 22:31:50 | [Mutex] received everything. 2023-08-27 22:31:50 | [Mutex] isItemNotified: node_e9pix10208:subscribe_node:success :: true 2023-08-27 22:31:50 | ===== publishing normal message (to online) 2023-08-27 22:31:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 22:31:50 | command: <data><node>node_e9pix10208</node><entry><content>content_foq8gs0209</content></entry></data> 2023-08-27 22:31:50 | target: http://localhost:8088 2023-08-27 22:31:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-08-27 22:31:50 | entity: <data><node>node_e9pix10208</node><entry><content>content_foq8gs0209</content></entry></data> 2023-08-27 22:31:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:31:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 22:31:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>67ed9281-b532-45f4-a9b1-2d6d1f9d8ab0</value></item-id></result> 2023-08-27 22:31:50 | contains: true 2023-08-27 22:31:50 | [Mutex] received everything. 2023-08-27 22:31:50 | [Mutex] isItemNotified: user_regular64phiz0207@test-domain.com:message:received:content_foq8gs0209 :: true 2023-08-27 22:31:50 | ===== publishing already old message - expecting message being filtered out (to online) 2023-08-27 22:31:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 22:31:50 | command: <data><node>node_e9pix10208</node><expire-at>2023-08-28T05:31:45Z</expire-at><entry><content>content_tyb42c0210</content></entry></data> 2023-08-27 22:31:50 | target: http://localhost:8088 2023-08-27 22:31:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-08-27 22:31:50 | entity: <data><node>node_e9pix10208</node><expire-at>2023-08-28T05:31:45Z</expire-at><entry><content>content_tyb42c0210</content></entry></data> 2023-08-27 22:31:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:31:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 22:31:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a2d11718-7869-4a6d-a134-709acbf95833</value></item-id></result> 2023-08-27 22:31:50 | contains: true 2023-08-27 22:31:50 | [Mutex] waiting for: [user_regular64phiz0207@test-domain.com:message:received:content_tyb42c0210] 2023-08-27 22:32:05 | [Mutex] timeout. Not received [user_regular64phiz0207@test-domain.com:message:received:content_tyb42c0210] 2023-08-27 22:32:05 | [Mutex] isItemNotified: user_regular64phiz0207@test-domain.com:message:received:content_tyb42c0210 :: false 2023-08-27 22:32:05 | ===== publishing normal message (to offline) 2023-08-27 22:32:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 22:32:05 | command: <data><node>node_e9pix10208</node><entry><content>content_8whqfv0211</content></entry></data> 2023-08-27 22:32:05 | target: http://localhost:8088 2023-08-27 22:32:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-08-27 22:32:05 | entity: <data><node>node_e9pix10208</node><entry><content>content_8whqfv0211</content></entry></data> 2023-08-27 22:32:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:32:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 22:32:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>70eb3189-9619-4af0-ba68-194b9e6c528e</value></item-id></result> 2023-08-27 22:32:05 | contains: true 2023-08-27 22:32:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-08-27 22:32:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-08-27 22:32:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-08-27 22:32:10 | [Mutex] waiting for: [user_regular64phiz0207@test-domain.com:message:received:content_8whqfv0211] 2023-08-27 22:32:10 | [Mutex] waiting for: [user_regular64phiz0207@test-domain.com:message:received:content_8whqfv0211] 2023-08-27 22:32:10 | [Mutex] received everything. 2023-08-27 22:32:10 | [Mutex] isItemNotified: user_regular64phiz0207@test-domain.com:message:received:content_8whqfv0211 :: true 2023-08-27 22:32:10 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-08-27 22:32:10 | [Mutex] received everything. 2023-08-27 22:32:10 | [Mutex] isItemNotified: node_e9pix10208:subscribe_node:success :: true 2023-08-27 22:32:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-08-27 22:32:10 | command: <data><node>node_e9pix10208</node><expire-at>2023-08-28T05:32:15Z</expire-at><entry><content>content_l597o0212</content></entry></data> 2023-08-27 22:32:10 | target: http://localhost:8088 2023-08-27 22:32:10 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2023-08-27 22:32:10 | entity: <data><node>node_e9pix10208</node><expire-at>2023-08-28T05:32:15Z</expire-at><entry><content>content_l597o0212</content></entry></data> 2023-08-27 22:32:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Aug 2023 05:32:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-08-27 22:32:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9f5a011b-ddfc-4d5d-92ea-383b9ebace6a</value></item-id></result> 2023-08-27 22:32:10 | contains: true 2023-08-27 22:32:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-08-27 22:32:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-08-27 22:32:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-08-27 22:32:18 | [Mutex] waiting for: [user_regular64phiz0207@test-domain.com:message:received:content_l597o0212] 2023-08-27 22:32:18 | [Mutex] waiting for: [user_regular64phiz0207@test-domain.com:message:received:content_l597o0212] 2023-08-27 22:32:18 | [Mutex] waiting for: [user_regular64phiz0207@test-domain.com:message:received:content_l597o0212] 2023-08-27 22:32:33 | [Mutex] timeout. Not received [user_regular64phiz0207@test-domain.com:message:received:content_l597o0212] 2023-08-27 22:32:33 | [Mutex] received everything. 2023-08-27 22:32:33 | [Mutex] isItemNotified: user_regular64phiz0207@test-domain.com:message:received:content_l597o0212 :: false 2023-08-27 22:32:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l597o0212 :: true |