Test duration : 45.102s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.740s |
2022-04-14 22:36:43 |
2022-04-14 22:36:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-04-14 22:36:43 | ------------------------------------ 2022-04-14 22:36:43 | [Mutex] isItemNotified: node_icdoew0203:exists :: false 2022-04-14 22:36:43 | [Mutex] waiting for: [node_icdoew0203:create_node] 2022-04-14 22:36:43 | [Mutex] received everything. 2022-04-14 22:36:43 | [Mutex] isItemNotified: node_icdoew0203:create_node:success :: true 2022-04-14 22:36:43 | [Mutex] waiting for: [node_icdoew0203:subscribe_node] 2022-04-14 22:36:43 | [Mutex] received everything. 2022-04-14 22:36:43 | [Mutex] isItemNotified: node_icdoew0203:subscribe_node:success :: true 2022-04-14 22:36:43 | ===== publishing normal message (to online) 2022-04-14 22:36:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-14 22:36:43 | command: <data><node>node_icdoew0203</node><entry><content>content_ycm69a0204</content></entry></data> 2022-04-14 22:36:43 | target: http://localhost:8088 2022-04-14 22:36:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-04-14 22:36:43 | entity: <data><node>node_icdoew0203</node><entry><content>content_ycm69a0204</content></entry></data> 2022-04-14 22:36:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:36:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-14 22:36:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f1c191a5-7e1e-464d-bd22-4999613fe83e</value></item-id></result> 2022-04-14 22:36:43 | contains: true 2022-04-14 22:36:43 | [Mutex] received everything. 2022-04-14 22:36:43 | [Mutex] isItemNotified: user_regularnqsq2d0202@test-domain.com:message:received:content_ycm69a0204 :: true 2022-04-14 22:36:43 | ===== publishing already old message - expecting message being filtered out (to online) 2022-04-14 22:36:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-14 22:36:43 | command: <data><node>node_icdoew0203</node><expire-at>2022-04-15T05:36:38Z</expire-at><entry><content>content_hab5bm0205</content></entry></data> 2022-04-14 22:36:43 | target: http://localhost:8088 2022-04-14 22:36:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-04-14 22:36:43 | entity: <data><node>node_icdoew0203</node><expire-at>2022-04-15T05:36:38Z</expire-at><entry><content>content_hab5bm0205</content></entry></data> 2022-04-14 22:36:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:36:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-14 22:36:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ae1f6cd5-1eae-4f41-bb63-02ad44a84cbc</value></item-id></result> 2022-04-14 22:36:43 | contains: true 2022-04-14 22:36:43 | [Mutex] waiting for: [user_regularnqsq2d0202@test-domain.com:message:received:content_hab5bm0205] 2022-04-14 22:36:58 | [Mutex] timeout. Not received [user_regularnqsq2d0202@test-domain.com:message:received:content_hab5bm0205] 2022-04-14 22:36:58 | [Mutex] isItemNotified: user_regularnqsq2d0202@test-domain.com:message:received:content_hab5bm0205 :: false 2022-04-14 22:36:58 | ===== publishing normal message (to offline) 2022-04-14 22:36:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-14 22:36:58 | command: <data><node>node_icdoew0203</node><entry><content>content_xipkqk0206</content></entry></data> 2022-04-14 22:36:58 | target: http://localhost:8088 2022-04-14 22:36:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-04-14 22:36:58 | entity: <data><node>node_icdoew0203</node><entry><content>content_xipkqk0206</content></entry></data> 2022-04-14 22:36:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:36:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-14 22:36:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e9ef251d-44d3-4ab1-a288-9aa3e6a2144f</value></item-id></result> 2022-04-14 22:36:58 | contains: true 2022-04-14 22:37:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-04-14 22:37:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222 2022-04-14 22:37:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-04-14 22:37:03 | [Mutex] waiting for: [user_regularnqsq2d0202@test-domain.com:message:received:content_xipkqk0206] 2022-04-14 22:37:03 | [Mutex] waiting for: [user_regularnqsq2d0202@test-domain.com:message:received:content_xipkqk0206] 2022-04-14 22:37:03 | [Mutex] received everything. 2022-04-14 22:37:03 | [Mutex] isItemNotified: user_regularnqsq2d0202@test-domain.com:message:received:content_xipkqk0206 :: true 2022-04-14 22:37:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-04-14 22:37:03 | [Mutex] received everything. 2022-04-14 22:37:03 | [Mutex] isItemNotified: node_icdoew0203:subscribe_node:success :: true 2022-04-14 22:37:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-14 22:37:03 | command: <data><node>node_icdoew0203</node><expire-at>2022-04-15T05:37:08Z</expire-at><entry><content>content_it9rsl0207</content></entry></data> 2022-04-14 22:37:03 | target: http://localhost:8088 2022-04-14 22:37:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-04-14 22:37:03 | entity: <data><node>node_icdoew0203</node><expire-at>2022-04-15T05:37:08Z</expire-at><entry><content>content_it9rsl0207</content></entry></data> 2022-04-14 22:37:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:37:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-14 22:37:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>13e90272-656a-4d53-bfa4-e5c5c11fb76d</value></item-id></result> 2022-04-14 22:37:03 | contains: true 2022-04-14 22:37:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-04-14 22:37:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] DNS entry stored in session object: localhost:5222 2022-04-14 22:37:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-04-14 22:37:11 | [Mutex] waiting for: [user_regularnqsq2d0202@test-domain.com:message:received:content_it9rsl0207] 2022-04-14 22:37:11 | [Mutex] waiting for: [user_regularnqsq2d0202@test-domain.com:message:received:content_it9rsl0207] 2022-04-14 22:37:11 | [Mutex] waiting for: [user_regularnqsq2d0202@test-domain.com:message:received:content_it9rsl0207] 2022-04-14 22:37:26 | [Mutex] timeout. Not received [user_regularnqsq2d0202@test-domain.com:message:received:content_it9rsl0207] 2022-04-14 22:37:26 | [Mutex] received everything. 2022-04-14 22:37:26 | [Mutex] isItemNotified: user_regularnqsq2d0202@test-domain.com:message:received:content_it9rsl0207 :: false 2022-04-14 22:37:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_it9rsl0207 :: true |