Re: [OpenSTA-users] assitance
Brought to you by:
dansut
From: Simeon P. <st...@ya...> - 2008-07-23 23:11:13
|
Hi Ashish, OpenSTA does not run on API calls (although you could think of it that way if you are testing a web service) but rather on the recording and playback of the HTTP protocol. Some types of web applications (ASP.NET in particular) send _almost_ the same information every time you log in to the web application with a browser and perform some actions. I say _almost_ because certain things change from session to session, such as the ASP.NET session ID and the ASP.NET viewstate. Other things that you might purposely change are user IDs and passwords. Any of these things could cuase playback of a recorded script to fail when you send exactly the same HTTP requests as you did when you recorded it. In my experience it takes time and some trial and error, but it is often possible to identify the elements of the script that change when you record it several times, and replace those peices of the script with variables. It is usually possible to get the values of those variables from browser cookies or from the HTML response, or generate them based on what you want the values to be. This concept is called Script Modelling, something you might spend 90% or more of your time doing if you test a large, complex web application. Script modelling is described in the SCL language reference available from the script editor. Some applications also have different types of control validation in play, so it's sometimes a good idea to look at what settings on the web server you can turn off first to make the recorded scripts easier to model. -Simeon ----- Original Message ---- From: Ashish Chadda <Ash...@mi...> To: ope...@li... Sent: Monday, July 21, 2008 10:16:06 PM Subject: [OpenSTA-users] assitance Hi All, OpenSTA version: 1.4.4 My playback is successful but the script isn't doing what I expect including my database isn't updated! Why its so? I know unlike functional tools (that run based on gui ) performance tool runs based on api calls where the calls from client to the server is simulated in the form of a api calls. Should not this api calls creates data? Thanks in anticipation! Ashish DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -- OpenSTA-users mailing list Ope...@li... Subscribe/Unsubscribe/Options: http://lists.sf.net/lists/listinfo/opensta-users Posting Guidelines: http://portal.opensta.org/faq.php?topic=UserMailingList |