Test duration : 44.878s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.660s |
2023-03-18 22:59:40 |
2023-03-18 22:59:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-18 22:59:40 | ------------------------------------ 2023-03-18 22:59:40 | [Mutex] isItemNotified: node_1pecqo0208:exists :: false 2023-03-18 22:59:40 | [Mutex] waiting for: [node_1pecqo0208:create_node] 2023-03-18 22:59:40 | [Mutex] received everything. 2023-03-18 22:59:40 | [Mutex] isItemNotified: node_1pecqo0208:create_node:success :: true 2023-03-18 22:59:40 | [Mutex] waiting for: [node_1pecqo0208:subscribe_node] 2023-03-18 22:59:40 | [Mutex] waiting for: [node_1pecqo0208:subscribe_node] 2023-03-18 22:59:40 | [Mutex] received everything. 2023-03-18 22:59:40 | [Mutex] isItemNotified: node_1pecqo0208:subscribe_node:success :: true 2023-03-18 22:59:40 | ===== publishing normal message (to online) 2023-03-18 22:59:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-18 22:59:40 | command: <data><node>node_1pecqo0208</node><entry><content>content_peo15r0209</content></entry></data> 2023-03-18 22:59:40 | target: http://localhost:8088 2023-03-18 22:59:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-18 22:59:40 | entity: <data><node>node_1pecqo0208</node><entry><content>content_peo15r0209</content></entry></data> 2023-03-18 22:59:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:59:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-18 22:59:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>04d763f2-a1ef-4e22-a658-7baf0c9f2dff</value></item-id></result> 2023-03-18 22:59:40 | contains: true 2023-03-18 22:59:40 | [Mutex] waiting for: [user_regulart32i8d0207@test-domain.com:message:received:content_peo15r0209] 2023-03-18 22:59:40 | [Mutex] received everything. 2023-03-18 22:59:40 | [Mutex] isItemNotified: user_regulart32i8d0207@test-domain.com:message:received:content_peo15r0209 :: true 2023-03-18 22:59:40 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-18 22:59:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-18 22:59:40 | command: <data><node>node_1pecqo0208</node><expire-at>2023-03-19T05:59:35Z</expire-at><entry><content>content_cr0dta0210</content></entry></data> 2023-03-18 22:59:40 | target: http://localhost:8088 2023-03-18 22:59:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-18 22:59:40 | entity: <data><node>node_1pecqo0208</node><expire-at>2023-03-19T05:59:35Z</expire-at><entry><content>content_cr0dta0210</content></entry></data> 2023-03-18 22:59:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:59:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-18 22:59:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fb90b221-5841-4746-afb8-e1c2ac6612a9</value></item-id></result> 2023-03-18 22:59:40 | contains: true 2023-03-18 22:59:40 | [Mutex] waiting for: [user_regulart32i8d0207@test-domain.com:message:received:content_cr0dta0210] 2023-03-18 22:59:55 | [Mutex] timeout. Not received [user_regulart32i8d0207@test-domain.com:message:received:content_cr0dta0210] 2023-03-18 22:59:55 | [Mutex] isItemNotified: user_regulart32i8d0207@test-domain.com:message:received:content_cr0dta0210 :: false 2023-03-18 22:59:55 | ===== publishing normal message (to offline) 2023-03-18 22:59:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-18 22:59:55 | command: <data><node>node_1pecqo0208</node><entry><content>content_963qc0211</content></entry></data> 2023-03-18 22:59:55 | target: http://localhost:8088 2023-03-18 22:59:55 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2023-03-18 22:59:55 | entity: <data><node>node_1pecqo0208</node><entry><content>content_963qc0211</content></entry></data> 2023-03-18 22:59:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:59:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-18 22:59:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f0922dee-232a-427e-95da-e02e80984223</value></item-id></result> 2023-03-18 22:59:55 | contains: true 2023-03-18 23:00:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-18 23:00:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-18 23:00:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-18 23:00:00 | [Mutex] waiting for: [user_regulart32i8d0207@test-domain.com:message:received:content_963qc0211] 2023-03-18 23:00:00 | [Mutex] received everything. 2023-03-18 23:00:00 | [Mutex] isItemNotified: user_regulart32i8d0207@test-domain.com:message:received:content_963qc0211 :: true 2023-03-18 23:00:00 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-18 23:00:00 | [Mutex] received everything. 2023-03-18 23:00:00 | [Mutex] isItemNotified: node_1pecqo0208:subscribe_node:success :: true 2023-03-18 23:00:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-18 23:00:00 | command: <data><node>node_1pecqo0208</node><expire-at>2023-03-19T06:00:05Z</expire-at><entry><content>content_jg5nrl0212</content></entry></data> 2023-03-18 23:00:00 | target: http://localhost:8088 2023-03-18 23:00:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-18 23:00:00 | entity: <data><node>node_1pecqo0208</node><expire-at>2023-03-19T06:00:05Z</expire-at><entry><content>content_jg5nrl0212</content></entry></data> 2023-03-18 23:00:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 06:00:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-18 23:00:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>86a082ec-6971-463c-b488-cac6e2253f0d</value></item-id></result> 2023-03-18 23:00:00 | contains: true 2023-03-18 23:00:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-18 23:00:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-18 23:00:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-18 23:00:08 | [Mutex] waiting for: [user_regulart32i8d0207@test-domain.com:message:received:content_jg5nrl0212] 2023-03-18 23:00:23 | [Mutex] timeout. Not received [user_regulart32i8d0207@test-domain.com:message:received:content_jg5nrl0212] 2023-03-18 23:00:23 | [Mutex] received everything. 2023-03-18 23:00:23 | [Mutex] isItemNotified: user_regulart32i8d0207@test-domain.com:message:received:content_jg5nrl0212 :: false 2023-03-18 23:00:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jg5nrl0212 :: true |