@Parameterized.Parameters(name = "{0}")
  public static Collection<String> data() {
    List<String> sourceVersions = VmConfigurations.upgrades().stream()
        // Skip versions older than 1.2
        .filter(hasGeodeVersion(TestVersions.atLeast(TestVersion.valueOf("1.2.0"))))
        // Skip Java upgrades
        .filter(hasGeodeVersion(TestVersions.lessThan(TestVersion.current())))
        .map(VmConfiguration::geodeVersion)
        .map(String::valueOf)
        .collect(toList());
    assumeThat(sourceVersions)
        .as("source versions")
        .isNotEmpty();
    return sourceVersions;
  }
This test iterates through the versions of Geode and executes session client compatibility with
the current version of Geode.
geode-assembly/src/upgradeTest/java/org/apache/geode/session/tests/TomcatSessionBackwardsCompatibilityTestBase.java