Test duration : 45.156s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.687s |
2021-09-19 22:56:18 |
2021-09-19 22:56:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-09-19 22:56:18 | ------------------------------------ 2021-09-19 22:56:18 | [Mutex] isItemNotified: node_jxxa600203:exists :: false 2021-09-19 22:56:18 | [Mutex] waiting for: [node_jxxa600203:create_node] 2021-09-19 22:56:18 | [Mutex] received everything. 2021-09-19 22:56:18 | [Mutex] isItemNotified: node_jxxa600203:create_node:success :: true 2021-09-19 22:56:18 | [Mutex] waiting for: [node_jxxa600203:subscribe_node] 2021-09-19 22:56:18 | [Mutex] waiting for: [node_jxxa600203:subscribe_node] 2021-09-19 22:56:18 | [Mutex] received everything. 2021-09-19 22:56:18 | [Mutex] isItemNotified: node_jxxa600203:subscribe_node:success :: true 2021-09-19 22:56:18 | ===== publishing normal message (to online) 2021-09-19 22:56:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:56:18 | command: <data><node>node_jxxa600203</node><entry><content>content_ajanhf0204</content></entry></data> 2021-09-19 22:56:18 | target: http://localhost:8088 2021-09-19 22:56:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-19 22:56:18 | entity: <data><node>node_jxxa600203</node><entry><content>content_ajanhf0204</content></entry></data> 2021-09-19 22:56:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:56:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:56:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7bd765fd-a7cc-4c47-8357-a6e13b6e9a94</value></item-id></result> 2021-09-19 22:56:18 | contains: true 2021-09-19 22:56:18 | [Mutex] received everything. 2021-09-19 22:56:18 | [Mutex] isItemNotified: user_regular9xlhv0202@test-domain.com:message:received:content_ajanhf0204 :: true 2021-09-19 22:56:18 | ===== publishing already old message - expecting message being filtered out (to online) 2021-09-19 22:56:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:56:18 | command: <data><node>node_jxxa600203</node><expire-at>2021-09-20T05:56:13Z</expire-at><entry><content>content_2pokgz0205</content></entry></data> 2021-09-19 22:56:18 | target: http://localhost:8088 2021-09-19 22:56:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-19 22:56:18 | entity: <data><node>node_jxxa600203</node><expire-at>2021-09-20T05:56:13Z</expire-at><entry><content>content_2pokgz0205</content></entry></data> 2021-09-19 22:56:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:56:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:56:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>51710eb7-604c-4d2e-9ec8-10203b043a99</value></item-id></result> 2021-09-19 22:56:18 | contains: true 2021-09-19 22:56:18 | [Mutex] waiting for: [user_regular9xlhv0202@test-domain.com:message:received:content_2pokgz0205] 2021-09-19 22:56:33 | [Mutex] timeout. Not received [user_regular9xlhv0202@test-domain.com:message:received:content_2pokgz0205] 2021-09-19 22:56:33 | [Mutex] isItemNotified: user_regular9xlhv0202@test-domain.com:message:received:content_2pokgz0205 :: false 2021-09-19 22:56:33 | ===== publishing normal message (to offline) 2021-09-19 22:56:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:56:33 | command: <data><node>node_jxxa600203</node><entry><content>content_i2zv0c0206</content></entry></data> 2021-09-19 22:56:33 | target: http://localhost:8088 2021-09-19 22:56:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-09-19 22:56:33 | entity: <data><node>node_jxxa600203</node><entry><content>content_i2zv0c0206</content></entry></data> 2021-09-19 22:56:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:56:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:56:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>74f6300c-2302-4cdd-a46c-2cbe9a73d53e</value></item-id></result> 2021-09-19 22:56:33 | contains: true 2021-09-19 22:56:38 | [Mutex] waiting for: [user_regular9xlhv0202@test-domain.com:message:received:content_i2zv0c0206] 2021-09-19 22:56:38 | [Mutex] received everything. 2021-09-19 22:56:38 | [Mutex] isItemNotified: user_regular9xlhv0202@test-domain.com:message:received:content_i2zv0c0206 :: true 2021-09-19 22:56:38 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-09-19 22:56:38 | [Mutex] received everything. 2021-09-19 22:56:38 | [Mutex] isItemNotified: node_jxxa600203:subscribe_node:success :: true 2021-09-19 22:56:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-09-19 22:56:38 | command: <data><node>node_jxxa600203</node><expire-at>2021-09-20T05:56:43Z</expire-at><entry><content>content_uk23yv0207</content></entry></data> 2021-09-19 22:56:38 | target: http://localhost:8088 2021-09-19 22:56:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-09-19 22:56:38 | entity: <data><node>node_jxxa600203</node><expire-at>2021-09-20T05:56:43Z</expire-at><entry><content>content_uk23yv0207</content></entry></data> 2021-09-19 22:56:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Sep 2021 05:56:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-09-19 22:56:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f8aba5f6-32a0-4c19-bc09-17d8556d09ea</value></item-id></result> 2021-09-19 22:56:38 | contains: true 2021-09-19 22:56:47 | [Mutex] waiting for: [user_regular9xlhv0202@test-domain.com:message:received:content_uk23yv0207] 2021-09-19 22:57:02 | [Mutex] timeout. Not received [user_regular9xlhv0202@test-domain.com:message:received:content_uk23yv0207] 2021-09-19 22:57:02 | [Mutex] received everything. 2021-09-19 22:57:02 | [Mutex] isItemNotified: user_regular9xlhv0202@test-domain.com:message:received:content_uk23yv0207 :: false 2021-09-19 22:57:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uk23yv0207 :: true |