Test duration : 45.024s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.682s |
2022-02-10 22:02:22 |
2022-02-10 22:02:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-10 22:02:22 | ------------------------------------ 2022-02-10 22:02:22 | [Mutex] isItemNotified: node_8ubjo90203:exists :: false 2022-02-10 22:02:22 | [Mutex] waiting for: [node_8ubjo90203:create_node] 2022-02-10 22:02:22 | [Mutex] received everything. 2022-02-10 22:02:22 | [Mutex] isItemNotified: node_8ubjo90203:create_node:success :: true 2022-02-10 22:02:22 | [Mutex] waiting for: [node_8ubjo90203:subscribe_node] 2022-02-10 22:02:22 | [Mutex] waiting for: [node_8ubjo90203:subscribe_node] 2022-02-10 22:02:22 | [Mutex] received everything. 2022-02-10 22:02:22 | [Mutex] isItemNotified: node_8ubjo90203:subscribe_node:success :: true 2022-02-10 22:02:22 | ===== publishing normal message (to online) 2022-02-10 22:02:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 22:02:22 | command: <data><node>node_8ubjo90203</node><entry><content>content_za8rk0204</content></entry></data> 2022-02-10 22:02:22 | target: http://localhost:8088 2022-02-10 22:02:22 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2022-02-10 22:02:22 | entity: <data><node>node_8ubjo90203</node><entry><content>content_za8rk0204</content></entry></data> 2022-02-10 22:02:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 06:02:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 22:02:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ee182252-1c56-421b-836c-17e7fcac034d</value></item-id></result> 2022-02-10 22:02:22 | contains: true 2022-02-10 22:02:22 | [Mutex] waiting for: [user_regularsoldwu0202@test-domain.com:message:received:content_za8rk0204] 2022-02-10 22:02:22 | [Mutex] received everything. 2022-02-10 22:02:22 | [Mutex] isItemNotified: user_regularsoldwu0202@test-domain.com:message:received:content_za8rk0204 :: true 2022-02-10 22:02:22 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-10 22:02:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 22:02:22 | command: <data><node>node_8ubjo90203</node><expire-at>2022-02-11T06:02:17Z</expire-at><entry><content>content_45n02c0205</content></entry></data> 2022-02-10 22:02:22 | target: http://localhost:8088 2022-02-10 22:02:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-10 22:02:22 | entity: <data><node>node_8ubjo90203</node><expire-at>2022-02-11T06:02:17Z</expire-at><entry><content>content_45n02c0205</content></entry></data> 2022-02-10 22:02:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 06:02:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 22:02:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>861ec486-72cd-46f2-a882-d578a84945ba</value></item-id></result> 2022-02-10 22:02:22 | contains: true 2022-02-10 22:02:22 | [Mutex] waiting for: [user_regularsoldwu0202@test-domain.com:message:received:content_45n02c0205] 2022-02-10 22:02:37 | [Mutex] timeout. Not received [user_regularsoldwu0202@test-domain.com:message:received:content_45n02c0205] 2022-02-10 22:02:37 | [Mutex] isItemNotified: user_regularsoldwu0202@test-domain.com:message:received:content_45n02c0205 :: false 2022-02-10 22:02:37 | ===== publishing normal message (to offline) 2022-02-10 22:02:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 22:02:37 | command: <data><node>node_8ubjo90203</node><entry><content>content_ajt6zy0206</content></entry></data> 2022-02-10 22:02:37 | target: http://localhost:8088 2022-02-10 22:02:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-10 22:02:37 | entity: <data><node>node_8ubjo90203</node><entry><content>content_ajt6zy0206</content></entry></data> 2022-02-10 22:02:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 06:02:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 22:02:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>facd3be4-e858-40db-8247-b9c6c48a8806</value></item-id></result> 2022-02-10 22:02:37 | contains: true 2022-02-10 22:02:42 | [Mutex] waiting for: [user_regularsoldwu0202@test-domain.com:message:received:content_ajt6zy0206] 2022-02-10 22:02:42 | [Mutex] received everything. 2022-02-10 22:02:42 | [Mutex] isItemNotified: user_regularsoldwu0202@test-domain.com:message:received:content_ajt6zy0206 :: true 2022-02-10 22:02:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-10 22:02:42 | [Mutex] received everything. 2022-02-10 22:02:42 | [Mutex] isItemNotified: node_8ubjo90203:subscribe_node:success :: true 2022-02-10 22:02:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-10 22:02:42 | command: <data><node>node_8ubjo90203</node><expire-at>2022-02-11T06:02:47Z</expire-at><entry><content>content_ajf0dn0207</content></entry></data> 2022-02-10 22:02:42 | target: http://localhost:8088 2022-02-10 22:02:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-10 22:02:42 | entity: <data><node>node_8ubjo90203</node><expire-at>2022-02-11T06:02:47Z</expire-at><entry><content>content_ajf0dn0207</content></entry></data> 2022-02-10 22:02:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 11 Feb 2022 06:02:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-10 22:02:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b024579-a7a0-4d75-bef7-fe0596930efb</value></item-id></result> 2022-02-10 22:02:42 | contains: true 2022-02-10 22:02:50 | [Mutex] waiting for: [user_regularsoldwu0202@test-domain.com:message:received:content_ajf0dn0207] 2022-02-10 22:03:05 | [Mutex] timeout. Not received [user_regularsoldwu0202@test-domain.com:message:received:content_ajf0dn0207] 2022-02-10 22:03:05 | [Mutex] received everything. 2022-02-10 22:03:05 | [Mutex] isItemNotified: user_regularsoldwu0202@test-domain.com:message:received:content_ajf0dn0207 :: false 2022-02-10 22:03:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ajf0dn0207 :: true |