Test duration : 44.442s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.607s |
2022-06-05 23:16:40 |
2022-06-05 23:16:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-05 23:16:40 | ------------------------------------ 2022-06-05 23:16:40 | [Mutex] isItemNotified: node_w99j0d0204:exists :: false 2022-06-05 23:16:40 | [Mutex] waiting for: [node_w99j0d0204:create_node] 2022-06-05 23:16:40 | [Mutex] received everything. 2022-06-05 23:16:40 | [Mutex] isItemNotified: node_w99j0d0204:create_node:success :: true 2022-06-05 23:16:40 | [Mutex] waiting for: [node_w99j0d0204:subscribe_node] 2022-06-05 23:16:40 | [Mutex] received everything. 2022-06-05 23:16:40 | [Mutex] isItemNotified: node_w99j0d0204:subscribe_node:success :: true 2022-06-05 23:16:40 | ===== publishing normal message (to online) 2022-06-05 23:16:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 23:16:40 | command: <data><node>node_w99j0d0204</node><entry><content>content_f9alt40205</content></entry></data> 2022-06-05 23:16:40 | target: http://localhost:8088 2022-06-05 23:16:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-05 23:16:40 | entity: <data><node>node_w99j0d0204</node><entry><content>content_f9alt40205</content></entry></data> 2022-06-05 23:16:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 06:16:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 23:16:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>80218a06-6ae1-4c74-85c1-4626c1e9a087</value></item-id></result> 2022-06-05 23:16:40 | contains: true 2022-06-05 23:16:40 | [Mutex] received everything. 2022-06-05 23:16:40 | [Mutex] isItemNotified: user_regularwu47au0203@test-domain.com:message:received:content_f9alt40205 :: true 2022-06-05 23:16:40 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-05 23:16:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 23:16:40 | command: <data><node>node_w99j0d0204</node><expire-at>2022-06-06T06:16:35Z</expire-at><entry><content>content_9xrjkd0206</content></entry></data> 2022-06-05 23:16:40 | target: http://localhost:8088 2022-06-05 23:16:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-05 23:16:40 | entity: <data><node>node_w99j0d0204</node><expire-at>2022-06-06T06:16:35Z</expire-at><entry><content>content_9xrjkd0206</content></entry></data> 2022-06-05 23:16:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 06:16:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 23:16:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6c3a3d75-da92-4da4-8650-ec9e0349e6e1</value></item-id></result> 2022-06-05 23:16:40 | contains: true 2022-06-05 23:16:40 | [Mutex] waiting for: [user_regularwu47au0203@test-domain.com:message:received:content_9xrjkd0206] 2022-06-05 23:16:55 | [Mutex] timeout. Not received [user_regularwu47au0203@test-domain.com:message:received:content_9xrjkd0206] 2022-06-05 23:16:55 | [Mutex] isItemNotified: user_regularwu47au0203@test-domain.com:message:received:content_9xrjkd0206 :: false 2022-06-05 23:16:55 | ===== publishing normal message (to offline) 2022-06-05 23:16:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 23:16:55 | command: <data><node>node_w99j0d0204</node><entry><content>content_c1ze3n0207</content></entry></data> 2022-06-05 23:16:55 | target: http://localhost:8088 2022-06-05 23:16:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-05 23:16:55 | entity: <data><node>node_w99j0d0204</node><entry><content>content_c1ze3n0207</content></entry></data> 2022-06-05 23:16:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 06:16:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 23:16:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1c2154a3-f132-4c1e-84d1-1926729f1b2b</value></item-id></result> 2022-06-05 23:16:55 | contains: true 2022-06-05 23:17:00 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-05 23:17:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-05 23:17:00 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-05 23:17:01 | [Mutex] waiting for: [user_regularwu47au0203@test-domain.com:message:received:content_c1ze3n0207] 2022-06-05 23:17:01 | [Mutex] waiting for: [user_regularwu47au0203@test-domain.com:message:received:content_c1ze3n0207] 2022-06-05 23:17:01 | [Mutex] received everything. 2022-06-05 23:17:01 | [Mutex] isItemNotified: user_regularwu47au0203@test-domain.com:message:received:content_c1ze3n0207 :: true 2022-06-05 23:17:01 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-05 23:17:01 | [Mutex] received everything. 2022-06-05 23:17:01 | [Mutex] isItemNotified: node_w99j0d0204:subscribe_node:success :: true 2022-06-05 23:17:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-05 23:17:01 | command: <data><node>node_w99j0d0204</node><expire-at>2022-06-06T06:17:06Z</expire-at><entry><content>content_dmz4h70208</content></entry></data> 2022-06-05 23:17:01 | target: http://localhost:8088 2022-06-05 23:17:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-05 23:17:01 | entity: <data><node>node_w99j0d0204</node><expire-at>2022-06-06T06:17:06Z</expire-at><entry><content>content_dmz4h70208</content></entry></data> 2022-06-05 23:17:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Jun 2022 06:17:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-05 23:17:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ed993d7f-7e11-4663-9b3a-0b5a1bccda02</value></item-id></result> 2022-06-05 23:17:01 | contains: true 2022-06-05 23:17:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-05 23:17:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-05 23:17:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-05 23:17:09 | [Mutex] waiting for: [user_regularwu47au0203@test-domain.com:message:received:content_dmz4h70208] 2022-06-05 23:17:24 | [Mutex] timeout. Not received [user_regularwu47au0203@test-domain.com:message:received:content_dmz4h70208] 2022-06-05 23:17:24 | [Mutex] received everything. 2022-06-05 23:17:24 | [Mutex] isItemNotified: user_regularwu47au0203@test-domain.com:message:received:content_dmz4h70208 :: false 2022-06-05 23:17:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dmz4h70208 :: true |