I would like to call two different api routes and then make an assertion that relies on values from the results of both calls, however I don't see any way to nest or call two separate routes and retain the results for both unless I'm missing something.
ie something like this
test(GET(uri"routeA")).and(GET(uri"routeB")) { (responseA,responseB) =>
......
assertEquals(resultA.field, resultB.field)
}
I would like to call two different api routes and then make an assertion that relies on values from the results of both calls, however I don't see any way to nest or call two separate routes and retain the results for both unless I'm missing something.
ie something like this