Speaking of an isolation transformer and measuring with an oscilloscope on SMPS.
Does it mean that I must use SMPS AND oscilloscope as well with an isolation transformer or ONLY SMPS with isolation transformer but not oscilloscope when measuring on SMPS?
To be honest, when you need to ask this question, it better (safer) to use high voltage differential probes in combination with an isolation transformer.
An isolation transformer by itself can help for certain measurements, but it does not make measurements safe. Connecting both scope AND smps to the transformer does not enable you to perform measurements on the primary side (floating side) of the smps. When connecting the smps only to the transformer, you CAN measure on the primary side of the SMPS, BUT when you connect the ground lead of your scope, this will reference that part of the SMPS to ground, which means (all) other parts of the SMPS (parts that you would not always expect) will be floating on 230Vac voltage (for example the DC output of a non-isolated SMPS). This make this approach very dangerous to get chocked, but it does allow you to make the measurements (so you really need to know what you are doing)
In my opinion, an isolation transformer is only useful in COMBINATION with other safety measures, for example connecting the SMPS to the isolation transformer, and then measuring with isolated probes on the scope. The isolated probes on the scope ensure the SMPS does not get referenced to ground somewhere, and the isolation transformer ensures that you not get chocked by touching a single point (you can get chocked by toughing 2 points, so always probe around "with one hand in your pocket"...) Same approach can be used when probing around with a multimeter. Floating the scope I would not recommend, because when you connect the scope to the SMPS, parts of the scope can become at life potential, chocking you when you touch the scope.
So please be very careful, and read up on the subject before approaching a project like this without all the necessary tools.