For example, a commercially used technique employs a tool which can be lowered on a wireline to a cased section of a borehole, the tool including a shaped explosive charge for perforating the casing, and testing and sampling devices for measuring hydraulic parameters of the environment behind the casing and/or for taking samples of fluids from said environment.