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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -