Test duration : 44.959s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.741s |
2023-03-29 22:30:33 |
2023-03-29 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-29 22:30:33 | ------------------------------------ 2023-03-29 22:30:33 | [Mutex] isItemNotified: node_2kjatq0208:exists :: false 2023-03-29 22:30:33 | [Mutex] waiting for: [node_2kjatq0208:create_node] 2023-03-29 22:30:33 | [Mutex] received everything. 2023-03-29 22:30:33 | [Mutex] isItemNotified: node_2kjatq0208:create_node:success :: true 2023-03-29 22:30:33 | [Mutex] waiting for: [node_2kjatq0208:subscribe_node] 2023-03-29 22:30:33 | [Mutex] received everything. 2023-03-29 22:30:33 | [Mutex] isItemNotified: node_2kjatq0208:subscribe_node:success :: true 2023-03-29 22:30:33 | ===== publishing normal message (to online) 2023-03-29 22:30:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-29 22:30:33 | command: <data><node>node_2kjatq0208</node><entry><content>content_2mvq2n0209</content></entry></data> 2023-03-29 22:30:33 | target: http://localhost:8088 2023-03-29 22:30:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-29 22:30:33 | entity: <data><node>node_2kjatq0208</node><entry><content>content_2mvq2n0209</content></entry></data> 2023-03-29 22:30:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-29 22:30:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e47550f4-53fa-4aaf-81e2-bebbb07ff01c</value></item-id></result> 2023-03-29 22:30:33 | contains: true 2023-03-29 22:30:33 | [Mutex] received everything. 2023-03-29 22:30:33 | [Mutex] isItemNotified: user_regularkywgkq0207@test-domain.com:message:received:content_2mvq2n0209 :: true 2023-03-29 22:30:33 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-29 22:30:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-29 22:30:33 | command: <data><node>node_2kjatq0208</node><expire-at>2023-03-30T05:30:28Z</expire-at><entry><content>content_ttmzwg0210</content></entry></data> 2023-03-29 22:30:33 | target: http://localhost:8088 2023-03-29 22:30:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-29 22:30:33 | entity: <data><node>node_2kjatq0208</node><expire-at>2023-03-30T05:30:28Z</expire-at><entry><content>content_ttmzwg0210</content></entry></data> 2023-03-29 22:30:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-29 22:30:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b7836bbe-4f75-4182-9757-9b396c149ac2</value></item-id></result> 2023-03-29 22:30:33 | contains: true 2023-03-29 22:30:33 | [Mutex] waiting for: [user_regularkywgkq0207@test-domain.com:message:received:content_ttmzwg0210] 2023-03-29 22:30:48 | [Mutex] timeout. Not received [user_regularkywgkq0207@test-domain.com:message:received:content_ttmzwg0210] 2023-03-29 22:30:48 | [Mutex] isItemNotified: user_regularkywgkq0207@test-domain.com:message:received:content_ttmzwg0210 :: false 2023-03-29 22:30:48 | ===== publishing normal message (to offline) 2023-03-29 22:30:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-29 22:30:48 | command: <data><node>node_2kjatq0208</node><entry><content>content_8220ia0211</content></entry></data> 2023-03-29 22:30:48 | target: http://localhost:8088 2023-03-29 22:30:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-29 22:30:48 | entity: <data><node>node_2kjatq0208</node><entry><content>content_8220ia0211</content></entry></data> 2023-03-29 22:30:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-29 22:30:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8e610a32-af49-4983-ada6-cc914bc077b1</value></item-id></result> 2023-03-29 22:30:48 | contains: true 2023-03-29 22:30:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-29 22:30:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-29 22:30:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-29 22:30:53 | [Mutex] waiting for: [user_regularkywgkq0207@test-domain.com:message:received:content_8220ia0211] 2023-03-29 22:30:53 | [Mutex] waiting for: [user_regularkywgkq0207@test-domain.com:message:received:content_8220ia0211] 2023-03-29 22:30:53 | [Mutex] received everything. 2023-03-29 22:30:53 | [Mutex] isItemNotified: user_regularkywgkq0207@test-domain.com:message:received:content_8220ia0211 :: true 2023-03-29 22:30:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-29 22:30:53 | [Mutex] received everything. 2023-03-29 22:30:53 | [Mutex] isItemNotified: node_2kjatq0208:subscribe_node:success :: true 2023-03-29 22:30:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-29 22:30:53 | command: <data><node>node_2kjatq0208</node><expire-at>2023-03-30T05:30:58Z</expire-at><entry><content>content_8kwswn0212</content></entry></data> 2023-03-29 22:30:53 | target: http://localhost:8088 2023-03-29 22:30:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-29 22:30:53 | entity: <data><node>node_2kjatq0208</node><expire-at>2023-03-30T05:30:58Z</expire-at><entry><content>content_8kwswn0212</content></entry></data> 2023-03-29 22:30:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Mar 2023 05:30:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-29 22:30:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>15848096-c819-4794-95e1-c1d570e1d2c8</value></item-id></result> 2023-03-29 22:30:53 | contains: true 2023-03-29 22:31:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-29 22:31:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-29 22:31:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-29 22:31:01 | [Mutex] waiting for: [user_regularkywgkq0207@test-domain.com:message:received:content_8kwswn0212] 2023-03-29 22:31:01 | [Mutex] waiting for: [user_regularkywgkq0207@test-domain.com:message:received:content_8kwswn0212] 2023-03-29 22:31:01 | [Mutex] waiting for: [user_regularkywgkq0207@test-domain.com:message:received:content_8kwswn0212] 2023-03-29 22:31:16 | [Mutex] timeout. Not received [user_regularkywgkq0207@test-domain.com:message:received:content_8kwswn0212] 2023-03-29 22:31:16 | [Mutex] received everything. 2023-03-29 22:31:16 | [Mutex] isItemNotified: user_regularkywgkq0207@test-domain.com:message:received:content_8kwswn0212 :: false 2023-03-29 22:31:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8kwswn0212 :: true |