Test duration : 44.693s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.582s |
2023-04-03 23:04:49 |
2023-04-03 23:04:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-04-03 23:04:49 | ------------------------------------ 2023-04-03 23:04:49 | [Mutex] isItemNotified: node_lp75dw0208:exists :: false 2023-04-03 23:04:49 | [Mutex] waiting for: [node_lp75dw0208:create_node] 2023-04-03 23:04:49 | [Mutex] waiting for: [node_lp75dw0208:create_node] 2023-04-03 23:04:49 | [Mutex] received everything. 2023-04-03 23:04:49 | [Mutex] isItemNotified: node_lp75dw0208:create_node:success :: true 2023-04-03 23:04:49 | [Mutex] waiting for: [node_lp75dw0208:subscribe_node] 2023-04-03 23:04:49 | [Mutex] waiting for: [node_lp75dw0208:subscribe_node] 2023-04-03 23:04:49 | [Mutex] received everything. 2023-04-03 23:04:49 | [Mutex] isItemNotified: node_lp75dw0208:subscribe_node:success :: true 2023-04-03 23:04:49 | ===== publishing normal message (to online) 2023-04-03 23:04:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 23:04:49 | command: <data><node>node_lp75dw0208</node><entry><content>content_etm2kx0209</content></entry></data> 2023-04-03 23:04:49 | target: http://localhost:8088 2023-04-03 23:04:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-04-03 23:04:49 | entity: <data><node>node_lp75dw0208</node><entry><content>content_etm2kx0209</content></entry></data> 2023-04-03 23:04:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 06:04:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 23:04:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1cfaf2f3-90ab-4e39-9abf-526c91060a15</value></item-id></result> 2023-04-03 23:04:49 | contains: true 2023-04-03 23:04:49 | [Mutex] received everything. 2023-04-03 23:04:49 | [Mutex] isItemNotified: user_regularcqyiun0207@test-domain.com:message:received:content_etm2kx0209 :: true 2023-04-03 23:04:49 | ===== publishing already old message - expecting message being filtered out (to online) 2023-04-03 23:04:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 23:04:49 | command: <data><node>node_lp75dw0208</node><expire-at>2023-04-04T06:04:44Z</expire-at><entry><content>content_jv0bxi0210</content></entry></data> 2023-04-03 23:04:49 | target: http://localhost:8088 2023-04-03 23:04:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-04-03 23:04:49 | entity: <data><node>node_lp75dw0208</node><expire-at>2023-04-04T06:04:44Z</expire-at><entry><content>content_jv0bxi0210</content></entry></data> 2023-04-03 23:04:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 06:04:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 23:04:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c2493ed8-c2fb-4a37-9994-474796eded0a</value></item-id></result> 2023-04-03 23:04:49 | contains: true 2023-04-03 23:04:49 | [Mutex] waiting for: [user_regularcqyiun0207@test-domain.com:message:received:content_jv0bxi0210] 2023-04-03 23:05:04 | [Mutex] timeout. Not received [user_regularcqyiun0207@test-domain.com:message:received:content_jv0bxi0210] 2023-04-03 23:05:04 | [Mutex] isItemNotified: user_regularcqyiun0207@test-domain.com:message:received:content_jv0bxi0210 :: false 2023-04-03 23:05:04 | ===== publishing normal message (to offline) 2023-04-03 23:05:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 23:05:04 | command: <data><node>node_lp75dw0208</node><entry><content>content_k951rc0211</content></entry></data> 2023-04-03 23:05:04 | target: http://localhost:8088 2023-04-03 23:05:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-04-03 23:05:04 | entity: <data><node>node_lp75dw0208</node><entry><content>content_k951rc0211</content></entry></data> 2023-04-03 23:05:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 06:05:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 23:05:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>efabdf00-9722-4c6f-8314-01dda17defb7</value></item-id></result> 2023-04-03 23:05:04 | contains: true 2023-04-03 23:05:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-04-03 23:05:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-04-03 23:05:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-04-03 23:05:09 | [Mutex] waiting for: [user_regularcqyiun0207@test-domain.com:message:received:content_k951rc0211] 2023-04-03 23:05:09 | [Mutex] waiting for: [user_regularcqyiun0207@test-domain.com:message:received:content_k951rc0211] 2023-04-03 23:05:09 | [Mutex] received everything. 2023-04-03 23:05:09 | [Mutex] isItemNotified: user_regularcqyiun0207@test-domain.com:message:received:content_k951rc0211 :: true 2023-04-03 23:05:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-04-03 23:05:09 | [Mutex] received everything. 2023-04-03 23:05:09 | [Mutex] isItemNotified: node_lp75dw0208:subscribe_node:success :: true 2023-04-03 23:05:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 23:05:09 | command: <data><node>node_lp75dw0208</node><expire-at>2023-04-04T06:05:14Z</expire-at><entry><content>content_75j3w30212</content></entry></data> 2023-04-03 23:05:09 | target: http://localhost:8088 2023-04-03 23:05:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-04-03 23:05:09 | entity: <data><node>node_lp75dw0208</node><expire-at>2023-04-04T06:05:14Z</expire-at><entry><content>content_75j3w30212</content></entry></data> 2023-04-03 23:05:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 06:05:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 23:05:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4ca43d92-fa93-4ec4-9c0b-4e37350f83ef</value></item-id></result> 2023-04-03 23:05:09 | contains: true 2023-04-03 23:05:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-04-03 23:05:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-04-03 23:05:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-04-03 23:05:17 | [Mutex] waiting for: [user_regularcqyiun0207@test-domain.com:message:received:content_75j3w30212] 2023-04-03 23:05:32 | [Mutex] timeout. Not received [user_regularcqyiun0207@test-domain.com:message:received:content_75j3w30212] 2023-04-03 23:05:32 | [Mutex] received everything. 2023-04-03 23:05:32 | [Mutex] isItemNotified: user_regularcqyiun0207@test-domain.com:message:received:content_75j3w30212 :: false 2023-04-03 23:05:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_75j3w30212 :: true |