Measuring resistance with the solenoid connected may not give a good result, as there may other items connected to the ignition switch.
You seem to have identified the stop solenoid, but for confirmation,
here is a link to an advertisement on Ebay, which contains several photos of a Bosch pump. The stop solenid is the part with the threaded terminal screw, and which is screwed into the square pressure head from which the four yellow capped injector unions emerge. If there is no power to the "stop" solenoid, the engine will not start. It could be better named as a go, or run solenoid.
Remember if testing with a temporary supply, you need to disconnect in order to stop engine, once started.