Test duration : 45.216s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.705s |
2020-08-25 23:28:02 |
2020-08-25 23:28:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-25 23:28:02 | ------------------------------------ 2020-08-25 23:28:02 | [Mutex] isItemNotified: node_sqglvx0203:exists :: false 2020-08-25 23:28:02 | [Mutex] waiting for: [node_sqglvx0203:create_node] 2020-08-25 23:28:02 | [Mutex] received everything. 2020-08-25 23:28:02 | [Mutex] isItemNotified: node_sqglvx0203:create_node:success :: true 2020-08-25 23:28:02 | [Mutex] waiting for: [node_sqglvx0203:subscribe_node] 2020-08-25 23:28:02 | [Mutex] waiting for: [node_sqglvx0203:subscribe_node] 2020-08-25 23:28:02 | [Mutex] received everything. 2020-08-25 23:28:02 | [Mutex] isItemNotified: node_sqglvx0203:subscribe_node:success :: true 2020-08-25 23:28:02 | ===== publishing normal message (to online) 2020-08-25 23:28:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 23:28:02 | command: <data><node>node_sqglvx0203</node><entry><content>content_6ixwax0204</content></entry></data> 2020-08-25 23:28:02 | target: http://localhost:8088 2020-08-25 23:28:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-25 23:28:02 | entity: <data><node>node_sqglvx0203</node><entry><content>content_6ixwax0204</content></entry></data> 2020-08-25 23:28:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 06:28:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 23:28:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>804e3eca-0fec-41e5-9de0-c1db6f914dce</value></item-id></result> 2020-08-25 23:28:02 | contains: true 2020-08-25 23:28:02 | [Mutex] received everything. 2020-08-25 23:28:02 | [Mutex] isItemNotified: user_regular4v6ef40202@test-domain.com:message:received:content_6ixwax0204 :: true 2020-08-25 23:28:02 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-25 23:28:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 23:28:02 | command: <data><node>node_sqglvx0203</node><expire-at>2020-08-26T06:27:57Z</expire-at><entry><content>content_jygs230205</content></entry></data> 2020-08-25 23:28:02 | target: http://localhost:8088 2020-08-25 23:28:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-25 23:28:02 | entity: <data><node>node_sqglvx0203</node><expire-at>2020-08-26T06:27:57Z</expire-at><entry><content>content_jygs230205</content></entry></data> 2020-08-25 23:28:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 06:28:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 23:28:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0ba25a65-e895-4d99-9ce7-3f06453a4f96</value></item-id></result> 2020-08-25 23:28:02 | contains: true 2020-08-25 23:28:02 | [Mutex] waiting for: [user_regular4v6ef40202@test-domain.com:message:received:content_jygs230205] 2020-08-25 23:28:17 | [Mutex] timeout. Not received [user_regular4v6ef40202@test-domain.com:message:received:content_jygs230205] 2020-08-25 23:28:17 | [Mutex] isItemNotified: user_regular4v6ef40202@test-domain.com:message:received:content_jygs230205 :: false 2020-08-25 23:28:17 | ===== publishing normal message (to offline) 2020-08-25 23:28:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 23:28:17 | command: <data><node>node_sqglvx0203</node><entry><content>content_ai27cb0206</content></entry></data> 2020-08-25 23:28:17 | target: http://localhost:8088 2020-08-25 23:28:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-25 23:28:17 | entity: <data><node>node_sqglvx0203</node><entry><content>content_ai27cb0206</content></entry></data> 2020-08-25 23:28:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 06:28:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 23:28:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>89bec507-299a-41d3-b527-918fcbe0659f</value></item-id></result> 2020-08-25 23:28:17 | contains: true 2020-08-25 23:28:22 | [Mutex] waiting for: [user_regular4v6ef40202@test-domain.com:message:received:content_ai27cb0206] 2020-08-25 23:28:22 | [Mutex] received everything. 2020-08-25 23:28:22 | [Mutex] isItemNotified: user_regular4v6ef40202@test-domain.com:message:received:content_ai27cb0206 :: true 2020-08-25 23:28:22 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-25 23:28:22 | [Mutex] received everything. 2020-08-25 23:28:22 | [Mutex] isItemNotified: node_sqglvx0203:subscribe_node:success :: true 2020-08-25 23:28:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 23:28:22 | command: <data><node>node_sqglvx0203</node><expire-at>2020-08-26T06:28:27Z</expire-at><entry><content>content_qyu6vw0207</content></entry></data> 2020-08-25 23:28:22 | target: http://localhost:8088 2020-08-25 23:28:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-25 23:28:22 | entity: <data><node>node_sqglvx0203</node><expire-at>2020-08-26T06:28:27Z</expire-at><entry><content>content_qyu6vw0207</content></entry></data> 2020-08-25 23:28:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 06:28:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 23:28:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>91d764b0-2b7e-40a9-bad1-0acf08621900</value></item-id></result> 2020-08-25 23:28:22 | contains: true 2020-08-25 23:28:30 | [Mutex] waiting for: [user_regular4v6ef40202@test-domain.com:message:received:content_qyu6vw0207] 2020-08-25 23:28:30 | [Mutex] waiting for: [user_regular4v6ef40202@test-domain.com:message:received:content_qyu6vw0207] 2020-08-25 23:28:45 | [Mutex] timeout. Not received [user_regular4v6ef40202@test-domain.com:message:received:content_qyu6vw0207] 2020-08-25 23:28:45 | [Mutex] received everything. 2020-08-25 23:28:45 | [Mutex] isItemNotified: user_regular4v6ef40202@test-domain.com:message:received:content_qyu6vw0207 :: false 2020-08-25 23:28:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qyu6vw0207 :: true |