I'm doing a performance testing using JMeter. I'm trying to run a load test for series of APIs that provides the process of create, update, and delete for a certain scenario. Creating the item must happen first in order to make the next 2 requests work and return 200. I'm using normal thread group with transaction controller to add the HTTP requests in it.
To illustrate more: I have request 1 create, 2 update, and 3 delete. Requests 2 and 3 depending on running 1 first. I want to have 5 users to do the test concurrently. So user 1 will go create item then move to update and delete after, and at the same time the rest of the users should be creating item and then go to the next 2 requests and so on.
When I tried to run the test using multiple threads (10 threads for 5 sec ramp up period and loop count 1), a lot of requests for the update and delete fails because they couldn't find the IDs created for the item. I will need to do the tests on larger scale of number of threads and ramp up period not only 10 threads.
I searched a lot for a way to run multiple threads concurrently which include the requests running sequentially but couldn't find any results. Can someone help me with this issue?