-
Notifications
You must be signed in to change notification settings - Fork 0
Understanding and troubleshooting test results
Bhanu Pratap Singh edited this page Jun 27, 2024
·
1 revision
Interpreting results correctly is essential for identifying bottlenecks, optimising performance, and ensuring a smooth user experience.
- Use "View Results in Tree" to see detailed error and API responses in Sample result column JMeter GUI.
- Use "Summary Report" to get summarised results of all API call and error
- If a test-case logic consists of 'x' API's ,total number of API calls will be 'x' times number of users (x*users).
- Error in Initial API will result in Error in Next API.
- A GET API may be redirected and can considered as pass (due to 200 response from Faveo) even if previous API is failed ,such result is should be considered as failed case and summary is evaluated considering such cases.
- If the number of API call exceeds "x*users", try to troubleshoot the script for 1 user and retry the test run.
- Redirected APIs will have 2 or more sub-API calls, Can be verified in "View Results in Tree" Listener.
- Repeat a test at least 4 times to get better understanding and accuracy of test results.
- Run the script once from the JMeter GUI , to get better understanding and troubleshoot as per the error in the JMeter log.
- Even on Correct test script and credentials , instance might give "token expired" response . Check with the developers and ask about "CsrfToken".
- Sometimes due to null values in the mandatory fields , Predefined Condition failed is received . Check the variables/parameters used to send data in the HTTP request.
- In case duplicate results are visible in the listeners . Kindly toggle/disable the listeners in the script. Jtl files result can be seen even if listeners are disabled.