Jmeter - how do i run two samplers as a bundle -
right have 2 api methods test
- post indexmember
- delete indexmember
the problem indexmember has got fields have unique.
therefore, when run post & delete once (# of threads == 1; loop == 1) - works fine. indexmember gets posted, deleted, post again , it's fine, unique values still unique then.
but when add more threads => jmeter starts posting several indexmembers altogether , of methods fail our custom validation
"errors": [ { "message": "the index member indexid [id] , securityid [id] present in database." } ], "success": false
i thinking on making delete function kind of sub-sampler post.
so post , delete go in 1 thread.
any advice appreciated.
i suggest have both post , delete request under same thread group , make sure give enough ramp time...
Comments
Post a Comment