Test duration : 44.394s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.529s |
2022-05-24 23:15:23 |
2022-05-24 23:15:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-24 23:15:23 | ------------------------------------ 2022-05-24 23:15:23 | [Mutex] isItemNotified: node_3x45ts0204:exists :: false 2022-05-24 23:15:23 | [Mutex] waiting for: [node_3x45ts0204:create_node] 2022-05-24 23:15:23 | [Mutex] received everything. 2022-05-24 23:15:23 | [Mutex] isItemNotified: node_3x45ts0204:create_node:success :: true 2022-05-24 23:15:23 | [Mutex] waiting for: [node_3x45ts0204:subscribe_node] 2022-05-24 23:15:23 | [Mutex] waiting for: [node_3x45ts0204:subscribe_node] 2022-05-24 23:15:23 | [Mutex] received everything. 2022-05-24 23:15:23 | [Mutex] isItemNotified: node_3x45ts0204:subscribe_node:success :: true 2022-05-24 23:15:23 | ===== publishing normal message (to online) 2022-05-24 23:15:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 23:15:23 | command: <data><node>node_3x45ts0204</node><entry><content>content_m4kpf80205</content></entry></data> 2022-05-24 23:15:23 | target: http://localhost:8088 2022-05-24 23:15:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-24 23:15:23 | entity: <data><node>node_3x45ts0204</node><entry><content>content_m4kpf80205</content></entry></data> 2022-05-24 23:15:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 06:15:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 23:15:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>90bd9d1c-d405-42c4-8384-599defb432bf</value></item-id></result> 2022-05-24 23:15:23 | contains: true 2022-05-24 23:15:23 | [Mutex] waiting for: [user_regulara2w0hq0203@test-domain.com:message:received:content_m4kpf80205] 2022-05-24 23:15:23 | [Mutex] received everything. 2022-05-24 23:15:23 | [Mutex] isItemNotified: user_regulara2w0hq0203@test-domain.com:message:received:content_m4kpf80205 :: true 2022-05-24 23:15:23 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-24 23:15:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 23:15:23 | command: <data><node>node_3x45ts0204</node><expire-at>2022-05-25T06:15:18Z</expire-at><entry><content>content_6w4rd00206</content></entry></data> 2022-05-24 23:15:23 | target: http://localhost:8088 2022-05-24 23:15:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-24 23:15:23 | entity: <data><node>node_3x45ts0204</node><expire-at>2022-05-25T06:15:18Z</expire-at><entry><content>content_6w4rd00206</content></entry></data> 2022-05-24 23:15:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 06:15:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 23:15:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3b6672a9-9390-428c-abf9-c81c6ceecc70</value></item-id></result> 2022-05-24 23:15:23 | contains: true 2022-05-24 23:15:23 | [Mutex] waiting for: [user_regulara2w0hq0203@test-domain.com:message:received:content_6w4rd00206] 2022-05-24 23:15:38 | [Mutex] timeout. Not received [user_regulara2w0hq0203@test-domain.com:message:received:content_6w4rd00206] 2022-05-24 23:15:38 | [Mutex] isItemNotified: user_regulara2w0hq0203@test-domain.com:message:received:content_6w4rd00206 :: false 2022-05-24 23:15:38 | ===== publishing normal message (to offline) 2022-05-24 23:15:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 23:15:38 | command: <data><node>node_3x45ts0204</node><entry><content>content_49yo9h0207</content></entry></data> 2022-05-24 23:15:38 | target: http://localhost:8088 2022-05-24 23:15:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-24 23:15:38 | entity: <data><node>node_3x45ts0204</node><entry><content>content_49yo9h0207</content></entry></data> 2022-05-24 23:15:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 06:15:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 23:15:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e05e9847-9db0-4f1e-b2b1-a5db4dd08bd2</value></item-id></result> 2022-05-24 23:15:38 | contains: true 2022-05-24 23:15:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-24 23:15:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-24 23:15:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-24 23:15:44 | [Mutex] waiting for: [user_regulara2w0hq0203@test-domain.com:message:received:content_49yo9h0207] 2022-05-24 23:15:44 | [Mutex] waiting for: [user_regulara2w0hq0203@test-domain.com:message:received:content_49yo9h0207] 2022-05-24 23:15:44 | [Mutex] received everything. 2022-05-24 23:15:44 | [Mutex] isItemNotified: user_regulara2w0hq0203@test-domain.com:message:received:content_49yo9h0207 :: true 2022-05-24 23:15:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-24 23:15:44 | [Mutex] received everything. 2022-05-24 23:15:44 | [Mutex] isItemNotified: node_3x45ts0204:subscribe_node:success :: true 2022-05-24 23:15:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-24 23:15:44 | command: <data><node>node_3x45ts0204</node><expire-at>2022-05-25T06:15:49Z</expire-at><entry><content>content_5j4i1b0208</content></entry></data> 2022-05-24 23:15:44 | target: http://localhost:8088 2022-05-24 23:15:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-24 23:15:44 | entity: <data><node>node_3x45ts0204</node><expire-at>2022-05-25T06:15:49Z</expire-at><entry><content>content_5j4i1b0208</content></entry></data> 2022-05-24 23:15:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 25 May 2022 06:15:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-24 23:15:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f083344d-8279-49a6-9985-c7ee58f8254f</value></item-id></result> 2022-05-24 23:15:44 | contains: true 2022-05-24 23:15:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-24 23:15:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-24 23:15:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-24 23:15:52 | [Mutex] waiting for: [user_regulara2w0hq0203@test-domain.com:message:received:content_5j4i1b0208] 2022-05-24 23:15:52 | [Mutex] waiting for: [user_regulara2w0hq0203@test-domain.com:message:received:content_5j4i1b0208] 2022-05-24 23:15:52 | [Mutex] waiting for: [user_regulara2w0hq0203@test-domain.com:message:received:content_5j4i1b0208] 2022-05-24 23:16:07 | [Mutex] timeout. Not received [user_regulara2w0hq0203@test-domain.com:message:received:content_5j4i1b0208] 2022-05-24 23:16:07 | [Mutex] received everything. 2022-05-24 23:16:07 | [Mutex] isItemNotified: user_regulara2w0hq0203@test-domain.com:message:received:content_5j4i1b0208 :: false 2022-05-24 23:16:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5j4i1b0208 :: true |