Test duration : 44.846s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.693s |
2023-03-15 22:30:10 |
2023-03-15 22:30:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-15 22:30:10 | ------------------------------------ 2023-03-15 22:30:10 | [Mutex] isItemNotified: node_szlcct0208:exists :: false 2023-03-15 22:30:10 | [Mutex] waiting for: [node_szlcct0208:create_node] 2023-03-15 22:30:10 | [Mutex] received everything. 2023-03-15 22:30:10 | [Mutex] isItemNotified: node_szlcct0208:create_node:success :: true 2023-03-15 22:30:10 | [Mutex] waiting for: [node_szlcct0208:subscribe_node] 2023-03-15 22:30:10 | [Mutex] waiting for: [node_szlcct0208:subscribe_node] 2023-03-15 22:30:10 | [Mutex] received everything. 2023-03-15 22:30:10 | [Mutex] isItemNotified: node_szlcct0208:subscribe_node:success :: true 2023-03-15 22:30:10 | ===== publishing normal message (to online) 2023-03-15 22:30:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 22:30:10 | command: <data><node>node_szlcct0208</node><entry><content>content_b28v950209</content></entry></data> 2023-03-15 22:30:10 | target: http://localhost:8088 2023-03-15 22:30:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-15 22:30:10 | entity: <data><node>node_szlcct0208</node><entry><content>content_b28v950209</content></entry></data> 2023-03-15 22:30:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:30:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 22:30:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7fa768c5-5c0f-4269-866e-283eb399f350</value></item-id></result> 2023-03-15 22:30:10 | contains: true 2023-03-15 22:30:10 | [Mutex] received everything. 2023-03-15 22:30:10 | [Mutex] isItemNotified: user_regularlmjfrf0207@test-domain.com:message:received:content_b28v950209 :: true 2023-03-15 22:30:10 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-15 22:30:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 22:30:10 | command: <data><node>node_szlcct0208</node><expire-at>2023-03-16T05:30:05Z</expire-at><entry><content>content_i2gs180210</content></entry></data> 2023-03-15 22:30:10 | target: http://localhost:8088 2023-03-15 22:30:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-15 22:30:10 | entity: <data><node>node_szlcct0208</node><expire-at>2023-03-16T05:30:05Z</expire-at><entry><content>content_i2gs180210</content></entry></data> 2023-03-15 22:30:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:30:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 22:30:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c33f2c6f-dc8c-45a9-89c6-7e116d8f05dd</value></item-id></result> 2023-03-15 22:30:10 | contains: true 2023-03-15 22:30:10 | [Mutex] waiting for: [user_regularlmjfrf0207@test-domain.com:message:received:content_i2gs180210] 2023-03-15 22:30:25 | [Mutex] timeout. Not received [user_regularlmjfrf0207@test-domain.com:message:received:content_i2gs180210] 2023-03-15 22:30:25 | [Mutex] isItemNotified: user_regularlmjfrf0207@test-domain.com:message:received:content_i2gs180210 :: false 2023-03-15 22:30:25 | ===== publishing normal message (to offline) 2023-03-15 22:30:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 22:30:25 | command: <data><node>node_szlcct0208</node><entry><content>content_fggz9o0211</content></entry></data> 2023-03-15 22:30:25 | target: http://localhost:8088 2023-03-15 22:30:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-15 22:30:25 | entity: <data><node>node_szlcct0208</node><entry><content>content_fggz9o0211</content></entry></data> 2023-03-15 22:30:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:30:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 22:30:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>320ce228-e9bc-4426-a472-1bd2da2f7995</value></item-id></result> 2023-03-15 22:30:25 | contains: true 2023-03-15 22:30:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-15 22:30:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-15 22:30:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-15 22:30:30 | [Mutex] waiting for: [user_regularlmjfrf0207@test-domain.com:message:received:content_fggz9o0211] 2023-03-15 22:30:30 | [Mutex] waiting for: [user_regularlmjfrf0207@test-domain.com:message:received:content_fggz9o0211] 2023-03-15 22:30:30 | [Mutex] received everything. 2023-03-15 22:30:30 | [Mutex] isItemNotified: user_regularlmjfrf0207@test-domain.com:message:received:content_fggz9o0211 :: true 2023-03-15 22:30:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-15 22:30:30 | [Mutex] received everything. 2023-03-15 22:30:30 | [Mutex] isItemNotified: node_szlcct0208:subscribe_node:success :: true 2023-03-15 22:30:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-15 22:30:31 | command: <data><node>node_szlcct0208</node><expire-at>2023-03-16T05:30:36Z</expire-at><entry><content>content_xhe5vk0212</content></entry></data> 2023-03-15 22:30:31 | target: http://localhost:8088 2023-03-15 22:30:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-15 22:30:31 | entity: <data><node>node_szlcct0208</node><expire-at>2023-03-16T05:30:36Z</expire-at><entry><content>content_xhe5vk0212</content></entry></data> 2023-03-15 22:30:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:30:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-15 22:30:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a50c96d3-a51e-4840-81a7-ef47ba5fcbab</value></item-id></result> 2023-03-15 22:30:31 | contains: true 2023-03-15 22:30:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-15 22:30:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-15 22:30:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-15 22:30:39 | [Mutex] waiting for: [user_regularlmjfrf0207@test-domain.com:message:received:content_xhe5vk0212] 2023-03-15 22:30:39 | [Mutex] waiting for: [user_regularlmjfrf0207@test-domain.com:message:received:content_xhe5vk0212] 2023-03-15 22:30:39 | [Mutex] waiting for: [user_regularlmjfrf0207@test-domain.com:message:received:content_xhe5vk0212] 2023-03-15 22:30:54 | [Mutex] timeout. Not received [user_regularlmjfrf0207@test-domain.com:message:received:content_xhe5vk0212] 2023-03-15 22:30:54 | [Mutex] received everything. 2023-03-15 22:30:54 | [Mutex] isItemNotified: user_regularlmjfrf0207@test-domain.com:message:received:content_xhe5vk0212 :: false 2023-03-15 22:30:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xhe5vk0212 :: true |