There is more to Venezuela's failure than just its aspects of socialism.
Socialism comes in many different forms, as does capitalism. If a country's degree of socialism can be paid for without borrowing or rampant inflation, it might be considered successful, at least to those on the receiving end. Those on the paying end likely perceive it differently. If it depends on constant, ever increasing debt or inflation, it will eventually collapse. No Ponzi scheme can go on forever.
I'm not sure I would call India a successful country--or a socialist country. Maybe working toward being a successful socialist country. The hundreds of thousands, and maybe millions, of children whose daily lives consists of picking though trash dumps to survive, or the hundreds of millions living in small villages and the slums of the big cities in shelters I wouldn't even relegate to the "shack" class would not recognize the socialism. For them, there is no professional health care, free or otherwise, no education, free or otherwise. Life is good for many and getting better thanks to foreign investment and they may be getting some benefits from socialistic laws but the country as a whole is a third world pit and hundreds of millions receive little to nothing from government. Many areas are virtually lawless. Witchcraft is common.
China. That's a whole different animal. Until recently, it operated under strict central control of every aspect of life. The government's goals were more concerned with absolute control of the population and building a modern military complex than providing for the general citizen's welfare. Any socialism came about more as a way to keep the population healthy and educated enough to achieve the central government's goals than as acts of altruism. China's purges cleaned out many of the types of populations that are an economic drain on other economies.
Both India and China have endured. Successful socialist countries? Not sure the majority of their citizens would agree. A friend from India and an acquaintance from China would certainly not agree. Neither country would be doing nearly as well as they are if western businesses had not invested heavily in them. It has not been that long ago that products from India and China were a joke quality wise.
A better model for Socialism might be the Scandinavian countries but I have read that the influx of Muslim refugees is starting to create a financial strain.