As already mentioned in a comment by the user “soon”, this problem can be easily solved with flatMap and map:
List<TestSession> list = mapList.entrySet().stream()
.flatMap(e1 -> e1.getValue().stream()
.map(e2 -> new TestSession(e1.getKey(), e2.getKey(), e2.getValue())))
.collect(Collectors.toList());
solved Convert Map to List