Test duration : 45.191s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.778s |
2021-02-06 21:36:03 |
2021-02-06 21:36:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-06 21:36:03 | ------------------------------------ 2021-02-06 21:36:03 | [Mutex] isItemNotified: node_lhh4mp0052:exists :: false 2021-02-06 21:36:03 | [Mutex] waiting for: [node_lhh4mp0052:create_node] 2021-02-06 21:36:03 | [Mutex] received everything. 2021-02-06 21:36:03 | [Mutex] isItemNotified: node_lhh4mp0052:create_node:success :: true 2021-02-06 21:36:03 | [Mutex] waiting for: [node_lhh4mp0052:subscribe_node] 2021-02-06 21:36:03 | [Mutex] received everything. 2021-02-06 21:36:03 | [Mutex] isItemNotified: node_lhh4mp0052:subscribe_node:success :: true 2021-02-06 21:36:03 | ===== publishing normal message (to online) 2021-02-06 21:36:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:36:03 | command: <data><node>node_lhh4mp0052</node><entry><content>content_9bjwwh0053</content></entry></data> 2021-02-06 21:36:03 | target: http://localhost:8088 2021-02-06 21:36:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-06 21:36:03 | entity: <data><node>node_lhh4mp0052</node><entry><content>content_9bjwwh0053</content></entry></data> 2021-02-06 21:36:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:36:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:36:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b0054549-bdce-48b1-b165-37ade03d131f</value></item-id></result> 2021-02-06 21:36:03 | contains: true 2021-02-06 21:36:03 | [Mutex] received everything. 2021-02-06 21:36:03 | [Mutex] isItemNotified: user_regular8l50nw0051@test-domain.com:message:received:content_9bjwwh0053 :: true 2021-02-06 21:36:03 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-06 21:36:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:36:03 | command: <data><node>node_lhh4mp0052</node><expire-at>2021-02-07T05:35:58Z</expire-at><entry><content>content_8w0rrq0054</content></entry></data> 2021-02-06 21:36:03 | target: http://localhost:8088 2021-02-06 21:36:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-06 21:36:03 | entity: <data><node>node_lhh4mp0052</node><expire-at>2021-02-07T05:35:58Z</expire-at><entry><content>content_8w0rrq0054</content></entry></data> 2021-02-06 21:36:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:36:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:36:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d4ed3009-1cc4-4d6e-a9db-cc39a90ea5fc</value></item-id></result> 2021-02-06 21:36:03 | contains: true 2021-02-06 21:36:03 | [Mutex] waiting for: [user_regular8l50nw0051@test-domain.com:message:received:content_8w0rrq0054] 2021-02-06 21:36:18 | [Mutex] timeout. Not received [user_regular8l50nw0051@test-domain.com:message:received:content_8w0rrq0054] 2021-02-06 21:36:18 | [Mutex] isItemNotified: user_regular8l50nw0051@test-domain.com:message:received:content_8w0rrq0054 :: false 2021-02-06 21:36:18 | ===== publishing normal message (to offline) 2021-02-06 21:36:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:36:18 | command: <data><node>node_lhh4mp0052</node><entry><content>content_6co9t60055</content></entry></data> 2021-02-06 21:36:18 | target: http://localhost:8088 2021-02-06 21:36:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-06 21:36:18 | entity: <data><node>node_lhh4mp0052</node><entry><content>content_6co9t60055</content></entry></data> 2021-02-06 21:36:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:36:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:36:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>78669c8e-85de-4ce0-8456-db8d0639a836</value></item-id></result> 2021-02-06 21:36:18 | contains: true 2021-02-06 21:36:24 | [Mutex] waiting for: [user_regular8l50nw0051@test-domain.com:message:received:content_6co9t60055] 2021-02-06 21:36:24 | [Mutex] received everything. 2021-02-06 21:36:24 | [Mutex] isItemNotified: user_regular8l50nw0051@test-domain.com:message:received:content_6co9t60055 :: true 2021-02-06 21:36:24 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-06 21:36:24 | [Mutex] received everything. 2021-02-06 21:36:24 | [Mutex] isItemNotified: node_lhh4mp0052:subscribe_node:success :: true 2021-02-06 21:36:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:36:24 | command: <data><node>node_lhh4mp0052</node><expire-at>2021-02-07T05:36:29Z</expire-at><entry><content>content_ttz61k0056</content></entry></data> 2021-02-06 21:36:24 | target: http://localhost:8088 2021-02-06 21:36:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-06 21:36:24 | entity: <data><node>node_lhh4mp0052</node><expire-at>2021-02-07T05:36:29Z</expire-at><entry><content>content_ttz61k0056</content></entry></data> 2021-02-06 21:36:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:36:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:36:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2a3fcca6-a649-4e4c-b460-dcc38c1bff86</value></item-id></result> 2021-02-06 21:36:24 | contains: true 2021-02-06 21:36:32 | [Mutex] waiting for: [user_regular8l50nw0051@test-domain.com:message:received:content_ttz61k0056] 2021-02-06 21:36:47 | [Mutex] timeout. Not received [user_regular8l50nw0051@test-domain.com:message:received:content_ttz61k0056] 2021-02-06 21:36:47 | [Mutex] received everything. 2021-02-06 21:36:47 | [Mutex] isItemNotified: user_regular8l50nw0051@test-domain.com:message:received:content_ttz61k0056 :: false 2021-02-06 21:36:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ttz61k0056 :: true |