Test duration: 45.533s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.696s |
2019-12-03 20:43:53 |
2019-12-03 20:43:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2019-12-03 20:43:53 | ------------------------------------ 2019-12-03 20:43:53 | [Mutex] isItemNotified: node_umbwd90184:exists :: false 2019-12-03 20:43:53 | [Mutex] waiting for: [node_umbwd90184:create_node] 2019-12-03 20:43:53 | [Mutex] received everything. 2019-12-03 20:43:53 | [Mutex] isItemNotified: node_umbwd90184:create_node:success :: true 2019-12-03 20:43:53 | [Mutex] waiting for: [node_umbwd90184:subscribe_node] 2019-12-03 20:43:53 | [Mutex] received everything. 2019-12-03 20:43:53 | [Mutex] isItemNotified: node_umbwd90184:subscribe_node:success :: true 2019-12-03 20:43:53 | ===== publishing normal message (to online) 2019-12-03 20:43:53 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-12-03 20:43:53 | command: <data><node>node_umbwd90184</node><entry><content>content_u9kir90185</content></entry></data> 2019-12-03 20:43:53 | target: http://localhost:8088 2019-12-03 20:43:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-12-03 20:43:53 | entity: <data><node>node_umbwd90184</node><entry><content>content_u9kir90185</content></entry></data> 2019-12-03 20:43:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Dec 2019 04:43:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-12-03 20:43:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>91484524-e824-435a-b65f-3720c60ff2f3</value></item-id></result> 2019-12-03 20:43:53 | contains: true 2019-12-03 20:43:53 | [Mutex] received everything. 2019-12-03 20:43:53 | [Mutex] isItemNotified: user_regular8pe7xi0183@localhost:message:received:content_u9kir90185 :: true 2019-12-03 20:43:53 | ===== publishing already old message - expecting message being filtered out (to online) 2019-12-03 20:43:53 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-12-03 20:43:53 | command: <data><node>node_umbwd90184</node><expire-at>2019-12-04T04:43:48Z</expire-at><entry><content>content_75x7sf0186</content></entry></data> 2019-12-03 20:43:53 | target: http://localhost:8088 2019-12-03 20:43:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-12-03 20:43:53 | entity: <data><node>node_umbwd90184</node><expire-at>2019-12-04T04:43:48Z</expire-at><entry><content>content_75x7sf0186</content></entry></data> 2019-12-03 20:43:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Dec 2019 04:43:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-12-03 20:43:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>52663432-55cf-4629-b986-125d8bc4b0d0</value></item-id></result> 2019-12-03 20:43:53 | contains: true 2019-12-03 20:43:53 | [Mutex] waiting for: [user_regular8pe7xi0183@localhost:message:received:content_75x7sf0186] 2019-12-03 20:44:08 | [Mutex] timeout. Not received [user_regular8pe7xi0183@localhost:message:received:content_75x7sf0186] 2019-12-03 20:44:08 | [Mutex] isItemNotified: user_regular8pe7xi0183@localhost:message:received:content_75x7sf0186 :: false 2019-12-03 20:44:08 | ===== publishing normal message (to offline) 2019-12-03 20:44:08 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-12-03 20:44:08 | command: <data><node>node_umbwd90184</node><entry><content>content_3zsxe30187</content></entry></data> 2019-12-03 20:44:08 | target: http://localhost:8088 2019-12-03 20:44:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2019-12-03 20:44:08 | entity: <data><node>node_umbwd90184</node><entry><content>content_3zsxe30187</content></entry></data> 2019-12-03 20:44:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Dec 2019 04:44:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-12-03 20:44:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f9f1e67e-ff80-48b9-aaa2-eef8bfa3403d</value></item-id></result> 2019-12-03 20:44:09 | contains: true 2019-12-03 20:44:14 | [Mutex] waiting for: [user_regular8pe7xi0183@localhost:message:received:content_3zsxe30187] 2019-12-03 20:44:14 | [Mutex] waiting for: [user_regular8pe7xi0183@localhost:message:received:content_3zsxe30187] 2019-12-03 20:44:14 | [Mutex] received everything. 2019-12-03 20:44:14 | [Mutex] isItemNotified: user_regular8pe7xi0183@localhost:message:received:content_3zsxe30187 :: true 2019-12-03 20:44:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2019-12-03 20:44:14 | [Mutex] received everything. 2019-12-03 20:44:14 | [Mutex] isItemNotified: node_umbwd90184:subscribe_node:success :: true 2019-12-03 20:44:14 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-12-03 20:44:14 | command: <data><node>node_umbwd90184</node><expire-at>2019-12-04T04:44:19Z</expire-at><entry><content>content_tmh5ub0188</content></entry></data> 2019-12-03 20:44:14 | target: http://localhost:8088 2019-12-03 20:44:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2019-12-03 20:44:14 | entity: <data><node>node_umbwd90184</node><expire-at>2019-12-04T04:44:19Z</expire-at><entry><content>content_tmh5ub0188</content></entry></data> 2019-12-03 20:44:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 04 Dec 2019 04:44:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-12-03 20:44:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>534d52d9-d1e1-4884-881a-058362f19b2f</value></item-id></result> 2019-12-03 20:44:14 | contains: true 2019-12-03 20:44:22 | [Mutex] waiting for: [user_regular8pe7xi0183@localhost:message:received:content_tmh5ub0188] 2019-12-03 20:44:22 | [Mutex] waiting for: [user_regular8pe7xi0183@localhost:message:received:content_tmh5ub0188] 2019-12-03 20:44:37 | [Mutex] timeout. Not received [user_regular8pe7xi0183@localhost:message:received:content_tmh5ub0188] 2019-12-03 20:44:37 | [Mutex] received everything. 2019-12-03 20:44:37 | [Mutex] isItemNotified: user_regular8pe7xi0183@localhost:message:received:content_tmh5ub0188 :: false 2019-12-03 20:44:37 | [Mutex] isItemNotified: admin@localhost:message:received:content_tmh5ub0188 :: true |