Test duration : 44.744s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.584s |
2023-10-26 00:58:42 |
2023-10-26 00:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-10-26 00:58:42 | ------------------------------------ 2023-10-26 00:58:42 | [Mutex] isItemNotified: node_ssqx470208:exists :: false 2023-10-26 00:58:42 | [Mutex] waiting for: [node_ssqx470208:create_node] 2023-10-26 00:58:42 | [Mutex] received everything. 2023-10-26 00:58:42 | [Mutex] isItemNotified: node_ssqx470208:create_node:success :: true 2023-10-26 00:58:42 | [Mutex] waiting for: [node_ssqx470208:subscribe_node] 2023-10-26 00:58:42 | [Mutex] waiting for: [node_ssqx470208:subscribe_node] 2023-10-26 00:58:42 | [Mutex] received everything. 2023-10-26 00:58:42 | [Mutex] isItemNotified: node_ssqx470208:subscribe_node:success :: true 2023-10-26 00:58:42 | ===== publishing normal message (to online) 2023-10-26 00:58:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-26 00:58:42 | command: <data><node>node_ssqx470208</node><entry><content>content_ez9j2s0209</content></entry></data> 2023-10-26 00:58:42 | target: http://localhost:8088 2023-10-26 00:58:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-26 00:58:42 | entity: <data><node>node_ssqx470208</node><entry><content>content_ez9j2s0209</content></entry></data> 2023-10-26 00:58:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 07:58:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-26 00:58:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>edc08718-26e2-4443-81a5-24b9289a043a</value></item-id></result> 2023-10-26 00:58:42 | contains: true 2023-10-26 00:58:42 | [Mutex] waiting for: [user_regularw7aqtw0207@test-domain.com:message:received:content_ez9j2s0209] 2023-10-26 00:58:42 | [Mutex] received everything. 2023-10-26 00:58:42 | [Mutex] isItemNotified: user_regularw7aqtw0207@test-domain.com:message:received:content_ez9j2s0209 :: true 2023-10-26 00:58:42 | ===== publishing already old message - expecting message being filtered out (to online) 2023-10-26 00:58:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-26 00:58:42 | command: <data><node>node_ssqx470208</node><expire-at>2023-10-26T07:58:37Z</expire-at><entry><content>content_6fbbvw0210</content></entry></data> 2023-10-26 00:58:42 | target: http://localhost:8088 2023-10-26 00:58:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-26 00:58:42 | entity: <data><node>node_ssqx470208</node><expire-at>2023-10-26T07:58:37Z</expire-at><entry><content>content_6fbbvw0210</content></entry></data> 2023-10-26 00:58:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 07:58:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-26 00:58:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9f6b5701-f038-45fe-a62f-6b52948db936</value></item-id></result> 2023-10-26 00:58:42 | contains: true 2023-10-26 00:58:42 | [Mutex] waiting for: [user_regularw7aqtw0207@test-domain.com:message:received:content_6fbbvw0210] 2023-10-26 00:58:57 | [Mutex] timeout. Not received [user_regularw7aqtw0207@test-domain.com:message:received:content_6fbbvw0210] 2023-10-26 00:58:57 | [Mutex] isItemNotified: user_regularw7aqtw0207@test-domain.com:message:received:content_6fbbvw0210 :: false 2023-10-26 00:58:57 | ===== publishing normal message (to offline) 2023-10-26 00:58:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-26 00:58:57 | command: <data><node>node_ssqx470208</node><entry><content>content_fps0xr0211</content></entry></data> 2023-10-26 00:58:57 | target: http://localhost:8088 2023-10-26 00:58:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-26 00:58:57 | entity: <data><node>node_ssqx470208</node><entry><content>content_fps0xr0211</content></entry></data> 2023-10-26 00:58:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 07:58:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-26 00:58:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>549bca03-c812-4a0b-b401-6dfb9f84ad15</value></item-id></result> 2023-10-26 00:58:57 | contains: true 2023-10-26 00:59:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-26 00:59:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-10-26 00:59:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-26 00:59:02 | [Mutex] waiting for: [user_regularw7aqtw0207@test-domain.com:message:received:content_fps0xr0211] 2023-10-26 00:59:02 | [Mutex] waiting for: [user_regularw7aqtw0207@test-domain.com:message:received:content_fps0xr0211] 2023-10-26 00:59:02 | [Mutex] received everything. 2023-10-26 00:59:02 | [Mutex] isItemNotified: user_regularw7aqtw0207@test-domain.com:message:received:content_fps0xr0211 :: true 2023-10-26 00:59:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-10-26 00:59:02 | [Mutex] received everything. 2023-10-26 00:59:02 | [Mutex] isItemNotified: node_ssqx470208:subscribe_node:success :: true 2023-10-26 00:59:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-26 00:59:02 | command: <data><node>node_ssqx470208</node><expire-at>2023-10-26T07:59:07Z</expire-at><entry><content>content_p7mhkk0212</content></entry></data> 2023-10-26 00:59:02 | target: http://localhost:8088 2023-10-26 00:59:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-26 00:59:02 | entity: <data><node>node_ssqx470208</node><expire-at>2023-10-26T07:59:07Z</expire-at><entry><content>content_p7mhkk0212</content></entry></data> 2023-10-26 00:59:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 07:59:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-26 00:59:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>eebb5988-c950-4a85-b593-149f325b35a6</value></item-id></result> 2023-10-26 00:59:02 | contains: true 2023-10-26 00:59:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-26 00:59:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-10-26 00:59:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-26 00:59:10 | [Mutex] waiting for: [user_regularw7aqtw0207@test-domain.com:message:received:content_p7mhkk0212] 2023-10-26 00:59:10 | [Mutex] waiting for: [user_regularw7aqtw0207@test-domain.com:message:received:content_p7mhkk0212] 2023-10-26 00:59:10 | [Mutex] waiting for: [user_regularw7aqtw0207@test-domain.com:message:received:content_p7mhkk0212] 2023-10-26 00:59:25 | [Mutex] timeout. Not received [user_regularw7aqtw0207@test-domain.com:message:received:content_p7mhkk0212] 2023-10-26 00:59:25 | [Mutex] received everything. 2023-10-26 00:59:25 | [Mutex] isItemNotified: user_regularw7aqtw0207@test-domain.com:message:received:content_p7mhkk0212 :: false 2023-10-26 00:59:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_p7mhkk0212 :: true |