@Test
public void testWriteRequestPerRuleMonitoringToStorage(){

    activateRequestPerRuleMonitoring(true);
    System.setProperty(MonitoringHandler.REQUEST_PER_RULE_SAMPLING_PROPERTY, "100");
    MonitoringHandler mh = new MonitoringHandler(vertx, storage, PREFIX, REQUEST_PER_RULE_MONITORING_PATH);
    PUTRequest request = new PUTRequest();
    request.addHeader(PROPERTY_NAME, "my_value_123");
    mh.updateRequestPerRuleMonitoring(request, "a_fancy_rule");
    await().atMost(Duration.ONE_SECOND).until(storageContainsData("my_value_123.a_fancy_rule"));
}