Test duration : 45.646s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.744s |
2021-04-29 23:07:17 |
2021-04-29 23:07:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-29 23:07:17 | ------------------------------------ 2021-04-29 23:07:17 | [Mutex] isItemNotified: node_teqoex0203:exists :: false 2021-04-29 23:07:17 | [Mutex] waiting for: [node_teqoex0203:create_node] 2021-04-29 23:07:17 | [Mutex] received everything. 2021-04-29 23:07:17 | [Mutex] isItemNotified: node_teqoex0203:create_node:success :: true 2021-04-29 23:07:17 | [Mutex] waiting for: [node_teqoex0203:subscribe_node] 2021-04-29 23:07:17 | [Mutex] received everything. 2021-04-29 23:07:17 | [Mutex] isItemNotified: node_teqoex0203:subscribe_node:success :: true 2021-04-29 23:07:17 | ===== publishing normal message (to online) 2021-04-29 23:07:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 23:07:17 | command: <data><node>node_teqoex0203</node><entry><content>content_pd1ejd0204</content></entry></data> 2021-04-29 23:07:17 | target: http://localhost:8088 2021-04-29 23:07:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-29 23:07:17 | entity: <data><node>node_teqoex0203</node><entry><content>content_pd1ejd0204</content></entry></data> 2021-04-29 23:07:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 06:07:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 23:07:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d60ef1a4-8c8e-4eb1-a736-777c4e4f6134</value></item-id></result> 2021-04-29 23:07:17 | contains: true 2021-04-29 23:07:17 | [Mutex] waiting for: [user_regularjwmj5k0202@test-domain.com:message:received:content_pd1ejd0204] 2021-04-29 23:07:17 | [Mutex] received everything. 2021-04-29 23:07:17 | [Mutex] isItemNotified: user_regularjwmj5k0202@test-domain.com:message:received:content_pd1ejd0204 :: true 2021-04-29 23:07:17 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-29 23:07:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 23:07:17 | command: <data><node>node_teqoex0203</node><expire-at>2021-04-30T06:07:12Z</expire-at><entry><content>content_3o8x520205</content></entry></data> 2021-04-29 23:07:17 | target: http://localhost:8088 2021-04-29 23:07:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-29 23:07:17 | entity: <data><node>node_teqoex0203</node><expire-at>2021-04-30T06:07:12Z</expire-at><entry><content>content_3o8x520205</content></entry></data> 2021-04-29 23:07:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 06:07:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 23:07:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d5fe5cf2-3913-4f19-8e2d-d44944b8d4ee</value></item-id></result> 2021-04-29 23:07:17 | contains: true 2021-04-29 23:07:17 | [Mutex] waiting for: [user_regularjwmj5k0202@test-domain.com:message:received:content_3o8x520205] 2021-04-29 23:07:32 | [Mutex] timeout. Not received [user_regularjwmj5k0202@test-domain.com:message:received:content_3o8x520205] 2021-04-29 23:07:32 | [Mutex] isItemNotified: user_regularjwmj5k0202@test-domain.com:message:received:content_3o8x520205 :: false 2021-04-29 23:07:32 | ===== publishing normal message (to offline) 2021-04-29 23:07:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 23:07:32 | command: <data><node>node_teqoex0203</node><entry><content>content_nazuxj0206</content></entry></data> 2021-04-29 23:07:32 | target: http://localhost:8088 2021-04-29 23:07:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-29 23:07:32 | entity: <data><node>node_teqoex0203</node><entry><content>content_nazuxj0206</content></entry></data> 2021-04-29 23:07:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 06:07:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 23:07:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ed67b7fd-6a36-498a-800f-224720b56c8b</value></item-id></result> 2021-04-29 23:07:32 | contains: true 2021-04-29 23:07:38 | [Mutex] waiting for: [user_regularjwmj5k0202@test-domain.com:message:received:content_nazuxj0206] 2021-04-29 23:07:38 | [Mutex] received everything. 2021-04-29 23:07:38 | [Mutex] isItemNotified: user_regularjwmj5k0202@test-domain.com:message:received:content_nazuxj0206 :: true 2021-04-29 23:07:38 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-29 23:07:38 | [Mutex] received everything. 2021-04-29 23:07:38 | [Mutex] isItemNotified: node_teqoex0203:subscribe_node:success :: true 2021-04-29 23:07:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-29 23:07:38 | command: <data><node>node_teqoex0203</node><expire-at>2021-04-30T06:07:43Z</expire-at><entry><content>content_i0m4lh0207</content></entry></data> 2021-04-29 23:07:38 | target: http://localhost:8088 2021-04-29 23:07:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-29 23:07:38 | entity: <data><node>node_teqoex0203</node><expire-at>2021-04-30T06:07:43Z</expire-at><entry><content>content_i0m4lh0207</content></entry></data> 2021-04-29 23:07:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Apr 2021 06:07:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-29 23:07:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d2b2e83d-50ec-4410-8030-5ac1581f191d</value></item-id></result> 2021-04-29 23:07:38 | contains: true 2021-04-29 23:07:46 | [Mutex] waiting for: [user_regularjwmj5k0202@test-domain.com:message:received:content_i0m4lh0207] 2021-04-29 23:07:46 | [Mutex] waiting for: [user_regularjwmj5k0202@test-domain.com:message:received:content_i0m4lh0207] 2021-04-29 23:08:01 | [Mutex] timeout. Not received [user_regularjwmj5k0202@test-domain.com:message:received:content_i0m4lh0207] 2021-04-29 23:08:01 | [Mutex] received everything. 2021-04-29 23:08:01 | [Mutex] isItemNotified: user_regularjwmj5k0202@test-domain.com:message:received:content_i0m4lh0207 :: false 2021-04-29 23:08:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_i0m4lh0207 :: true |