Test duration : 45.258s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.710s |
2020-09-17 23:18:30 |
2020-09-17 23:18:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-17 23:18:30 | ------------------------------------ 2020-09-17 23:18:30 | [Mutex] isItemNotified: node_nq5gyg0203:exists :: false 2020-09-17 23:18:30 | [Mutex] waiting for: [node_nq5gyg0203:create_node] 2020-09-17 23:18:30 | [Mutex] received everything. 2020-09-17 23:18:30 | [Mutex] isItemNotified: node_nq5gyg0203:create_node:success :: true 2020-09-17 23:18:30 | [Mutex] waiting for: [node_nq5gyg0203:subscribe_node] 2020-09-17 23:18:30 | [Mutex] received everything. 2020-09-17 23:18:30 | [Mutex] isItemNotified: node_nq5gyg0203:subscribe_node:success :: true 2020-09-17 23:18:30 | ===== publishing normal message (to online) 2020-09-17 23:18:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-17 23:18:30 | command: <data><node>node_nq5gyg0203</node><entry><content>content_8oa0mg0204</content></entry></data> 2020-09-17 23:18:30 | target: http://localhost:8088 2020-09-17 23:18:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-17 23:18:30 | entity: <data><node>node_nq5gyg0203</node><entry><content>content_8oa0mg0204</content></entry></data> 2020-09-17 23:18:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 06:18:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-17 23:18:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fdcec22d-e3d7-4668-bfcb-25fff0c2fb36</value></item-id></result> 2020-09-17 23:18:30 | contains: true 2020-09-17 23:18:30 | [Mutex] received everything. 2020-09-17 23:18:30 | [Mutex] isItemNotified: user_regularff2pij0202@test-domain.com:message:received:content_8oa0mg0204 :: true 2020-09-17 23:18:30 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-17 23:18:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-17 23:18:30 | command: <data><node>node_nq5gyg0203</node><expire-at>2020-09-18T06:18:25Z</expire-at><entry><content>content_1wfsf70205</content></entry></data> 2020-09-17 23:18:30 | target: http://localhost:8088 2020-09-17 23:18:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-17 23:18:30 | entity: <data><node>node_nq5gyg0203</node><expire-at>2020-09-18T06:18:25Z</expire-at><entry><content>content_1wfsf70205</content></entry></data> 2020-09-17 23:18:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 06:18:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-17 23:18:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>37402168-ecce-4fd2-aa14-c52fec503846</value></item-id></result> 2020-09-17 23:18:30 | contains: true 2020-09-17 23:18:30 | [Mutex] waiting for: [user_regularff2pij0202@test-domain.com:message:received:content_1wfsf70205] 2020-09-17 23:18:45 | [Mutex] timeout. Not received [user_regularff2pij0202@test-domain.com:message:received:content_1wfsf70205] 2020-09-17 23:18:45 | [Mutex] isItemNotified: user_regularff2pij0202@test-domain.com:message:received:content_1wfsf70205 :: false 2020-09-17 23:18:45 | ===== publishing normal message (to offline) 2020-09-17 23:18:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-17 23:18:45 | command: <data><node>node_nq5gyg0203</node><entry><content>content_n6ymn10206</content></entry></data> 2020-09-17 23:18:45 | target: http://localhost:8088 2020-09-17 23:18:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-17 23:18:45 | entity: <data><node>node_nq5gyg0203</node><entry><content>content_n6ymn10206</content></entry></data> 2020-09-17 23:18:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 06:18:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-17 23:18:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f06385e6-288e-462f-9e5b-e4ea0139f93c</value></item-id></result> 2020-09-17 23:18:46 | contains: true 2020-09-17 23:18:51 | [Mutex] waiting for: [user_regularff2pij0202@test-domain.com:message:received:content_n6ymn10206] 2020-09-17 23:18:51 | [Mutex] received everything. 2020-09-17 23:18:51 | [Mutex] isItemNotified: user_regularff2pij0202@test-domain.com:message:received:content_n6ymn10206 :: true 2020-09-17 23:18:51 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-17 23:18:51 | [Mutex] received everything. 2020-09-17 23:18:51 | [Mutex] isItemNotified: node_nq5gyg0203:subscribe_node:success :: true 2020-09-17 23:18:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-17 23:18:51 | command: <data><node>node_nq5gyg0203</node><expire-at>2020-09-18T06:18:56Z</expire-at><entry><content>content_wi9j770207</content></entry></data> 2020-09-17 23:18:51 | target: http://localhost:8088 2020-09-17 23:18:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-17 23:18:51 | entity: <data><node>node_nq5gyg0203</node><expire-at>2020-09-18T06:18:56Z</expire-at><entry><content>content_wi9j770207</content></entry></data> 2020-09-17 23:18:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 06:18:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-17 23:18:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>732d53fa-d704-4e29-b1c8-e10954b10d48</value></item-id></result> 2020-09-17 23:18:51 | contains: true 2020-09-17 23:18:59 | [Mutex] waiting for: [user_regularff2pij0202@test-domain.com:message:received:content_wi9j770207] 2020-09-17 23:18:59 | [Mutex] waiting for: [user_regularff2pij0202@test-domain.com:message:received:content_wi9j770207] 2020-09-17 23:18:59 | [Mutex] waiting for: [user_regularff2pij0202@test-domain.com:message:received:content_wi9j770207] 2020-09-17 23:19:14 | [Mutex] timeout. Not received [user_regularff2pij0202@test-domain.com:message:received:content_wi9j770207] 2020-09-17 23:19:14 | [Mutex] received everything. 2020-09-17 23:19:14 | [Mutex] isItemNotified: user_regularff2pij0202@test-domain.com:message:received:content_wi9j770207 :: false 2020-09-17 23:19:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wi9j770207 :: true |