Test duration : 44.875s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.589s |
2022-06-02 22:39:19 |
2022-06-02 22:39:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-02 22:39:19 | ------------------------------------ 2022-06-02 22:39:19 | [Mutex] isItemNotified: node_lp67ye0204:exists :: false 2022-06-02 22:39:19 | [Mutex] waiting for: [node_lp67ye0204:create_node] 2022-06-02 22:39:19 | [Mutex] waiting for: [node_lp67ye0204:create_node] 2022-06-02 22:39:19 | [Mutex] received everything. 2022-06-02 22:39:19 | [Mutex] isItemNotified: node_lp67ye0204:create_node:success :: true 2022-06-02 22:39:19 | [Mutex] waiting for: [node_lp67ye0204:subscribe_node] 2022-06-02 22:39:19 | [Mutex] waiting for: [node_lp67ye0204:subscribe_node] 2022-06-02 22:39:19 | [Mutex] received everything. 2022-06-02 22:39:19 | [Mutex] isItemNotified: node_lp67ye0204:subscribe_node:success :: true 2022-06-02 22:39:19 | ===== publishing normal message (to online) 2022-06-02 22:39:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-02 22:39:19 | command: <data><node>node_lp67ye0204</node><entry><content>content_g9fc430205</content></entry></data> 2022-06-02 22:39:19 | target: http://localhost:8088 2022-06-02 22:39:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-02 22:39:19 | entity: <data><node>node_lp67ye0204</node><entry><content>content_g9fc430205</content></entry></data> 2022-06-02 22:39:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jun 2022 05:39:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-02 22:39:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4f180807-116b-41d0-8a54-689e96b3b2be</value></item-id></result> 2022-06-02 22:39:19 | contains: true 2022-06-02 22:39:19 | [Mutex] waiting for: [user_regular4nxllq0203@test-domain.com:message:received:content_g9fc430205] 2022-06-02 22:39:19 | [Mutex] received everything. 2022-06-02 22:39:19 | [Mutex] isItemNotified: user_regular4nxllq0203@test-domain.com:message:received:content_g9fc430205 :: true 2022-06-02 22:39:19 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-02 22:39:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-02 22:39:19 | command: <data><node>node_lp67ye0204</node><expire-at>2022-06-03T05:39:14Z</expire-at><entry><content>content_62bsmu0206</content></entry></data> 2022-06-02 22:39:19 | target: http://localhost:8088 2022-06-02 22:39:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-02 22:39:19 | entity: <data><node>node_lp67ye0204</node><expire-at>2022-06-03T05:39:14Z</expire-at><entry><content>content_62bsmu0206</content></entry></data> 2022-06-02 22:39:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jun 2022 05:39:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-02 22:39:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>34157f4e-4ea9-433e-87c4-75885d4787c2</value></item-id></result> 2022-06-02 22:39:19 | contains: true 2022-06-02 22:39:19 | [Mutex] waiting for: [user_regular4nxllq0203@test-domain.com:message:received:content_62bsmu0206] 2022-06-02 22:39:34 | [Mutex] timeout. Not received [user_regular4nxllq0203@test-domain.com:message:received:content_62bsmu0206] 2022-06-02 22:39:34 | [Mutex] isItemNotified: user_regular4nxllq0203@test-domain.com:message:received:content_62bsmu0206 :: false 2022-06-02 22:39:34 | ===== publishing normal message (to offline) 2022-06-02 22:39:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-02 22:39:34 | command: <data><node>node_lp67ye0204</node><entry><content>content_jl86120207</content></entry></data> 2022-06-02 22:39:34 | target: http://localhost:8088 2022-06-02 22:39:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-02 22:39:34 | entity: <data><node>node_lp67ye0204</node><entry><content>content_jl86120207</content></entry></data> 2022-06-02 22:39:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jun 2022 05:39:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-02 22:39:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>29140225-1be9-4371-9ad1-8c9fcde05b0c</value></item-id></result> 2022-06-02 22:39:34 | contains: true 2022-06-02 22:39:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-02 22:39:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-02 22:39:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-02 22:39:39 | [Mutex] waiting for: [user_regular4nxllq0203@test-domain.com:message:received:content_jl86120207] 2022-06-02 22:39:39 | [Mutex] received everything. 2022-06-02 22:39:39 | [Mutex] isItemNotified: user_regular4nxllq0203@test-domain.com:message:received:content_jl86120207 :: true 2022-06-02 22:39:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-02 22:39:39 | [Mutex] received everything. 2022-06-02 22:39:39 | [Mutex] isItemNotified: node_lp67ye0204:subscribe_node:success :: true 2022-06-02 22:39:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-02 22:39:39 | command: <data><node>node_lp67ye0204</node><expire-at>2022-06-03T05:39:44Z</expire-at><entry><content>content_qboiwc0208</content></entry></data> 2022-06-02 22:39:39 | target: http://localhost:8088 2022-06-02 22:39:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-02 22:39:39 | entity: <data><node>node_lp67ye0204</node><expire-at>2022-06-03T05:39:44Z</expire-at><entry><content>content_qboiwc0208</content></entry></data> 2022-06-02 22:39:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 03 Jun 2022 05:39:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-02 22:39:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bf56d094-05ce-4792-96da-e9cc6011e4a3</value></item-id></result> 2022-06-02 22:39:39 | contains: true 2022-06-02 22:39:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-02 22:39:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-02 22:39:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-02 22:39:47 | [Mutex] waiting for: [user_regular4nxllq0203@test-domain.com:message:received:content_qboiwc0208] 2022-06-02 22:39:47 | [Mutex] waiting for: [user_regular4nxllq0203@test-domain.com:message:received:content_qboiwc0208] 2022-06-02 22:40:02 | [Mutex] timeout. Not received [user_regular4nxllq0203@test-domain.com:message:received:content_qboiwc0208] 2022-06-02 22:40:02 | [Mutex] received everything. 2022-06-02 22:40:02 | [Mutex] isItemNotified: user_regular4nxllq0203@test-domain.com:message:received:content_qboiwc0208 :: false 2022-06-02 22:40:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qboiwc0208 :: true |