Home > Software design >  why I am getting Application error and Generic page error on JMeter, when running with multiple thre
why I am getting Application error and Generic page error on JMeter, when running with multiple thre

Time:04-26

It is a .Net application, here Below are the mentioned errors that I am getting when running with multiple thread counts like 50 users, and when trying for the same failed user on to the browser, as well as singly on Jmeter it is working fine there.

The errors are below mentioned :

  1. 1|#||4|101|pageRedirect||/errors/genericerrorpage.aspx?aspxerrorpath=/policyholder/duplicatethirdpartycontact.aspx|

  2. Application Error : We are sorry, but an unhandled error occurred on the server. The Server Administrator has been notified and the error logged. Please continue on by either clicking the back button and retrying your request or by returning to the home page

CodePudding user response:

Looking at duplicatethirdpartycontact bit most probably your application doesn't allow concurrent logins or actions by the same user, you need to think about parameterizing your test

I.e. each JMeter thread (virtual user) should use its own credentials, normally people use CSV Data Set Config for supplying the test data, however other approaches also exist.

Also make sure to add HTTP Cookie Manager to your test plan.

CodePudding user response:

  1. by keeping Csv data set config in once only controller(Where Parameter can be used for the next iteration)
  2. Use Baolu CSV data set Plugin, there you can get allocated data to a thread as below configurations -->set Allocate data to the thread to "true" -->Automatically allocate block size to"False" --> set block size for each thread to ""as u need"(u can allocate n number of values)
  • Related