loadrunner For Ajax True client, i can only run max 10...

  • Thread starter Vidya Khandagale
  • Start date
  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

V

Vidya Khandagale

Guest
For Ajax True client, i can only run max 10 vusers from one LG, more than that is giving error "host cpu reached more than 80%", test requiremnet is to run 200 users and also stress test would be there to run additional users. We can not have more than 10LG for our test. Since Ajax True client is UI level protocol, can we get more users running if we enable terminal server option for LG? For citrix graphic limitations is the reason but for ajax true client JS and DOM must be using memory. Do we have any other tools which can be used to test such application where technologies like jquery and libraries which are not supported by simple web http can be scripted?
 
Then you need 20 generators. On a process basis you would never run all of your users on a single load generator anyway. I shoot for a minimum of three. In this case your tradeoff on using TruClient is you have shifted your costs in development to costs in infrastructure to run the more sophisticated (read: Heavier use of system resources) client. HTTP will capture all requests coming from your client, whether generated by jquery of any other solution, but then you may need to leverage your foundation skills in C to enhance the base recording for additional logic not present in recording. And there is correlation too, which is a tool foundation skills. So, an alternate path would be to rebuild your users as standard HTTP virtual users. Another alternate path would be to use Virtual Machines in a public cloud as load generators. Be wary of the virtual machine clock float in this case plus the constant changing of initial and in-test conditions that comes from running in a shared resource (VM) environment. Load Generators are not licensed, so I do not understand the reference of not being able to have more than 10 load generators in your test. If you have access to a 1000 computers then you could have a 1000 load generators!
 
Also it is extremely important to profile your scripts so you know exactly what each footprint is per VU in TC
 
TruClient is a beast. The larger the DOM in your webpage, the larger the footprint on your generators will be.
 
Vidhya, Ajax true client vuser consumes more memory compare Web protocol approximately you can use 10-15 vuser per LG.
 
Is the 80% cpu in use REALLY happening? We've had several times when the injector spikes but it's mdrv spinning a thread for who knows what reason with a really low priority. It's maddening and has been that way since version 11.5 base. Plus there is no way to turn off that cpu check, at least as far as support has been able to help us. Interestingly enough we have NOT seen it in 12.x platforms.
 
I have gotten upwards of 85 TC users on a machine. But you have to profile the scripts to know exactly what they are doing from a resources perspective. But let's be honest TC was created to solve the Ajax problem. Now you can use the advanced correlation features to create xml objects and manipulate them manually in web user. So TC just becomes a control for your sample