code: @SuppressWarnings("unchecked")
      protected void cullPathsByBodyFilter(History history) throws Exception {
          RequestInformation requestInfo = requestInformation.get();
          try {
              String requestBody = history.getRequestPostData();
              ArrayList<EndpointOverride> removePaths = new ArrayList<EndpointOverride>();
  
              // requestInformation.get().selectedResponsePaths
              for (EndpointOverride selectedPath : requestInfo.selectedResponsePaths) {
                  String pathBodyFilter = selectedPath.getBodyFilter();
                  // check selective post/put filters.
                  if (pathBodyFilter != null && pathBodyFilter.length() > 0) {
                      Pattern pattern = Pattern.compile(pathBodyFilter);
                      Matcher matcher = pattern.matcher(requestBody);
  
                      // if request body doesn't match path body filter, add to remove list
                      if (!matcher.matches()) {
                          removePaths.add(selectedPath);
                      }
                  }
              }
  
              // remove paths that do not match filter
              for (EndpointOverride removePath : removePaths) {
                  requestInfo.selectedResponsePaths.remove(removePath);
              }
          } catch (Exception e) {
              logger.info("ERROR: failure culling paths");
          }
      }
docs: Match the POST/PUT body data to the selected paths. If the path defines a body filter
  and the request body does not match, the path is removed.
  
  @param history history item to match
  @throws Exception exception