Reputation: 1
I have a test plan created which contains a Single Thread Group, Approx 10 Transactions. Each transaction has a varying number of samplers. Example TXN1: 2 TXN2: 7 TXN3: 17 Etc
Expected Application behaviour is that the application should support 25 concurrent read requests and 10 insert/update/delete requests during the load test.
Am new to Jmeter and stuck at designing the scenario as the samplers execute one after the other and few samplers are dependant on previous sampler correlation values. Is there any controller or thread group that i can use so that the read and other crud ops are performed as per the behaviour mentioned.
Upvotes: 0
Views: 40
Reputation: 2872
You cannot execute samplers with different throughputs within the bounds of a single Thread Group because JMeter waits for the previous response before sending the next request.
So you need to split your CRUD operations into several Thread Groups. Correlation data can be passed either via JMeter Properties (i.e. __setProperty() function for writing and __P() function for reading) or Inter-Thread Communication Plugin.
See Using JMeter Variables With Multiple Thread Groups article for more details.
Upvotes: 0