Test duration : 44.836s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.653s |
2022-09-22 22:35:49 |
2022-09-22 22:35:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-22 22:35:49 | ------------------------------------ 2022-09-22 22:35:49 | [Mutex] isItemNotified: node_w91ykr0204:exists :: false 2022-09-22 22:35:49 | [Mutex] waiting for: [node_w91ykr0204:create_node] 2022-09-22 22:35:49 | [Mutex] received everything. 2022-09-22 22:35:49 | [Mutex] isItemNotified: node_w91ykr0204:create_node:success :: true 2022-09-22 22:35:49 | [Mutex] waiting for: [node_w91ykr0204:subscribe_node] 2022-09-22 22:35:49 | [Mutex] waiting for: [node_w91ykr0204:subscribe_node] 2022-09-22 22:35:49 | [Mutex] received everything. 2022-09-22 22:35:49 | [Mutex] isItemNotified: node_w91ykr0204:subscribe_node:success :: true 2022-09-22 22:35:49 | ===== publishing normal message (to online) 2022-09-22 22:35:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-22 22:35:49 | command: <data><node>node_w91ykr0204</node><entry><content>content_f3pzow0205</content></entry></data> 2022-09-22 22:35:49 | target: http://localhost:8088 2022-09-22 22:35:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-22 22:35:49 | entity: <data><node>node_w91ykr0204</node><entry><content>content_f3pzow0205</content></entry></data> 2022-09-22 22:35:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 05:35:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-22 22:35:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>12917a4e-0d24-43dd-89da-9880e08d85a7</value></item-id></result> 2022-09-22 22:35:49 | contains: true 2022-09-22 22:35:49 | [Mutex] received everything. 2022-09-22 22:35:49 | [Mutex] isItemNotified: user_regular6c17el0203@test-domain.com:message:received:content_f3pzow0205 :: true 2022-09-22 22:35:49 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-22 22:35:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-22 22:35:49 | command: <data><node>node_w91ykr0204</node><expire-at>2022-09-23T05:35:44Z</expire-at><entry><content>content_3ld1yw0206</content></entry></data> 2022-09-22 22:35:49 | target: http://localhost:8088 2022-09-22 22:35:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-22 22:35:49 | entity: <data><node>node_w91ykr0204</node><expire-at>2022-09-23T05:35:44Z</expire-at><entry><content>content_3ld1yw0206</content></entry></data> 2022-09-22 22:35:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 05:35:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-22 22:35:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5422e4f8-b1b0-4ec7-ac3b-2936a03cecb7</value></item-id></result> 2022-09-22 22:35:49 | contains: true 2022-09-22 22:35:49 | [Mutex] waiting for: [user_regular6c17el0203@test-domain.com:message:received:content_3ld1yw0206] 2022-09-22 22:36:04 | [Mutex] timeout. Not received [user_regular6c17el0203@test-domain.com:message:received:content_3ld1yw0206] 2022-09-22 22:36:04 | [Mutex] isItemNotified: user_regular6c17el0203@test-domain.com:message:received:content_3ld1yw0206 :: false 2022-09-22 22:36:04 | ===== publishing normal message (to offline) 2022-09-22 22:36:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-22 22:36:04 | command: <data><node>node_w91ykr0204</node><entry><content>content_r2737u0207</content></entry></data> 2022-09-22 22:36:04 | target: http://localhost:8088 2022-09-22 22:36:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-22 22:36:04 | entity: <data><node>node_w91ykr0204</node><entry><content>content_r2737u0207</content></entry></data> 2022-09-22 22:36:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 05:36:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-22 22:36:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>84d82e8a-42d1-4778-b94f-a7802bcbdfd8</value></item-id></result> 2022-09-22 22:36:04 | contains: true 2022-09-22 22:36:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-22 22:36:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-22 22:36:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-22 22:36:09 | [Mutex] waiting for: [user_regular6c17el0203@test-domain.com:message:received:content_r2737u0207] 2022-09-22 22:36:09 | [Mutex] received everything. 2022-09-22 22:36:09 | [Mutex] isItemNotified: user_regular6c17el0203@test-domain.com:message:received:content_r2737u0207 :: true 2022-09-22 22:36:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-22 22:36:09 | [Mutex] received everything. 2022-09-22 22:36:09 | [Mutex] isItemNotified: node_w91ykr0204:subscribe_node:success :: true 2022-09-22 22:36:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-22 22:36:09 | command: <data><node>node_w91ykr0204</node><expire-at>2022-09-23T05:36:14Z</expire-at><entry><content>content_uzfowo0208</content></entry></data> 2022-09-22 22:36:09 | target: http://localhost:8088 2022-09-22 22:36:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-22 22:36:09 | entity: <data><node>node_w91ykr0204</node><expire-at>2022-09-23T05:36:14Z</expire-at><entry><content>content_uzfowo0208</content></entry></data> 2022-09-22 22:36:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Sep 2022 05:36:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-22 22:36:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2908e505-95aa-448b-86fe-3307d3ccd475</value></item-id></result> 2022-09-22 22:36:10 | contains: true 2022-09-22 22:36:18 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-22 22:36:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-22 22:36:18 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-22 22:36:18 | [Mutex] waiting for: [user_regular6c17el0203@test-domain.com:message:received:content_uzfowo0208] 2022-09-22 22:36:18 | [Mutex] waiting for: [user_regular6c17el0203@test-domain.com:message:received:content_uzfowo0208] 2022-09-22 22:36:33 | [Mutex] timeout. Not received [user_regular6c17el0203@test-domain.com:message:received:content_uzfowo0208] 2022-09-22 22:36:33 | [Mutex] received everything. 2022-09-22 22:36:33 | [Mutex] isItemNotified: user_regular6c17el0203@test-domain.com:message:received:content_uzfowo0208 :: false 2022-09-22 22:36:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uzfowo0208 :: true |