Cucumber tests principles
Cucumber (and other similar BDD and Specification by example test frameworks) given-when-then Java, Python corresponding methods and functions should be handled as REST endpoints/controllers methods and functions.
Hold the number of those minimal.