Home > other >  Jmeter after how to parse the response within the statistical data, data added to the listener
Jmeter after how to parse the response within the statistical data, data added to the listener

Time:09-20

Pass jmeter consult everybody, I get to the response data, including the service processing failure returns JSON, I'd like to change this kind of response parsed into the summary report or other listeners, as statistics of service failure, through JSONPATH or BEANSHELL can extract the response data, but is there any way can be added to the statistical results, or a similar solution?

CodePudding user response:

https://edu.csdn.net/course/detail/22948

CodePudding user response:

To provide a train of thought, you can write the result in beanshell a file statistics on its own

CodePudding user response:

Beanshell write files can, of course, but personally think that is not optimal, personal advice in a regular request, for response results increase JSR223 Sampler, compared with the above major difference is that:
1, the official in terms of performance is more recommended JSR223 not beanshell;
2, treated with Sampler Sampler, directly by the tool unified treatment success, failure, don't have to read and write files that alone might have performance problems, also need to separate integration test results; (Beanshell, of course, there is also a sampler)
  • Related