If you are testing a particular endpoint, how is that not a goal? "No goal" would be calculating the number of dice rolls necessary to get "a" number, not "this" number.
A goal implies a result achieved by some deliberate action or plan. We set goals to obtain a result. There is no particular way I can roll the dice to get the result I want. The process of rolling the dice could care less about my goal, and the outcome is independent of how I roll the dice. If rolling a 7 is my goal, I won’t get it any faster or slower just because I made it a goal, but only because of the probability of the roll and how fast I can throw the dice. Because 7 is a possible enpoint, I can calculate a probability.