Are there any examples available for handling Ajax pages in OpenSTA? I am not able to understand from the example given on OpenSTA portal.
I have a page where there is a list of people given and when you click on the name of any person then that name gets added to your personal list.
Now I want to generate a scenario where multiple VUs will click on different names. which is becoming a difficult task as the things are happening in AJAX and no request is being generated for this. There is huge viewstate for that request but even that does not have any relevant info. And there is nothing in the response too. So I am not able to understand how to generate this scenario.
Are you saying that when you record the script, if you click on the name, it's added to a list but no request is sent to the server?
If there is a request sent to the server then you need to understand the data sent in the request and work out how you can substitute different ids. Maybe you should talk to your developer.
Everywhere's within walking distance if you have enough time.
There is nothing magic about AJAX and OpenSTA. The fact that Ajax calls can be made asynchronous of user actions can make for some interesting coding problems in OpenSTA if you want to emulate variations in the workflow, but recording and playing back a session that included AJAX calls is no different then any browser based recording if you are happy with playing back the same scenario that was recorded. (An example of a complex AJAX emulation might be that every 10 seconds the browser is idle on a certain page (or field withing a page), it makes an AJAX call and updates the display. If you are emulating variable delays in your script, then you might have to put a loop around the AJAX call to honor the fact that the script should be making an HTTP request every 10 seconds.)
What you are really asking is "how do I do correlation?" The fact that you need to make part of the script variable (based on a list of usernames) has nothing to do with AJAX calls. Read the examples about getting usernames & passwords from files in the FAQ . That should give you enough inspiration to solve your problem.