Test duration : 44.410s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.589s |
2023-04-03 22:32:50 |
2023-04-03 22:32:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-04-03 22:32:50 | ------------------------------------ 2023-04-03 22:32:50 | [Mutex] isItemNotified: node_5kc4hk0208:exists :: false 2023-04-03 22:32:50 | [Mutex] waiting for: [node_5kc4hk0208:create_node] 2023-04-03 22:32:50 | [Mutex] received everything. 2023-04-03 22:32:50 | [Mutex] isItemNotified: node_5kc4hk0208:create_node:success :: true 2023-04-03 22:32:50 | [Mutex] waiting for: [node_5kc4hk0208:subscribe_node] 2023-04-03 22:32:50 | [Mutex] waiting for: [node_5kc4hk0208:subscribe_node] 2023-04-03 22:32:50 | [Mutex] received everything. 2023-04-03 22:32:50 | [Mutex] isItemNotified: node_5kc4hk0208:subscribe_node:success :: true 2023-04-03 22:32:50 | ===== publishing normal message (to online) 2023-04-03 22:32:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 22:32:50 | command: <data><node>node_5kc4hk0208</node><entry><content>content_97ohaw0209</content></entry></data> 2023-04-03 22:32:50 | target: http://localhost:8088 2023-04-03 22:32:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-04-03 22:32:50 | entity: <data><node>node_5kc4hk0208</node><entry><content>content_97ohaw0209</content></entry></data> 2023-04-03 22:32:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:32:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 22:32:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>206e7739-b1c2-4d66-b01d-5f839648bedd</value></item-id></result> 2023-04-03 22:32:50 | contains: true 2023-04-03 22:32:50 | [Mutex] received everything. 2023-04-03 22:32:50 | [Mutex] isItemNotified: user_regularsxk2jx0207@test-domain.com:message:received:content_97ohaw0209 :: true 2023-04-03 22:32:50 | ===== publishing already old message - expecting message being filtered out (to online) 2023-04-03 22:32:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 22:32:50 | command: <data><node>node_5kc4hk0208</node><expire-at>2023-04-04T05:32:45Z</expire-at><entry><content>content_8w2a0y0210</content></entry></data> 2023-04-03 22:32:50 | target: http://localhost:8088 2023-04-03 22:32:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-04-03 22:32:50 | entity: <data><node>node_5kc4hk0208</node><expire-at>2023-04-04T05:32:45Z</expire-at><entry><content>content_8w2a0y0210</content></entry></data> 2023-04-03 22:32:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:32:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 22:32:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6e035da4-bdc7-4ec9-9080-daf997e3e265</value></item-id></result> 2023-04-03 22:32:50 | contains: true 2023-04-03 22:32:50 | [Mutex] waiting for: [user_regularsxk2jx0207@test-domain.com:message:received:content_8w2a0y0210] 2023-04-03 22:33:05 | [Mutex] timeout. Not received [user_regularsxk2jx0207@test-domain.com:message:received:content_8w2a0y0210] 2023-04-03 22:33:05 | [Mutex] isItemNotified: user_regularsxk2jx0207@test-domain.com:message:received:content_8w2a0y0210 :: false 2023-04-03 22:33:05 | ===== publishing normal message (to offline) 2023-04-03 22:33:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 22:33:05 | command: <data><node>node_5kc4hk0208</node><entry><content>content_rix5cj0211</content></entry></data> 2023-04-03 22:33:05 | target: http://localhost:8088 2023-04-03 22:33:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-04-03 22:33:05 | entity: <data><node>node_5kc4hk0208</node><entry><content>content_rix5cj0211</content></entry></data> 2023-04-03 22:33:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:33:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 22:33:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c02125a9-3fbe-4f8d-b67d-f7df5e363aab</value></item-id></result> 2023-04-03 22:33:05 | contains: true 2023-04-03 22:33:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-04-03 22:33:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-04-03 22:33:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-04-03 22:33:10 | [Mutex] waiting for: [user_regularsxk2jx0207@test-domain.com:message:received:content_rix5cj0211] 2023-04-03 22:33:10 | [Mutex] waiting for: [user_regularsxk2jx0207@test-domain.com:message:received:content_rix5cj0211] 2023-04-03 22:33:10 | [Mutex] received everything. 2023-04-03 22:33:10 | [Mutex] isItemNotified: user_regularsxk2jx0207@test-domain.com:message:received:content_rix5cj0211 :: true 2023-04-03 22:33:10 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-04-03 22:33:10 | [Mutex] received everything. 2023-04-03 22:33:10 | [Mutex] isItemNotified: node_5kc4hk0208:subscribe_node:success :: true 2023-04-03 22:33:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-04-03 22:33:10 | command: <data><node>node_5kc4hk0208</node><expire-at>2023-04-04T05:33:15Z</expire-at><entry><content>content_k4hpyk0212</content></entry></data> 2023-04-03 22:33:10 | target: http://localhost:8088 2023-04-03 22:33:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-04-03 22:33:10 | entity: <data><node>node_5kc4hk0208</node><expire-at>2023-04-04T05:33:15Z</expire-at><entry><content>content_k4hpyk0212</content></entry></data> 2023-04-03 22:33:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 Apr 2023 05:33:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-04-03 22:33:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8a57d5ec-c2fb-455a-b24b-0c0ab950dd3d</value></item-id></result> 2023-04-03 22:33:10 | contains: true 2023-04-03 22:33:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-04-03 22:33:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-04-03 22:33:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-04-03 22:33:18 | [Mutex] waiting for: [user_regularsxk2jx0207@test-domain.com:message:received:content_k4hpyk0212] 2023-04-03 22:33:18 | [Mutex] waiting for: [user_regularsxk2jx0207@test-domain.com:message:received:content_k4hpyk0212] 2023-04-03 22:33:18 | [Mutex] waiting for: [user_regularsxk2jx0207@test-domain.com:message:received:content_k4hpyk0212] 2023-04-03 22:33:33 | [Mutex] timeout. Not received [user_regularsxk2jx0207@test-domain.com:message:received:content_k4hpyk0212] 2023-04-03 22:33:33 | [Mutex] received everything. 2023-04-03 22:33:33 | [Mutex] isItemNotified: user_regularsxk2jx0207@test-domain.com:message:received:content_k4hpyk0212 :: false 2023-04-03 22:33:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k4hpyk0212 :: true |