Forum Discussion
pandap
12 years agoContributor
Hi,
This issue is different, if you think this should be a new ticket let me know I can create one...
I have two different events in the project which saves the raw request and response info to the database and found this discrepancy. I have run the test multiple times and every time I had observed the same thing, below are the number:
Test Scenario: Fixed Rate 2 per second and run for 305 seconds, so expectations are there should be 610 request generated in the test.
On the screen report shows Request Step Count: 595
Records saved using ("LoadTestRunListener.afterTestStep"): 606 (always more than the request step count )
Records saved using ("RequestFilter.afterRequest"): 526 (always less than the request step count in the report)
When I execute the test, on screen count for the request test step in Load Test report is not same as the number of records saved to the database using event handler(LoadTestRunListener.afterTestStep).The observation is always more than the request shown on the screen.
Also the number of records saved using event "RequestFilter.afterRequest" doesn't match either with Report or "LoadTestRunListener.afterTestStep". The other way I am saving the info to the database is using test step(groovy script) which again has different count than both the events shown above this matches with the count shown on the report.
If the difference was small number I could have thought issue with the in flight threads but I think that's not the case. Can you give some insight on the counts shown on the screen. Its getting difficult to reconcile the number of request sent in the load test.
Thanks,
Prashanth
This issue is different, if you think this should be a new ticket let me know I can create one...
I have two different events in the project which saves the raw request and response info to the database and found this discrepancy. I have run the test multiple times and every time I had observed the same thing, below are the number:
Test Scenario: Fixed Rate 2 per second and run for 305 seconds, so expectations are there should be 610 request generated in the test.
On the screen report shows Request Step Count: 595
Records saved using ("LoadTestRunListener.afterTestStep"): 606 (always more than the request step count )
Records saved using ("RequestFilter.afterRequest"): 526 (always less than the request step count in the report)
When I execute the test, on screen count for the request test step in Load Test report is not same as the number of records saved to the database using event handler(LoadTestRunListener.afterTestStep).The observation is always more than the request shown on the screen.
Also the number of records saved using event "RequestFilter.afterRequest" doesn't match either with Report or "LoadTestRunListener.afterTestStep". The other way I am saving the info to the database is using test step(groovy script) which again has different count than both the events shown above this matches with the count shown on the report.
If the difference was small number I could have thought issue with the in flight threads but I think that's not the case. Can you give some insight on the counts shown on the screen. Its getting difficult to reconcile the number of request sent in the load test.
Thanks,
Prashanth
Related Content
- 12 years ago
- 13 years ago
Recent Discussions
- 19 days ago