Test duration : 45.570s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.756s |
2020-09-11 23:02:58 |
2020-09-11 23:02:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-11 23:02:58 | ------------------------------------ 2020-09-11 23:02:58 | [Mutex] isItemNotified: node_gwkrk40203:exists :: false 2020-09-11 23:02:58 | [Mutex] waiting for: [node_gwkrk40203:create_node] 2020-09-11 23:02:58 | [Mutex] received everything. 2020-09-11 23:02:58 | [Mutex] isItemNotified: node_gwkrk40203:create_node:success :: true 2020-09-11 23:02:58 | [Mutex] waiting for: [node_gwkrk40203:subscribe_node] 2020-09-11 23:02:58 | [Mutex] waiting for: [node_gwkrk40203:subscribe_node] 2020-09-11 23:02:58 | [Mutex] received everything. 2020-09-11 23:02:58 | [Mutex] isItemNotified: node_gwkrk40203:subscribe_node:success :: true 2020-09-11 23:02:58 | ===== publishing normal message (to online) 2020-09-11 23:02:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 23:02:58 | command: <data><node>node_gwkrk40203</node><entry><content>content_bw1d5h0204</content></entry></data> 2020-09-11 23:02:58 | target: http://localhost:8088 2020-09-11 23:02:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-11 23:02:58 | entity: <data><node>node_gwkrk40203</node><entry><content>content_bw1d5h0204</content></entry></data> 2020-09-11 23:02:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 06:02:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 23:02:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>95584bb1-7bd8-430a-bdea-9c5991a583e7</value></item-id></result> 2020-09-11 23:02:58 | contains: true 2020-09-11 23:02:58 | [Mutex] waiting for: [user_regularoxnxz40202@test-domain.com:message:received:content_bw1d5h0204] 2020-09-11 23:02:58 | [Mutex] received everything. 2020-09-11 23:02:58 | [Mutex] isItemNotified: user_regularoxnxz40202@test-domain.com:message:received:content_bw1d5h0204 :: true 2020-09-11 23:02:58 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-11 23:02:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 23:02:58 | command: <data><node>node_gwkrk40203</node><expire-at>2020-09-12T06:02:53Z</expire-at><entry><content>content_at5tvq0205</content></entry></data> 2020-09-11 23:02:58 | target: http://localhost:8088 2020-09-11 23:02:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-11 23:02:58 | entity: <data><node>node_gwkrk40203</node><expire-at>2020-09-12T06:02:53Z</expire-at><entry><content>content_at5tvq0205</content></entry></data> 2020-09-11 23:02:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 06:02:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 23:02:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ed1ed621-1117-4f2e-8041-f922368020f5</value></item-id></result> 2020-09-11 23:02:58 | contains: true 2020-09-11 23:02:58 | [Mutex] waiting for: [user_regularoxnxz40202@test-domain.com:message:received:content_at5tvq0205] 2020-09-11 23:03:13 | [Mutex] timeout. Not received [user_regularoxnxz40202@test-domain.com:message:received:content_at5tvq0205] 2020-09-11 23:03:13 | [Mutex] isItemNotified: user_regularoxnxz40202@test-domain.com:message:received:content_at5tvq0205 :: false 2020-09-11 23:03:13 | ===== publishing normal message (to offline) 2020-09-11 23:03:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 23:03:14 | command: <data><node>node_gwkrk40203</node><entry><content>content_kyctgz0206</content></entry></data> 2020-09-11 23:03:14 | target: http://localhost:8088 2020-09-11 23:03:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-11 23:03:14 | entity: <data><node>node_gwkrk40203</node><entry><content>content_kyctgz0206</content></entry></data> 2020-09-11 23:03:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 06:03:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 23:03:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>df718377-2096-4fd5-abcc-0c4ed0ce0e42</value></item-id></result> 2020-09-11 23:03:14 | contains: true 2020-09-11 23:03:19 | [Mutex] waiting for: [user_regularoxnxz40202@test-domain.com:message:received:content_kyctgz0206] 2020-09-11 23:03:19 | [Mutex] received everything. 2020-09-11 23:03:19 | [Mutex] isItemNotified: user_regularoxnxz40202@test-domain.com:message:received:content_kyctgz0206 :: true 2020-09-11 23:03:19 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-11 23:03:19 | [Mutex] received everything. 2020-09-11 23:03:19 | [Mutex] isItemNotified: node_gwkrk40203:subscribe_node:success :: true 2020-09-11 23:03:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 23:03:19 | command: <data><node>node_gwkrk40203</node><expire-at>2020-09-12T06:03:24Z</expire-at><entry><content>content_vdyg650207</content></entry></data> 2020-09-11 23:03:19 | target: http://localhost:8088 2020-09-11 23:03:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-11 23:03:19 | entity: <data><node>node_gwkrk40203</node><expire-at>2020-09-12T06:03:24Z</expire-at><entry><content>content_vdyg650207</content></entry></data> 2020-09-11 23:03:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 06:03:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 23:03:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1a759aba-7d0f-4652-a885-b3eb6d427d25</value></item-id></result> 2020-09-11 23:03:19 | contains: true 2020-09-11 23:03:27 | [Mutex] waiting for: [user_regularoxnxz40202@test-domain.com:message:received:content_vdyg650207] 2020-09-11 23:03:27 | [Mutex] waiting for: [user_regularoxnxz40202@test-domain.com:message:received:content_vdyg650207] 2020-09-11 23:03:42 | [Mutex] timeout. Not received [user_regularoxnxz40202@test-domain.com:message:received:content_vdyg650207] 2020-09-11 23:03:42 | [Mutex] received everything. 2020-09-11 23:03:42 | [Mutex] isItemNotified: user_regularoxnxz40202@test-domain.com:message:received:content_vdyg650207 :: false 2020-09-11 23:03:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_vdyg650207 :: true |