Test duration : 45.533s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.669s |
2021-02-06 21:34:58 |
2021-02-06 21:34:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-06 21:34:58 | ------------------------------------ 2021-02-06 21:34:58 | [Mutex] isItemNotified: node_kangf50203:exists :: false 2021-02-06 21:34:58 | [Mutex] waiting for: [node_kangf50203:create_node] 2021-02-06 21:34:58 | [Mutex] received everything. 2021-02-06 21:34:58 | [Mutex] isItemNotified: node_kangf50203:create_node:success :: true 2021-02-06 21:34:58 | [Mutex] waiting for: [node_kangf50203:subscribe_node] 2021-02-06 21:34:58 | [Mutex] waiting for: [node_kangf50203:subscribe_node] 2021-02-06 21:34:58 | [Mutex] received everything. 2021-02-06 21:34:58 | [Mutex] isItemNotified: node_kangf50203:subscribe_node:success :: true 2021-02-06 21:34:58 | ===== publishing normal message (to online) 2021-02-06 21:34:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:34:58 | command: <data><node>node_kangf50203</node><entry><content>content_xl6uah0204</content></entry></data> 2021-02-06 21:34:58 | target: http://localhost:8088 2021-02-06 21:34:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-06 21:34:58 | entity: <data><node>node_kangf50203</node><entry><content>content_xl6uah0204</content></entry></data> 2021-02-06 21:34:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:34:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:34:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>afa6cf05-8c1b-47a7-8283-f1d3d9bc260a</value></item-id></result> 2021-02-06 21:34:58 | contains: true 2021-02-06 21:34:58 | [Mutex] received everything. 2021-02-06 21:34:58 | [Mutex] isItemNotified: user_regularuxwerx0202@test-domain.com:message:received:content_xl6uah0204 :: true 2021-02-06 21:34:58 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-06 21:34:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:34:58 | command: <data><node>node_kangf50203</node><expire-at>2021-02-07T05:34:53Z</expire-at><entry><content>content_cr0hqp0205</content></entry></data> 2021-02-06 21:34:58 | target: http://localhost:8088 2021-02-06 21:34:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-06 21:34:58 | entity: <data><node>node_kangf50203</node><expire-at>2021-02-07T05:34:53Z</expire-at><entry><content>content_cr0hqp0205</content></entry></data> 2021-02-06 21:34:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:34:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:34:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5435b1cf-e59e-47bd-acde-5a9270834b52</value></item-id></result> 2021-02-06 21:34:58 | contains: true 2021-02-06 21:34:58 | [Mutex] waiting for: [user_regularuxwerx0202@test-domain.com:message:received:content_cr0hqp0205] 2021-02-06 21:35:13 | [Mutex] timeout. Not received [user_regularuxwerx0202@test-domain.com:message:received:content_cr0hqp0205] 2021-02-06 21:35:13 | [Mutex] isItemNotified: user_regularuxwerx0202@test-domain.com:message:received:content_cr0hqp0205 :: false 2021-02-06 21:35:13 | ===== publishing normal message (to offline) 2021-02-06 21:35:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:35:13 | command: <data><node>node_kangf50203</node><entry><content>content_ffr9nv0206</content></entry></data> 2021-02-06 21:35:13 | target: http://localhost:8088 2021-02-06 21:35:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-06 21:35:13 | entity: <data><node>node_kangf50203</node><entry><content>content_ffr9nv0206</content></entry></data> 2021-02-06 21:35:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:35:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:35:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>078ee538-d9da-4dde-9550-a5d3312885d1</value></item-id></result> 2021-02-06 21:35:13 | contains: true 2021-02-06 21:35:18 | [Mutex] waiting for: [user_regularuxwerx0202@test-domain.com:message:received:content_ffr9nv0206] 2021-02-06 21:35:18 | [Mutex] received everything. 2021-02-06 21:35:18 | [Mutex] isItemNotified: user_regularuxwerx0202@test-domain.com:message:received:content_ffr9nv0206 :: true 2021-02-06 21:35:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-06 21:35:18 | [Mutex] received everything. 2021-02-06 21:35:18 | [Mutex] isItemNotified: node_kangf50203:subscribe_node:success :: true 2021-02-06 21:35:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 21:35:18 | command: <data><node>node_kangf50203</node><expire-at>2021-02-07T05:35:23Z</expire-at><entry><content>content_eayklz0207</content></entry></data> 2021-02-06 21:35:18 | target: http://localhost:8088 2021-02-06 21:35:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-06 21:35:18 | entity: <data><node>node_kangf50203</node><expire-at>2021-02-07T05:35:23Z</expire-at><entry><content>content_eayklz0207</content></entry></data> 2021-02-06 21:35:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 05:35:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 21:35:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4690c348-7ac0-457a-beff-25a85a08291e</value></item-id></result> 2021-02-06 21:35:18 | contains: true 2021-02-06 21:35:26 | [Mutex] waiting for: [user_regularuxwerx0202@test-domain.com:message:received:content_eayklz0207] 2021-02-06 21:35:41 | [Mutex] timeout. Not received [user_regularuxwerx0202@test-domain.com:message:received:content_eayklz0207] 2021-02-06 21:35:41 | [Mutex] received everything. 2021-02-06 21:35:41 | [Mutex] isItemNotified: user_regularuxwerx0202@test-domain.com:message:received:content_eayklz0207 :: false 2021-02-06 21:35:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_eayklz0207 :: true |