Test duration : 45.214s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.565s |
2021-06-04 22:30:38 |
2021-06-04 22:30:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-04 22:30:38 | ------------------------------------ 2021-06-04 22:30:38 | [Mutex] isItemNotified: node_tztbn90203:exists :: false 2021-06-04 22:30:38 | [Mutex] waiting for: [node_tztbn90203:create_node] 2021-06-04 22:30:38 | [Mutex] received everything. 2021-06-04 22:30:38 | [Mutex] isItemNotified: node_tztbn90203:create_node:success :: true 2021-06-04 22:30:38 | [Mutex] waiting for: [node_tztbn90203:subscribe_node] 2021-06-04 22:30:38 | [Mutex] received everything. 2021-06-04 22:30:38 | [Mutex] isItemNotified: node_tztbn90203:subscribe_node:success :: true 2021-06-04 22:30:38 | ===== publishing normal message (to online) 2021-06-04 22:30:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-04 22:30:38 | command: <data><node>node_tztbn90203</node><entry><content>content_2944ts0204</content></entry></data> 2021-06-04 22:30:38 | target: http://localhost:8088 2021-06-04 22:30:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-04 22:30:38 | entity: <data><node>node_tztbn90203</node><entry><content>content_2944ts0204</content></entry></data> 2021-06-04 22:30:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:30:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-04 22:30:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5880ef2b-2371-4966-9d39-4e8c511630f3</value></item-id></result> 2021-06-04 22:30:38 | contains: true 2021-06-04 22:30:38 | [Mutex] received everything. 2021-06-04 22:30:38 | [Mutex] isItemNotified: user_regularj1nszb0202@test-domain.com:message:received:content_2944ts0204 :: true 2021-06-04 22:30:38 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-04 22:30:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-04 22:30:38 | command: <data><node>node_tztbn90203</node><expire-at>2021-06-05T05:30:33Z</expire-at><entry><content>content_9ujno70205</content></entry></data> 2021-06-04 22:30:38 | target: http://localhost:8088 2021-06-04 22:30:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-04 22:30:38 | entity: <data><node>node_tztbn90203</node><expire-at>2021-06-05T05:30:33Z</expire-at><entry><content>content_9ujno70205</content></entry></data> 2021-06-04 22:30:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:30:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-04 22:30:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>84bcaef1-b44b-407b-98b2-d5cdef469695</value></item-id></result> 2021-06-04 22:30:38 | contains: true 2021-06-04 22:30:38 | [Mutex] waiting for: [user_regularj1nszb0202@test-domain.com:message:received:content_9ujno70205] 2021-06-04 22:30:53 | [Mutex] timeout. Not received [user_regularj1nszb0202@test-domain.com:message:received:content_9ujno70205] 2021-06-04 22:30:53 | [Mutex] isItemNotified: user_regularj1nszb0202@test-domain.com:message:received:content_9ujno70205 :: false 2021-06-04 22:30:53 | ===== publishing normal message (to offline) 2021-06-04 22:30:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-04 22:30:53 | command: <data><node>node_tztbn90203</node><entry><content>content_2qw8xt0206</content></entry></data> 2021-06-04 22:30:53 | target: http://localhost:8088 2021-06-04 22:30:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-04 22:30:53 | entity: <data><node>node_tztbn90203</node><entry><content>content_2qw8xt0206</content></entry></data> 2021-06-04 22:30:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:30:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-04 22:30:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fdeea22d-7f13-4688-ab4b-1ce016783da7</value></item-id></result> 2021-06-04 22:30:53 | contains: true 2021-06-04 22:30:58 | [Mutex] waiting for: [user_regularj1nszb0202@test-domain.com:message:received:content_2qw8xt0206] 2021-06-04 22:30:58 | [Mutex] received everything. 2021-06-04 22:30:58 | [Mutex] isItemNotified: user_regularj1nszb0202@test-domain.com:message:received:content_2qw8xt0206 :: true 2021-06-04 22:30:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-04 22:30:58 | [Mutex] received everything. 2021-06-04 22:30:58 | [Mutex] isItemNotified: node_tztbn90203:subscribe_node:success :: true 2021-06-04 22:30:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-04 22:30:58 | command: <data><node>node_tztbn90203</node><expire-at>2021-06-05T05:31:03Z</expire-at><entry><content>content_pr3j5r0207</content></entry></data> 2021-06-04 22:30:58 | target: http://localhost:8088 2021-06-04 22:30:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-04 22:30:58 | entity: <data><node>node_tztbn90203</node><expire-at>2021-06-05T05:31:03Z</expire-at><entry><content>content_pr3j5r0207</content></entry></data> 2021-06-04 22:30:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:30:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-04 22:30:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>25852496-c677-4340-9360-bc3601fe9683</value></item-id></result> 2021-06-04 22:30:58 | contains: true 2021-06-04 22:31:06 | [Mutex] waiting for: [user_regularj1nszb0202@test-domain.com:message:received:content_pr3j5r0207] 2021-06-04 22:31:21 | [Mutex] timeout. Not received [user_regularj1nszb0202@test-domain.com:message:received:content_pr3j5r0207] 2021-06-04 22:31:21 | [Mutex] received everything. 2021-06-04 22:31:21 | [Mutex] isItemNotified: user_regularj1nszb0202@test-domain.com:message:received:content_pr3j5r0207 :: false 2021-06-04 22:31:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pr3j5r0207 :: true |