In many oil wells, production is commingled from several layers. In such environments, understanding the properties of individual layers is essential to reservoir surveillance and production optimization. The inflow properties that typically require measuring are productivity index (PI), water cut, and static reservoir pressure. These measurements have traditionally been taken with wireline-conveyed production logging tools (PLT); however, in many wells and operating environments, completion and logistic considerations make running these tools difficult or even impossible. In those instances, an alternative is required. This paper presents a new procedure based on multirate testing in combination with distributed temperature sensors (DTS), an electric submersible pump (ESP) fitted with a gauge in the commingled fluid stream, and conventional surface testing. The additional test rates provide sufficient equations to resolve all the unknowns, whereas the DTS provides essential information such as which layers are producing and which are taking fluid, as well as a mass flowrate tool for measuring the flow rate of each layer. The procedure requires varying well flow rates over a range sufficient to ensure that all layers are producing, which in many cases requires an ESP to provide sufficient drawdown to overcome crossflow as well as a variable-speed drive to establish the test rates. The theoretical basis for the protocol is described, and an example is detailed to demonstrate the validity and robustness of the method for determining inflow properties. Finally, theoretical and practical guidelines are provided to demonstrate how the test procedure is affected by fiber-optic resolution, fluid properties, and the geothermal gradient. For wells equipped with forms of artificial lift such as ESPs, beam pumps, and progressive cavity pumps (PCPs), running PLTs is often not possible because of the completion obstruction. In such cases, this new DTS-enabled procedure has the potential of becoming the PLT substitute of the future.