rest - what is the best way to get the maximum tps server can support -
i have 20 rest api's build using jersey , apache client.i want know max tps server can withstand, using jmeter tool.what best way achieve such kind of performance scenario goal.
- first of build test plan. believe should have @ least 20 http request samplers cover endpoints , http header manager send correct
content-type
header. see testing soap/rest web services using jmeter article details. - once have test plan - run 1-2 virtual users check supposed doing. inspect requests , responses details using view results tree listener. modify requests if needed.
- configure thread group(s) load increased gradually, i.e. provide reasonable ramp-up time
- once you're happy test behaviour disable view results tree listener , run test in non-gui mode
- analyze results using i.e. html reporting dashboard. value interests lives in hits per second graph
Comments
Post a Comment