Problem is that 2 requests from first resources block are executed normally, but requests from second (nested) resources block are not executed at all.
Is this expected behavior?
Off-topic question, is it planned to add session handling in resources block?
Expected behavior.
You cannot have resources on resources.
In your example, only ServiceApiCalls.getRecordChildren() and ServiceApiCalls.getRecordSummary() will be called.
Off-topic question, is it planned to add session handling in resources block?
Ok, I think I have a workaround for this one. When I put second resources block after the first one it start work when all requests in first resources were executed.
hmm, is it?
I was expecting that ServiceApiCalls.getRecordChildren() and ServiceApiCalls.getRecordSummary() will be executed in parallel, and only after they finish ServiceApiCalls.getNodeChildren() requests will be executed in parallel.
In your example, all 4 requests should be executed in parallel without waiting for anything else…
Am I wrong?
Over HTTP/1.1, concurrency is capped by the maximum amount of connections per remote host.
Over HTTP/2, concurrency is uncapped as requests are streams over the same HTTP connection.