I have to test a Post, Get, Delete API in Jmeter. It should happen in sequential. I have added all the 3 APIs into a single thread group. It was running in sequential order. I read a lot of documents, though it ran the sampler in sequential, when the thread count increases, there is no guarantee of order.
So, I created a three thread groups and enabled sequential run. There is no problem with Post and Get. When Delete API invokes it will delete the entry. When the delete sampler runs again, the record won't be there in DB. Delete should happen after Post.
How to address this problem? or adding inside a single thread group is fine?
Suppose I have 3 thread groups, first one is for POST, next one is for Get, last one is for Delete. I want to run each thread group exactly once. Once it executed, next thread group should start. Once the delete thread group ran, it should invoke the first thread group again. Like that, I want to run the loop for n number of times with n number of threads. Can I do that?