Sequential execution of multiple APIs by providing name to each of the APIs #1086
JayasimhaNagaraj
started this conversation in
Artillery
Replies: 1 comment 3 replies
-
If API calls depend on each other and/or need to run sequentially, you can put them all into one scenario, in the order that you need them to be executed in. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
We have a scenario which consists of 7 APIs. All the APIs are interdependent and would require the APIs to execute sequentially.
i.e. API 1 to API 7.
However, when we are assigning the names to each of the 7 APIs, its getting executed randomly (only one API at a time.)
Could you please let us know the approach in which we can name all the 7 APIs and execute all the 7 APIs sequentially in one iteration without skipping any of the APIs.
Below is the setup for reference:
phases:
- duration: 1
arrivalRate: 1
============
scenarios:
flow:
flow:
Beta Was this translation helpful? Give feedback.
All reactions