public void applyLoad(Load load, int measurements) {
        addMeasurements(load, measurements);
        fixture.tester().clock().advance(samplingInterval.negated().multipliedBy(measurements));
        addQueryRateMeasurements(measurements, t -> t == 0 ? 200.0 : 100.0); // Query traffic only
    }
Adds measurements with the given resource value and ideal values for the other resources,
scaled to take one node redundancy into account.
(I.e we adjust to measure a bit lower load than "naively" wanted to offset for the autoscaler
wanting to see the ideal load with one node missing.)
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/Loader.java